You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Arpit Gupta (JIRA)" <ji...@apache.org> on 2012/09/26 00:56:08 UTC

[jira] [Created] (HDFS-3977) Incompatible change between hadoop-1 and hadoop-2 when the dfs.hosts and dfs.hosts.exclude files are not present

Arpit Gupta created HDFS-3977:
---------------------------------

             Summary: Incompatible change between hadoop-1 and hadoop-2 when the dfs.hosts and dfs.hosts.exclude files are not present
                 Key: HDFS-3977
                 URL: https://issues.apache.org/jira/browse/HDFS-3977
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.0.2-alpha
            Reporter: Arpit Gupta
            Assignee: Arpit Gupta


While testing hadoop-1 and hadoop-2 the following was noticed

if the files in the properties dfs.hosts and dfs.hosts.exclude do not exist

in hadoop-1 namenode format and start went through successfully.

in hadoop-2 we get a file not found exception and both the format and the namenode start commands fail.


We should be logging a warning in the case when the file is not found so that we are compatible with hadoop-1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (HDFS-3977) Incompatible change between hadoop-1 and hadoop-2 when the dfs.hosts and dfs.hosts.exclude files are not present

Posted by "Arpit Gupta (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-3977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arpit Gupta resolved HDFS-3977.
-------------------------------

    Resolution: Invalid

Thanks Todd.

Resolving it as invalid.
                
> Incompatible change between hadoop-1 and hadoop-2 when the dfs.hosts and dfs.hosts.exclude files are not present
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3977
>                 URL: https://issues.apache.org/jira/browse/HDFS-3977
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.2-alpha
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>
> While testing hadoop-1 and hadoop-2 the following was noticed
> if the files in the properties dfs.hosts and dfs.hosts.exclude do not exist
> in hadoop-1 namenode format and start went through successfully.
> in hadoop-2 we get a file not found exception and both the format and the namenode start commands fail.
> We should be logging a warning in the case when the file is not found so that we are compatible with hadoop-1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira