First, to print logs without using log4j, you can directly use system. Out. println. The log information output to stdout can be found at the jobtracker site.
Second, if you use system. Out. println to print the log when the main function is started, you can see it directly on the console.
Second, the jobtracker site is very important.
Http: // your_name_node: 50030/jobtracker. jsp
Note: here we can see that map 100% is not necessarily correct. Sometimes it is stuck in the map stage and it is not completed yet. At this time, map 100% is displayed, so we need to click it layer by layer until we can see the log.
In addition, the MAP/reduce slots can be seen in the cluster summary table to facilitate understanding of cluster computing resources. You can write a script to collect slots information on a regular basis to analyze the cluster peak and idle time periods.
Mapreduce programming Series 7 mapreduce program log view