hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-5039) Datanode daemon cannot be started on OS X
Date Sat, 27 Jul 2013 20:59:48 GMT
Arpit Agarwal created HDFS-5039:
-----------------------------------

             Summary: Datanode daemon cannot be started on OS X
                 Key: HDFS-5039
                 URL: https://issues.apache.org/jira/browse/HDFS-5039
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 3.0.0
         Environment: OS X
            Reporter: Arpit Agarwal


Datanode fails to start with the following exception on OS X.
{code}
java.io.IOException: Unable to stat path: file:/tmp/hadoop-user/dfs/data/
	at org.apache.hadoop.fs.Stat.parseExecResult(Stat.java:104)
	at org.apache.hadoop.util.Shell.runCommand(Shell.java:468)
	at org.apache.hadoop.util.Shell.run(Shell.java:401)
	at org.apache.hadoop.fs.Stat.getFileStatus(Stat.java:65)
	at org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:792)
	at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:523)
	at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:398)
	at org.apache.hadoop.util.DiskChecker.mkdirsWithExistsAndPermissionCheck(DiskChecker.java:129)
	at org.apache.hadoop.util.DiskChecker.checkDir(DiskChecker.java:146)
	at org.apache.hadoop.hdfs.server.datanode.DataNode$DataNodeDiskChecker.checkDir(DataNode.java:1782)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.getDataDirsFromURIs(DataNode.java:1829)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:1806)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1726)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1749)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:1921)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:1942)
2013-07-27 13:51:19,460 FATAL [main] datanode.DataNode (DataNode.java:secureMain(1925)) -
Exception in secureMain
{code}

It appears to be caused by {{Stat#getExecString}} not supporting OS X.

--
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

Mime
View raw message