[ https://issues.apache.org/jira/browse/HDFS-1782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022516#comment-13022516 ]
Hudson commented on HDFS-1782: ------------------------------ Integrated in Hadoop-Hdfs-trunk #643 (See [https://builds.apache.org/hudson/job/Hadoop-Hdfs-trunk/643/]) > FSNamesystem.startFileInternal(..) throws NullPointerException > -------------------------------------------------------------- > > Key: HDFS-1782 > URL: https://issues.apache.org/jira/browse/HDFS-1782 > Project: Hadoop HDFS > Issue Type: Bug > Components: name-node > Affects Versions: 0.22.0 > Reporter: John George > Assignee: John George > Fix For: 0.22.0, 0.23.0 > > Attachments: HDFS-1782.patch > > > I'm observing when there is one balancer running trying to run another one > results in > "Java.lang.NullPointerException" error. I was hoping to see message "Another > balancer is running. > Exiting.... Exiting ...". This is a reproducible issue. > Details > ======== > 1) Cluster ->elrond > [hdfs@]$ hadoop version > 2) Run first balancer > [hdfs]$ hdfs balancer > 1 > through XX.XX.XX.XX:1004 is succeeded. > [hdfs@]$ hdfs balancer > 11/03/09 16:34:32 INFO balancer.Balancer: namenodes = > java.io.IOException: java.lang.NullPointerException > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInternal(FSNamesystem.java:1400) > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFile(FSNamesystem.java:1284) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.create(NameNode.java:779) > at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:346) > at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1399) > at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1395) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:396) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1094) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1393) > . Exiting ... > Balancing took 1.366 seconds -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira