You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2009/04/09 23:41:12 UTC

[jira] Updated: (HADOOP-5644) Namnode is stuck in safe mode

     [ https://issues.apache.org/jira/browse/HADOOP-5644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HADOOP-5644:
------------------------------------

    Attachment: 5644.branch-0.19.patch
                5644.trunk.patch
                5644.branch-0.18.patch

# For branches 20 and trunk the block is not persisted in {{FSNamesystem.commitBlockSynchronization()}}, if append support is not enabled. Trunk patch can be applied to branch 20.
# For branches 18 and 19, since there is no flag to enable/disable support for append, block is not persisted without any check for append support.

This needs to be revisited when append functionality is enabled (that is, even with append/sync, if a block is persisted, the datanode must not delete the block from /tmp).

I have tested this fix manually on trunk.

> Namnode is stuck in safe mode
> -----------------------------
>
>                 Key: HADOOP-5644
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5644
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>         Attachments: 5644.branch-0.18.patch, 5644.branch-0.19.patch, 5644.trunk.patch
>
>
> Restarting datanodes while a client is writing to it can cause namenode to get stuck in safe mode.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.