ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-5806) /etc/hadoop/conf/dfs.exclude should be populated in SNN node too.
Date Mon, 19 May 2014 12:14:38 GMT
Andrew Onischuk created AMBARI-5806:
---------------------------------------

             Summary: /etc/hadoop/conf/dfs.exclude should be populated in SNN node too.
                 Key: AMBARI-5806
                 URL: https://issues.apache.org/jira/browse/AMBARI-5806
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 1.6.1


This is harmless. SNN can start up with an exception. We should fix it in
future release. (For now, I logged this to 1.6.0.)

    
    
    
    2014-04-30 14:02:48,601 ERROR blockmanagement.DatanodeManager (DatanodeManager.java:<init>(198))
- error reading hosts files:
    java.io.IOException: error reading exclude file /etc/hadoop/conf/dfs.exclude
            at org.apache.hadoop.hdfs.server.namenode.HostFileManager.refresh(HostFileManager.java:322)
            at org.apache.hadoop.hdfs.server.blockmanagement.DatanodeManager.<init>(DatanodeManager.java:195)
            at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.<init>(BlockManager.java:262)
            at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:684)
            at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.initialize(SecondaryNameNode.java:245)
            at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.<init>(SecondaryNameNode.java:190)
            at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.main(SecondaryNameNode.java:656)
    Caused by: java.io.FileNotFoundException: /etc/hadoop/conf/dfs.exclude (No such file or
directory)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:138)
            at org.apache.hadoop.util.HostsFileReader.readFileToSet(HostsFileReader.java:65)
            at org.apache.hadoop.hdfs.server.namenode.HostFileManager$MutableEntrySet.readFile(HostFileManager.java:265)
            at org.apache.hadoop.hdfs.server.namenode.HostFileManager.refresh(HostFileManager.java:291)
            ... 6 more
    





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

Mime
View raw message