[
https://issues.apache.org/jira/browse/HDFS-6245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13968983#comment-13968983
]
Arpit Gupta commented on HDFS-6245:
-----------------------------------
Here is the stack trace
{code}
2014-04-14 22:17:23,688 INFO datanode.DataNode
(SignalLogger.java:register(91)) - registered UNIX signal handlers for [TERM,
HUP, INT]
2014-04-14 22:17:23,750 WARN common.Util (Util.java:stringAsURI(56)) - Path
/grid/0/hdp/hdfs/data should be specified as a URI in configuration files.
Please update hdfs configuration.
2014-04-14 22:17:23,751 WARN common.Util (Util.java:stringAsURI(56)) - Path
/grid/1/hdp/hdfs/data should be specified as a URI in configuration files.
Please update hdfs configuration.
2014-04-14 22:17:23,751 WARN common.Util (Util.java:stringAsURI(56)) - Path
/grid/2/hdp/hdfs/data should be specified as a URI in configuration files.
Please update hdfs configuration.
2014-04-14 22:17:23,751 WARN common.Util (Util.java:stringAsURI(56)) - Path
/grid/3/hdp/hdfs/data should be specified as a URI in configuration files.
Please update hdfs configuration.
2014-04-14 22:17:23,751 WARN common.Util (Util.java:stringAsURI(56)) - Path
/grid/4/hdp/hdfs/data should be specified as a URI in configuration files.
Please update hdfs configuration.
2014-04-14 22:17:23,752 WARN common.Util (Util.java:stringAsURI(56)) - Path
/grid/5/hdp/hdfs/data should be specified as a URI in configuration files.
Please update hdfs configuration.
2014-04-14 22:17:23,769 FATAL datanode.DataNode
(DataNode.java:secureMain(1995)) - Exception in secureMain
java.lang.IllegalArgumentException: Failed to parse conf property
dfs.datanode.data.dir: /grid/5/hdp/hdfs/data
at
org.apache.hadoop.hdfs.server.datanode.DataNode.getStorageLocations(DataNode.java:1786)
at
org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1768)
at
org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1812)
at
org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:1988)
at
org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter.start(SecureDataNodeStarter.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243)
Caused by: java.io.IOException: Input/output error
at java.io.UnixFileSystem.canonicalize0(Native Method)
at java.io.UnixFileSystem.canonicalize(UnixFileSystem.java:157)
at java.io.File.getCanonicalPath(File.java:559)
at java.io.File.getCanonicalFile(File.java:583)
at org.apache.hadoop.hdfs.server.common.Util.fileAsURI(Util.java:73)
at org.apache.hadoop.hdfs.server.common.Util.stringAsURI(Util.java:58)
at
org.apache.hadoop.hdfs.server.datanode.StorageLocation.parse(StorageLocation.java:94)
at
org.apache.hadoop.hdfs.server.datanode.DataNode.getStorageLocations(DataNode.java:1784)
... 9 more
2014-04-14 22:17:23,772 INFO util.ExitUtil (ExitUtil.java:terminate(124)) -
Exiting with status 1
2014-04-14 22:17:23,774 INFO datanode.DataNode (StringUtils.java:run(640)) -
SHUTDOWN_MSG:
{code}
> datanode fails to start with a bad disk even when failed volumes is set
> -----------------------------------------------------------------------
>
> Key: HDFS-6245
> URL: https://issues.apache.org/jira/browse/HDFS-6245
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.4.0
> Reporter: Arpit Gupta
> Assignee: Arpit Agarwal
>
> Data node startup failed even when failed volumes was set. Had to remove the
> bad disk from the config to get it to boot.
--
This message was sent by Atlassian JIRA
(v6.2#6252)