[
https://issues.apache.org/jira/browse/HDFS-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13037149#comment-13037149
]
Aaron T. Myers commented on HDFS-1959:
--------------------------------------
On a second read, my #2 point is invalid. The call to
{{nnResourceChecker.hasAvailableDiskSpace()}} will definitely happen on
{{FSNamesystem}} initialization, regardless of config settings. Given this, the
patch does indeed address the issue. I humbly withdraw my objections.
> Better error message for missing namenode directory
> ---------------------------------------------------
>
> Key: HDFS-1959
> URL: https://issues.apache.org/jira/browse/HDFS-1959
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Eli Collins
> Assignee: Eli Collins
> Priority: Minor
> Fix For: 0.23.0
>
> Attachments: hdfs-1959-1.patch
>
>
> Starting the namenode with a missing NN directory currently results in two
> stack traces, "Expecting a line not the end of stream" from DF and an NPE.
> Let's make this more user-friendly.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira