hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3708) transitionToStandby may NPE
Date Mon, 23 Jul 2012 22:47:35 GMT

    [ https://issues.apache.org/jira/browse/HDFS-3708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421006#comment-13421006
] 

Eli Collins commented on HDFS-3708:
-----------------------------------

{noformat}
[root@c0405 ~]# sudo -u hdfs hdfs haadmin -getServiceState nn1
active
[root@c0405 ~]# sudo -u hdfs hdfs haadmin -getServiceState nn2
standby
[root@c0405 ~]# sudo -u hdfs hdfs haadmin -transitionToActive nn2
[root@c0405 ~]# sudo -u hdfs hdfs haadmin -getServiceState nn2
active
[root@c0405 ~]# sudo -u hdfs hdfs haadmin -getServiceState nn1
active
[root@c0405 ~]# sudo -u hdfs hdfs haadmin -transitionToStandby nn1
12/06/14 11:04:29 WARN ipc.Client: Unexpected error reading responses on connection Thread[IPC
Client (44937684) connection to c0405.hal.cloudera.com/172.29.81.122:17020 from hdfs,5,main]
java.lang.NullPointerException
at org.apache.hadoop.ipc.Client$
Connection.receiveResponse(Client.java:852)
at org.apache.hadoop.ipc.Client$Connection.run(Client.java:781)
Operation failed: Failed on local exception: java.io.IOException: Error reading responses;
Host Details : local host is: "c0405.hal.cloudera.com/172.29.81.122"; destination host is:
"c0405.hal.cloudera.com":17020;
{noformat}
                
> transitionToStandby may NPE
> ---------------------------
>
>                 Key: HDFS-3708
>                 URL: https://issues.apache.org/jira/browse/HDFS-3708
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 2.0.0-alpha
>            Reporter: Eli Collins
>            Priority: Minor
>              Labels: newbie
>
> Setting both namenodes active and then trying to turn one to standby results in a NullPointerException
and the NameNode process is killed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message