Working with log files
Logging into Hadoop uses the rolling file mechanism based on First In, First Out. There are different types of log files intended for developers, administrators, and other users. You can find out the location of these log files through log4j.properties, which is accessible at $HADOOP_HOME/etc/hadoop/log4j.properties. The default log files cannot exceed 256 MB, but they can be changed in the relevant properties file. You can change the logging level in this file from DEBUG to INFO. Let's have a quick look at the different types of log files.
Job log files: The YARN UI provides details of a task whether it is successful or has failed. When you run the job, you see its status, such as failed or successful, on the resource ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access