First, the list of MapReduce jobs currently running should be checked. Next, it needs to be ensured that there are no orphaned jobs running; if yes, the location of RM logs needs to be determined.
Run:
ps –ef | grep –I ResourceManager
Look for the log directory in the displayed result. Find out the job ID from the displayed list and check if there is an error message associated with that job.
On the basis of RM logs, identify the worker node that was involved in the execution of the task.
Now, log in to that node and run the below-mentioned code:
ps –ef | grep –iNodeManager
Then, examine the NodeManager The majority of errors come from the user-level logs for each MapReduce job.