hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chetan Agrawal <cagrawa...@gmail.com>
Subject NullpointerException in OffLineImageViewer
Date Wed, 19 Mar 2014 07:20:41 GMT
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
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 		 	   		  
View raw message