hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-661) Data-node upgrade problem
Date Tue, 29 Sep 2009 21:01:07 GMT

    [ https://issues.apache.org/jira/browse/HDFS-661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760704#action_12760704
] 

Konstantin Shvachko commented on HDFS-661:
------------------------------------------

The problem is that new method {{DataStorage.linkAllBlocks()}} does not create {{current}}
directory. This in turn is related to the change in {{linkBlocks()}}:
{code}
static void linkBlocks(File from, File to, int oldLV) throws IOException {
  if (!from.exists()) {
    return;
  }
......
}
{code}
The trunk version of {{linkBlocks()}} does not have have this if statement and creates {{to}}
directory whether {{from}} exists or not.
Making it a blocker for the append branch.

> Data-node upgrade problem
> -------------------------
>
>                 Key: HDFS-661
>                 URL: https://issues.apache.org/jira/browse/HDFS-661
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: data-node
>    Affects Versions: Append Branch
>            Reporter: Konstantin Shvachko
>            Priority: Blocker
>             Fix For: Append Branch
>
>
> Starting a data-node with an empty data directory fails in append branch.

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


Mime
View raw message