You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Chetan Agrawal <ca...@gmail.com> on 2014/03/19 08:20:41 UTC

NullpointerException in OffLineImageViewer

I want to access and study the hadoop cluster's metadata which is stored in fsimage file on namenode machine. i came to know that offLineImageViewer is used to do so. But when i am trying doing it i am getting an exception.
/usr/hadoop/hadoop-1.2.1# bin/hadoop oiv -i fsimage -o fsimage.txt Warning: $HADOOP_HOME is deprecated.
Exception in thread "main" java.lang.NullPointerException	at org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer.go(OfflineImageViewer.java:141)	at org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer.main(OfflineImageViewer.java:261)
i am not able to solve this error. Is it due to that warning (Warning: $HADOOP_HOME is deprecated.) or there is something else?I am having hadoop-1.2.1 version 		 	   		  

RE: NullpointerException in OffLineImageViewer

Posted by Brahma Reddy Battula <br...@huawei.com>.
Seems to be issue,,please file a jira..



https://issues.apache.org/jira





________________________________
From: c.agrawal@outlook.com [c.agrawal@outlook.com] on behalf of Chetan Agrawal [cagrawal11@gmail.com]
Sent: Wednesday, March 19, 2014 12:50 PM
To: hadoop users
Subject: NullpointerException in OffLineImageViewer

I want to access and study the hadoop cluster's metadata which is stored in fsimage file on namenode machine. i came to know that offLineImageViewer is used to do so. But when i am trying doing it i am getting an exception.

/usr/hadoop/hadoop-1.2.1# bin/hadoop oiv -i fsimage -o fsimage.txt
Warning: $HADOOP_HOME is deprecated.

Exception in thread "main" java.lang.NullPointerException
at org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer.go(OfflineImageViewer.java:141)
at org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer.main(OfflineImageViewer.java:261)

i am not able to solve this error. Is it due to that warning (Warning: $HADOOP_HOME is deprecated.) or there is something else?
I am having hadoop-1.2.1 version

RE: NullpointerException in OffLineImageViewer

Posted by Brahma Reddy Battula <br...@huawei.com>.
Seems to be issue,,please file a jira..



https://issues.apache.org/jira





________________________________
From: c.agrawal@outlook.com [c.agrawal@outlook.com] on behalf of Chetan Agrawal [cagrawal11@gmail.com]
Sent: Wednesday, March 19, 2014 12:50 PM
To: hadoop users
Subject: NullpointerException in OffLineImageViewer

I want to access and study the hadoop cluster's metadata which is stored in fsimage file on namenode machine. i came to know that offLineImageViewer is used to do so. But when i am trying doing it i am getting an exception.

/usr/hadoop/hadoop-1.2.1# bin/hadoop oiv -i fsimage -o fsimage.txt
Warning: $HADOOP_HOME is deprecated.

Exception in thread "main" java.lang.NullPointerException
at org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer.go(OfflineImageViewer.java:141)
at org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer.main(OfflineImageViewer.java:261)

i am not able to solve this error. Is it due to that warning (Warning: $HADOOP_HOME is deprecated.) or there is something else?
I am having hadoop-1.2.1 version

RE: NullpointerException in OffLineImageViewer

Posted by Brahma Reddy Battula <br...@huawei.com>.
Seems to be issue,,please file a jira..



https://issues.apache.org/jira





________________________________
From: c.agrawal@outlook.com [c.agrawal@outlook.com] on behalf of Chetan Agrawal [cagrawal11@gmail.com]
Sent: Wednesday, March 19, 2014 12:50 PM
To: hadoop users
Subject: NullpointerException in OffLineImageViewer

I want to access and study the hadoop cluster's metadata which is stored in fsimage file on namenode machine. i came to know that offLineImageViewer is used to do so. But when i am trying doing it i am getting an exception.

/usr/hadoop/hadoop-1.2.1# bin/hadoop oiv -i fsimage -o fsimage.txt
Warning: $HADOOP_HOME is deprecated.

Exception in thread "main" java.lang.NullPointerException
at org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer.go(OfflineImageViewer.java:141)
at org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer.main(OfflineImageViewer.java:261)

i am not able to solve this error. Is it due to that warning (Warning: $HADOOP_HOME is deprecated.) or there is something else?
I am having hadoop-1.2.1 version

RE: NullpointerException in OffLineImageViewer

Posted by Brahma Reddy Battula <br...@huawei.com>.
Seems to be issue,,please file a jira..



https://issues.apache.org/jira





________________________________
From: c.agrawal@outlook.com [c.agrawal@outlook.com] on behalf of Chetan Agrawal [cagrawal11@gmail.com]
Sent: Wednesday, March 19, 2014 12:50 PM
To: hadoop users
Subject: NullpointerException in OffLineImageViewer

I want to access and study the hadoop cluster's metadata which is stored in fsimage file on namenode machine. i came to know that offLineImageViewer is used to do so. But when i am trying doing it i am getting an exception.

/usr/hadoop/hadoop-1.2.1# bin/hadoop oiv -i fsimage -o fsimage.txt
Warning: $HADOOP_HOME is deprecated.

Exception in thread "main" java.lang.NullPointerException
at org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer.go(OfflineImageViewer.java:141)
at org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer.main(OfflineImageViewer.java:261)

i am not able to solve this error. Is it due to that warning (Warning: $HADOOP_HOME is deprecated.) or there is something else?
I am having hadoop-1.2.1 version