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
-Regards Denny Ye 2012/2/16 Stuti Awasthi <stutiawas...@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 > *Subject:* facing issues in HDFSProxy**** > > ** ** > > Hi,**** > > I am using Hadoop 1.0.0 and want to try HDFSProxy . Following:**** > > > http://hadoop.apache.org/hdfs/docs/r0.21.0/hdfsproxy.html#Jetty-based+Installation+and+Configuration > **** > > ** ** > > 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**** > > ** ** > > Regards,**** > > *Stuti Awasthi* > > HCL Comnet Systems and Services Ltd**** > > F-8/9 Basement, Sec-3,Noida.**** > > ** ** > > ------------------------------ > ::DISCLAIMER:: > > ----------------------------------------------------------------------------------------------------------------------- > > 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. > > > ----------------------------------------------------------------------------------------------------------------------- >