?output means the path to the history file of the job you want to view on hdfs.


Thanks,

Zhijie

________________________________
From: mehdi benchoufi <[email protected]>
Sent: Saturday, June 20, 2015 12:09 PM
To: [email protected]
Subject: accessing hadoop job history

Hi,

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,
Mehdi

Reply via email to