hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuti Awasthi <stutiawas...@hcl.com>
Subject RE: facing issues in HDFSProxy
Date Thu, 16 Feb 2012 09:01:50 GMT
Thanks Denny,

Commenting below line in HDFSProxy.java class and rebuilding it . Will this help ?


From: Denny Ye [mailto:dennyy99@gmail.com]
Sent: Thursday, February 16, 2012 2:27 PM
To: hdfs-user@hadoop.apache.org
Subject: Re: facing issues in HDFSProxy

In my local Hadoop version, I saw the temporary code with inexistent property name.
Hashtable does not accept 'null' as the normal value.
It's the mistake of unit testing

Denny Ye
2012/2/16 Stuti Awasthi <stutiawasthi@hcl.com<mailto:stutiawasthi@hcl.com>>
Hi all,
Any pointers for this ?

From: Stuti Awasthi
Sent: Wednesday, February 15, 2012 5:53 PM
To: hdfs-user@hadoop.apache.org<mailto:hdfs-user@hadoop.apache.org>
Subject: facing issues in HDFSProxy

I am using Hadoop 1.0.0 and want to try HDFSProxy . Following:

When I run start-hdfsproxy.sh script I get following error in logs :
2012-02-15 17:32:02,676 INFO org.apache.hadoop.hdfsproxy.HdfsProxy: HDFS NameNode is at: namenode:54310
2012-02-15 17:32:02,677 ERROR org.apache.hadoop.hdfsproxy.HdfsProxy: java.lang.NullPointerException
       at java.util.Hashtable.put(Hashtable.java:411)
       at java.util.Properties.setProperty(Properties.java:160)
       at org.apache.hadoop.conf.Configuration.set(Configuration.java:437)
       at org.apache.hadoop.hdfsproxy.HdfsProxy.initialize(HdfsProxy.java:63)
       at org.apache.hadoop.hdfsproxy.HdfsProxy.<init>(HdfsProxy.java:44)
       at org.apache.hadoop.hdfsproxy.HdfsProxy.createHdfsProxy(HdfsProxy.java:135)
at org.apache.hadoop.hdfsproxy.HdfsProxy.main(HdfsProxy.java:142)

After googling around I got this Jira "https://issues.apache.org/jira/browse/HADOOP-5432"
Should I apply this patch to fix the issue ?

Please suggest

Stuti Awasthi
HCL Comnet Systems and Services Ltd
F-8/9 Basement, Sec-3,Noida.


The contents of this e-mail and any attachment(s) are confidential and intended for the named
recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or
opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of
HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and
/ or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited.
If you have
received this email in error please delete it and notify the sender immediately. Before opening
any mail and
attachments please check them for viruses and defect.


View raw message