Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19402

dfs.exclude file doesn't exist when deploying cluster with NN HA + kerberos via BP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-server
    • None

    Description

      16/12/29 07:59:16 ERROR blockmanagement.DatanodeManager: error reading hosts files:
      java.io.FileNotFoundException: /etc/hadoop/conf/dfs.exclude (No such file or directory)
      at java.io.FileInputStream.open0(Native Method)
      at java.io.FileInputStream.open(FileInputStream.java:195)
      at java.io.FileInputStream.<init>(FileInputStream.java:138)
      at org.apache.hadoop.util.HostsFileReader.readFileToSet(HostsFileReader.java:66)
      at org.apache.hadoop.hdfs.server.blockmanagement.HostFileManager.readFile(HostFileManager.java:72)
      at org.apache.hadoop.hdfs.server.blockmanagement.HostFileManager.refresh(HostFileManager.java:138)
      at org.apache.hadoop.hdfs.server.blockmanagement.DatanodeManager.<init>(DatanodeManager.java:205)
      at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.<init>(BlockManager.java:304)
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:747)
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:707)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1166)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1616)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1754)

      Attachments

        1. AMBARI-19402.patch
          9 kB
          Vitaly Brodetskyi

        Issue Links

          Activity

            People

              vbrodetskyi Vitaly Brodetskyi
              vbrodetskyi Vitaly Brodetskyi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: