hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Thomas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6853) MiniDFSCluster.isClusterUp() should not check if null NameNodes are up
Date Fri, 15 Aug 2014 01:31:19 GMT

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

James Thomas commented on HDFS-6853:
------------------------------------

Looks like a few tests rely on this behavior ... will hold off on this for now.

> MiniDFSCluster.isClusterUp() should not check if null NameNodes are up
> ----------------------------------------------------------------------
>
>                 Key: HDFS-6853
>                 URL: https://issues.apache.org/jira/browse/HDFS-6853
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: James Thomas
>            Assignee: James Thomas
>         Attachments: HDFS-6853.patch
>
>
> Suppose we have a two-NN cluster and then shut down one of the NN's (NN0). When we try
to restart the other NN (NN1), we wait for isClusterUp() to return true, but this will never
happen because NN0 is null and isNameNodeUp returns false for a null NN.



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

Mime
View raw message