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