hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zhijie Shen <zs...@hortonworks.com>
Subject Re: accessing hadoop job history
Date Thu, 02 Jul 2015 04:52:46 GMT
?output means the path to the history file of the job you want to view on hdfs.



From: mehdi benchoufi <benchoufi.mehdi@gmail.com>
Sent: Saturday, June 20, 2015 12:09 PM
To: user@hadoop.apache.org
Subject: accessing hadoop job history


I ma new to Hadoop and when I run

    hadoop job -history output

I get this

    Ignore unrecognized file: output
    Exception in thread "main" java.io.IOException: Unable to initialize History Viewer
    at org.apache.hadoop.mapreduce.jobhistory.HistoryViewer.<init>(HistoryViewer.java:90)
    at org.apache.hadoop.mapreduce.tools.CLI.viewHistory(CLI.java:487)
    at org.apache.hadoop.mapreduce.tools.CLI.run(CLI.java:330)
    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:1237)
    Caused by: java.io.IOException: Unable to initialize History Viewer
    at org.apache.hadoop.mapreduce.jobhistory.HistoryViewer.<init>(HistoryViewer.java:84)
    ... 5 more

I checked the logs (history server logs, `mapred-*username*-historyserver-**.local.log` ),
and there are empty. How can I solve it ?

Best regards,

View raw message