hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brahma Reddy Battula <brahmareddy.batt...@huawei.com>
Subject RE: history viewer issue
Date Tue, 18 Mar 2014 12:27:44 GMT
you need to give the locatiion of the history file...Please find following for same...

user@host-10-18-40-132<mailto:user@host-10-18-40-132>:~> mapred job -history /home/USER/staging-dir/history/done/2014/03/07/000000/job_1394167487634_0004-1394189877843-User-word+count-1394189895136-1-1-SUCCEEDED-a-1394189882729.jhist

Hadoop job: job_1394167487634_0004


User: User

JobName: word count

JobConf: hdfs://hacluster/home/USER/staging-dir/User/.staging/job_1394167487634_0004/job.xml

Submitted At: 7-Mar-2014 16:27:57

Launched At: 7-Mar-2014 16:28:02 (4sec)

Finished At: 7-Mar-2014 16:28:15 (12sec)



|Group Name |Counter name |Map Value |Reduce Value|Total Value|

Thanks & Regards

Brahma Reddy Battula

From: Nitin Pawar [nitinpawar432@gmail.com]
Sent: Tuesday, March 18, 2014 5:35 PM
To: user@hadoop.apache.org
Subject: Re: history viewer issue

check the error
Caused by: java.io.IOException: History directory /home/cloudera/1/_logs/historydoes not exist

create that directory and change the ownership to the user running history server

On Tue, Mar 18, 2014 at 5:16 PM, Avinash Kujur <avinz50@gmail.com<mailto:avinz50@gmail.com>>

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


Nitin Pawar

View raw message