Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3977

Incompatible change between hadoop-1 and hadoop-2 when the dfs.hosts and dfs.hosts.exclude files are not present

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.0.2-alpha
    • None
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            arpitgupta Arpit Gupta
            arpitgupta Arpit Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: