hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Masatake Iwasaki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10545) hdfs zkfc NullPointerException
Date Tue, 29 Apr 2014 17:30:18 GMT

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

Masatake Iwasaki commented on HADOOP-10545:
-------------------------------------------

[~sbarrier] Can you show the configs which can reproduce this? I think dfs.nameservices and
dfs.ha.namenodes.* and dfs.namenode.rpc-address.* are relevant.

> hdfs zkfc NullPointerException
> ------------------------------
>
>                 Key: HADOOP-10545
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10545
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>         Environment: Linux
>            Reporter: Sebastien Barrier
>            Priority: Minor
>
> Running hdfs zkfc on a node which is not a Namenode result of NullPointerException.
> An error message should be displayed telling that zkfc must be run only on a Namenode
server and/or to verify configuration parameters.
> # hdfs zkfc -formatZK
> Exception in thread "main" java.lang.NullPointerException
>         at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
>         at org.apache.hadoop.hdfs.tools.NNHAServiceTarget.<init>(NNHAServiceTarget.java:57)
>         at org.apache.hadoop.hdfs.tools.DFSZKFailoverController.create(DFSZKFailoverController.java:128)
>         at org.apache.hadoop.hdfs.tools.DFSZKFailoverController.main(DFSZKFailoverController.java:172)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message