You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Hairong Kuang (JIRA)" <ji...@apache.org> on 2009/09/30 20:57:23 UTC
[jira] Created: (HDFS-665) TestFileAppend2 sometimes hangs
TestFileAppend2 sometimes hangs
-------------------------------
Key: HDFS-665
URL: https://issues.apache.org/jira/browse/HDFS-665
Project: Hadoop HDFS
Issue Type: Sub-task
Components: data-node
Affects Versions: Append Branch
Reporter: Hairong Kuang
Assignee: Hairong Kuang
Fix For: Append Branch
FileAppend2 sometimes hangs on not able to complete a file. It turns out that sometimes DataNode reports a wrong replica length to NameNode thus NameNode marks it as corrupt. The file is not able to be closed because there is no good replica.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HDFS-665) TestFileAppend2 sometimes hangs
Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hairong Kuang updated HDFS-665:
-------------------------------
Attachment: replicaLen.patch
HDFS-642 incorrectly updated a replica's length to a wrong length when the write request is not for close recovery. This patch fixed the problem.
> TestFileAppend2 sometimes hangs
> -------------------------------
>
> Key: HDFS-665
> URL: https://issues.apache.org/jira/browse/HDFS-665
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: data-node
> Affects Versions: Append Branch
> Reporter: Hairong Kuang
> Assignee: Hairong Kuang
> Fix For: Append Branch
>
> Attachments: replicaLen.patch
>
>
> FileAppend2 sometimes hangs on not able to complete a file. It turns out that sometimes DataNode reports a wrong replica length to NameNode thus NameNode marks it as corrupt. The file is not able to be closed because there is no good replica.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HDFS-665) TestFileAppend2 sometimes hangs
Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hairong Kuang resolved HDFS-665.
--------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
I've just committed this!
> TestFileAppend2 sometimes hangs
> -------------------------------
>
> Key: HDFS-665
> URL: https://issues.apache.org/jira/browse/HDFS-665
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: data-node
> Affects Versions: Append Branch
> Reporter: Hairong Kuang
> Assignee: Hairong Kuang
> Fix For: Append Branch
>
> Attachments: replicaLen.patch
>
>
> FileAppend2 sometimes hangs on not able to complete a file. It turns out that sometimes DataNode reports a wrong replica length to NameNode thus NameNode marks it as corrupt. The file is not able to be closed because there is no good replica.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HDFS-665) TestFileAppend2 sometimes hangs
Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760993#action_12760993 ]
Hairong Kuang commented on HDFS-665:
------------------------------------
ant test-core succeeded.
BUILD SUCCESSFUL
Total time: 68 minutes 51 seconds
> TestFileAppend2 sometimes hangs
> -------------------------------
>
> Key: HDFS-665
> URL: https://issues.apache.org/jira/browse/HDFS-665
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: data-node
> Affects Versions: Append Branch
> Reporter: Hairong Kuang
> Assignee: Hairong Kuang
> Fix For: Append Branch
>
> Attachments: replicaLen.patch
>
>
> FileAppend2 sometimes hangs on not able to complete a file. It turns out that sometimes DataNode reports a wrong replica length to NameNode thus NameNode marks it as corrupt. The file is not able to be closed because there is no good replica.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HDFS-665) TestFileAppend2 sometimes hangs
Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760990#action_12760990 ]
Hairong Kuang commented on HDFS-665:
------------------------------------
[exec] +1 overall.
[exec]
[exec] +1 @author. The patch does not contain any @author tags.
[exec]
[exec] -1 tests included. The patch doesn't appear to include any new or modified tests.
[exec] Please justify why no new tests are needed for this patch.
[exec] Also please list what manual steps were performed to verify this patch.
[exec]
[exec] +1 javadoc. The javadoc tool did not generate any warning messages.
[exec]
[exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings.
[exec]
[exec] +1 findbugs. The patch does not introduce any new Findbugs warnings.
[exec]
[exec] +1 release audit. The applied patch does not increase the total number of release audit warnings.
[exec]
[exec]
[exec]
[exec]
[exec] ======================================================================
[exec] ======================================================================
[exec] Finished build.
[exec] ======================================================================
[exec] ======================================================================
[exec]
[exec]
TestFileAppend2 passed with this patch. So no new testcase is needed.
> TestFileAppend2 sometimes hangs
> -------------------------------
>
> Key: HDFS-665
> URL: https://issues.apache.org/jira/browse/HDFS-665
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: data-node
> Affects Versions: Append Branch
> Reporter: Hairong Kuang
> Assignee: Hairong Kuang
> Fix For: Append Branch
>
> Attachments: replicaLen.patch
>
>
> FileAppend2 sometimes hangs on not able to complete a file. It turns out that sometimes DataNode reports a wrong replica length to NameNode thus NameNode marks it as corrupt. The file is not able to be closed because there is no good replica.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HDFS-665) TestFileAppend2 sometimes hangs
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760997#action_12760997 ]
Suresh Srinivas commented on HDFS-665:
--------------------------------------
+1 for the patch
> TestFileAppend2 sometimes hangs
> -------------------------------
>
> Key: HDFS-665
> URL: https://issues.apache.org/jira/browse/HDFS-665
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: data-node
> Affects Versions: Append Branch
> Reporter: Hairong Kuang
> Assignee: Hairong Kuang
> Fix For: Append Branch
>
> Attachments: replicaLen.patch
>
>
> FileAppend2 sometimes hangs on not able to complete a file. It turns out that sometimes DataNode reports a wrong replica length to NameNode thus NameNode marks it as corrupt. The file is not able to be closed because there is no good replica.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.