hi, How to solve this problem.
[cloudera@localhost ~]$ hadoop job -history ~/1 DEPRECATED: Use of this script to execute mapred command is deprecated. Instead use the mapred command for it. Exception in thread "main" java.io.IOException: Not able to initialize History viewer at org.apache.hadoop.mapred.HistoryViewer.<init>(HistoryViewer.java:95) at org.apache.hadoop.mapred.JobClient.viewHistory(JobClient.java:1945) at org.apache.hadoop.mapred.JobClient.run(JobClient.java:1894) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) at org.apache.hadoop.mapred.JobClient.main(JobClient.java:2162) Caused by: java.io.IOException: History directory /home/cloudera/1/_logs/historydoes not exist at org.apache.hadoop.mapred.HistoryViewer.<init>(HistoryViewer.java:76) ... 5 more Regards, Avinash