You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Avinash Kujur <av...@gmail.com> on 2014/03/18 12:46:37 UTC

history viewer issue

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

RE: history viewer issue

Posted by Brahma Reddy Battula <br...@huawei.com>.
you need to give the locatiion of the history file...Please find following for same...





user@host-10-18-40-132<ma...@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)

Status: SUCCEEDED

Counters:

|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 <av...@gmail.com>> wrote:
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



--
Nitin Pawar

RE: history viewer issue

Posted by Brahma Reddy Battula <br...@huawei.com>.
you need to give the locatiion of the history file...Please find following for same...





user@host-10-18-40-132<ma...@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)

Status: SUCCEEDED

Counters:

|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 <av...@gmail.com>> wrote:
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



--
Nitin Pawar

RE: history viewer issue

Posted by Brahma Reddy Battula <br...@huawei.com>.
you need to give the locatiion of the history file...Please find following for same...





user@host-10-18-40-132<ma...@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)

Status: SUCCEEDED

Counters:

|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 <av...@gmail.com>> wrote:
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



--
Nitin Pawar

RE: history viewer issue

Posted by Brahma Reddy Battula <br...@huawei.com>.
you need to give the locatiion of the history file...Please find following for same...





user@host-10-18-40-132<ma...@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)

Status: SUCCEEDED

Counters:

|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 <av...@gmail.com>> wrote:
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



--
Nitin Pawar

Re: history viewer issue

Posted by Nitin Pawar <ni...@gmail.com>.
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 <av...@gmail.com> wrote:

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



-- 
Nitin Pawar

Re: history viewer issue

Posted by Nitin Pawar <ni...@gmail.com>.
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 <av...@gmail.com> wrote:

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



-- 
Nitin Pawar

Re: history viewer issue

Posted by Nitin Pawar <ni...@gmail.com>.
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 <av...@gmail.com> wrote:

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



-- 
Nitin Pawar

Re: history viewer issue

Posted by Nitin Pawar <ni...@gmail.com>.
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 <av...@gmail.com> wrote:

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



-- 
Nitin Pawar