FAQ
NN fails to start if it encounters an empty or malformed fstime file
--------------------------------------------------------------------

Key: HDFS-2190
URL: https://issues.apache.org/jira/browse/HDFS-2190
Project: Hadoop HDFS
Issue Type: Bug
Components: name-node
Affects Versions: 0.20.203.0
Reporter: Aaron T. Myers
Assignee: Aaron T. Myers


On startup, the NN reads the fstime file of all the configured dfs.name.dirs to determine which one to load. However, if any of the searched directories contain an empty or malformed fstime file, the NN will fail to start. The NN should be able to just proceed with starting and ignore the directory containing the bad fstime file.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Search Discussions

  • Aaron T. Myers (JIRA) at Aug 8, 2011 at 9:56 pm
    [ https://issues.apache.org/jira/browse/HDFS-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Aaron T. Myers resolved HDFS-2190.
    ----------------------------------

    Resolution: Fixed
    Fix Version/s: 0.20.205.0
    Hadoop Flags: [Reviewed]

    Thanks a lot for the reviews, Todd. I just committed this to the security branch.
    NN fails to start if it encounters an empty or malformed fstime file
    --------------------------------------------------------------------

    Key: HDFS-2190
    URL: https://issues.apache.org/jira/browse/HDFS-2190
    Project: Hadoop HDFS
    Issue Type: Bug
    Components: name-node
    Affects Versions: 0.20.203.0
    Reporter: Aaron T. Myers
    Assignee: Aaron T. Myers
    Fix For: 0.20.205.0

    Attachments: hdfs-2190.0.patch, hdfs-2190.1.patch


    On startup, the NN reads the fstime file of all the configured dfs.name.dirs to determine which one to load. However, if any of the searched directories contain an empty or malformed fstime file, the NN will fail to start. The NN should be able to just proceed with starting and ignore the directory containing the bad fstime file.
    --
    This message is automatically generated by JIRA.
    For more information on JIRA, see: http://www.atlassian.com/software/jira

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphdfs-dev @
categorieshadoop
postedJul 23, '11 at 12:13a
activeAug 8, '11 at 9:56p
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Aaron T. Myers (JIRA): 2 posts

People

Translate

site design / logo © 2022 Grokbase