- 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 switch off the log rotation in hadoop
- Labels:
-
Apache Hadoop
Created ‎02-09-2016 03:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to switch off the log rotation in hadoop.
The log rotation is currently done by the log4j. I am trying to collect individual log file details and also SEV levels
Created ‎02-09-2016 03:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@sanjeevan mahajan every config has a log4j properties section on every service, go to the service you need and adjust log4.properties configuration as desired. here you go https://community.hortonworks.com/articles/8882/how-to-control-size-of-log-files-for-various-hdp-c.h...
Created ‎02-09-2016 03:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@sanjeevan mahajan every config has a log4j properties section on every service, go to the service you need and adjust log4.properties configuration as desired. here you go https://community.hortonworks.com/articles/8882/how-to-control-size-of-log-files-for-various-hdp-c.h...
Created ‎02-09-2016 03:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Comment out the appender’s date pattern:
- #log4j.appender.kafkaAppender.DatePattern='.'yyyy-MM-dd-HH
- #log4j.appender.kafkaAppender=org.apache.log4j.DailyRollingFileAppender
Created ‎02-09-2016 03:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
same log4j rules apply, it's no different than what you would do without Ambari. @sanjeevan mahajan
