You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by mehdi benchoufi <be...@gmail.com> on 2015/06/20 21:09:34 UTC
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
Re: accessing hadoop job history
Posted by Zhijie Shen <zs...@hortonworks.com>.
?output means the path to the history file of the job you want to view on hdfs.
Thanks,
Zhijie
________________________________
From: mehdi benchoufi <be...@gmail.com>
Sent: Saturday, June 20, 2015 12:09 PM
To: user@hadoop.apache.org
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
Re: accessing hadoop job history
Posted by Zhijie Shen <zs...@hortonworks.com>.
?output means the path to the history file of the job you want to view on hdfs.
Thanks,
Zhijie
________________________________
From: mehdi benchoufi <be...@gmail.com>
Sent: Saturday, June 20, 2015 12:09 PM
To: user@hadoop.apache.org
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
Re: accessing hadoop job history
Posted by Zhijie Shen <zs...@hortonworks.com>.
?output means the path to the history file of the job you want to view on hdfs.
Thanks,
Zhijie
________________________________
From: mehdi benchoufi <be...@gmail.com>
Sent: Saturday, June 20, 2015 12:09 PM
To: user@hadoop.apache.org
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
Re: accessing hadoop job history
Posted by Zhijie Shen <zs...@hortonworks.com>.
?output means the path to the history file of the job you want to view on hdfs.
Thanks,
Zhijie
________________________________
From: mehdi benchoufi <be...@gmail.com>
Sent: Saturday, June 20, 2015 12:09 PM
To: user@hadoop.apache.org
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