- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
how to configure by API the HIVE parameters
- Labels:
-
Apache Ambari
-
Apache Hive
Created ‎02-05-2018 01:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created ‎02-05-2018 07:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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"
Created ‎02-05-2018 07:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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"
