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