Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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
Attachments
Issue Links
- links to