- 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 log4j in mapreduce program.
- Labels:
-
Apache Hadoop
Created 11-23-2016 07:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have created a mapreduce program and used slf4j and log4j for logging in my MR JAVA program, but logs which i defined are not appearing in YARN application logs, where as logs are appearing in the CLI where i am running the job. Can you please tell if need to defined log4j.properties to override or define anywhere else?
Created 11-26-2016 06:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created 11-25-2016 07:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Varma,
Please go through below links. Hope it will be useful.
http://stackoverflow.com/questions/28119423/standard-practices-for-logging-in-mapreduce-jobs
http://grepalex.com/2012/11/12/hadoop-logging/
Thanks,
Mahesh
Created 11-26-2016 06:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
