Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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"