Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

how to configure by API the HIVE parameters

avatar

how to configure by API the HIVE parameters:

log4j.appender.DRFA.MaxBackupIndex=20

log4j.appender.DRFA.MaxFileSize=1200MB

from ambari :

  • Hive -> advanced -> Advanced hive-log4j
# 30-day backup
log4j.appender.DRFA.MaxBackupIndex=20
log4j.appender.DRFA.MaxFileSize=1200MB
log4j.appender.DRFA.layout=org.apache.log4j.PatternLayout
Michael-Bronson
1 ACCEPTED SOLUTION

avatar
Rising Star

Refer to the document https://cwiki.apache.org/confluence/display/AMBARI/Modify+configurations on how to modify configurations.

You have to update the configuration for type=hive-log4j and for the below properties:

"hive_log_maxbackupindex": "30",

"hive_log_maxfilesize": "256"

View solution in original post

1 REPLY 1

avatar
Rising Star

Refer to the document https://cwiki.apache.org/confluence/display/AMBARI/Modify+configurations on how to modify configurations.

You have to update the configuration for type=hive-log4j and for the below properties:

"hive_log_maxbackupindex": "30",

"hive_log_maxfilesize": "256"