[ https://issues.apache.org/jira/browse/HDFS-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13171962#comment-13171962 ]
William McNeill commented on HDFS-2662: --------------------------------------- I tried adding the parameters from 7489 to by hdfs-site.xml configuration file and see the exact same behavior. I still get the SCDynamic store warning, and the lack of a logged error about DFS directories not existing when they haven't been properly formatted. So I can't get the 7489 workaround to work, but I still suspect that's an unrelated issue. > Namenode should log warning message when trying to start on a unformmatted > system > --------------------------------------------------------------------------------- > > Key: HDFS-2662 > URL: https://issues.apache.org/jira/browse/HDFS-2662 > Project: Hadoop HDFS > Issue Type: Improvement > Components: name-node > Affects Versions: 0.20.203.0 > Environment: Single-node cluster on OS X 10.7 (Lion) > Reporter: William McNeill > Priority: Minor > Labels: format, logging, namenode > > When you try to start the namenode for a system that does not have a > formatted DFS, it fails silently without any indication that the lack of > formatting was the problem. I tried to run start-dfs.sh on a single-node > cluster with an unformatted HDFS. The namenode failed to start, but generated > no warning messages, and its log was empty. After running "hadoop namenode > -format" everything worked. > Details in this thread: > http://mail-archives.apache.org/mod_mbox/hadoop-common-user/201112.mbox/%3CCAN9z%2BopAn-t_f3FRC%3DDtV0n0ysoKd3Fek-fJPb68PMThiPooKg%40mail.gmail.com%3E > This is a difficult problem to diagnose because the namenode gives you no > feedback. It would be better if it printed an error message to its log file. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira