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 "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2009/10/13 02:31:31 UTC

[jira] Created: (HDFS-699) Primary datanode should compare replicas' on disk lengths

Primary datanode should compare replicas' on disk lengths
---------------------------------------------------------

                 Key: HDFS-699
                 URL: https://issues.apache.org/jira/browse/HDFS-699
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: data-node
            Reporter: Tsz Wo (Nicholas), SZE


According to the design, the primary datanode should compare replicas' on disk length but it is current using Block.numBytes.

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


[jira] Commented: (HDFS-699) Primary datanode should compare replicas' on disk lengths

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799495#action_12799495 ] 

Hudson commented on HDFS-699:
-----------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #168 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/168/])
    . Primary datanode should compare replicas' on disk lengths. Contributed by Hairong Kuang.


> Primary datanode should compare replicas' on disk lengths
> ---------------------------------------------------------
>
>                 Key: HDFS-699
>                 URL: https://issues.apache.org/jira/browse/HDFS-699
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Hairong Kuang
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: HDFS-699.patch
>
>
> According to the design, the primary datanode should compare replicas' on disk length but it is current using Block.numBytes.

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


[jira] Updated: (HDFS-699) Primary datanode should compare replicas' on disk lengths

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang updated HDFS-699:
-------------------------------

    Status: Patch Available  (was: Open)

> Primary datanode should compare replicas' on disk lengths
> ---------------------------------------------------------
>
>                 Key: HDFS-699
>                 URL: https://issues.apache.org/jira/browse/HDFS-699
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Hairong Kuang
>         Attachments: HDFS-699.patch
>
>
> According to the design, the primary datanode should compare replicas' on disk length but it is current using Block.numBytes.

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


[jira] Commented: (HDFS-699) Primary datanode should compare replicas' on disk lengths

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799468#action_12799468 ] 

Hairong Kuang commented on HDFS-699:
------------------------------------

The failed test has nothing to do with this fix and the patch is trivial to have a unit test.

> Primary datanode should compare replicas' on disk lengths
> ---------------------------------------------------------
>
>                 Key: HDFS-699
>                 URL: https://issues.apache.org/jira/browse/HDFS-699
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Hairong Kuang
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: HDFS-699.patch
>
>
> According to the design, the primary datanode should compare replicas' on disk length but it is current using Block.numBytes.

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


[jira] Updated: (HDFS-699) Primary datanode should compare replicas' on disk lengths

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HDFS-699:
----------------------------------------

    Hadoop Flags: [Reviewed]

+1 patch looks good.

> Primary datanode should compare replicas' on disk lengths
> ---------------------------------------------------------
>
>                 Key: HDFS-699
>                 URL: https://issues.apache.org/jira/browse/HDFS-699
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Hairong Kuang
>         Attachments: HDFS-699.patch
>
>
> According to the design, the primary datanode should compare replicas' on disk length but it is current using Block.numBytes.

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


[jira] Commented: (HDFS-699) Primary datanode should compare replicas' on disk lengths

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802583#action_12802583 ] 

Hudson commented on HDFS-699:
-----------------------------

Integrated in Hdfs-Patch-h5.grid.sp2.yahoo.net #196 (See [http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/196/])
    

> Primary datanode should compare replicas' on disk lengths
> ---------------------------------------------------------
>
>                 Key: HDFS-699
>                 URL: https://issues.apache.org/jira/browse/HDFS-699
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Hairong Kuang
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: HDFS-699.patch
>
>
> According to the design, the primary datanode should compare replicas' on disk length but it is current using Block.numBytes.

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


[jira] Updated: (HDFS-699) Primary datanode should compare replicas' on disk lengths

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang updated HDFS-699:
-------------------------------

    Attachment: HDFS-699.patch

> Primary datanode should compare replicas' on disk lengths
> ---------------------------------------------------------
>
>                 Key: HDFS-699
>                 URL: https://issues.apache.org/jira/browse/HDFS-699
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Hairong Kuang
>         Attachments: HDFS-699.patch
>
>
> According to the design, the primary datanode should compare replicas' on disk length but it is current using Block.numBytes.

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


[jira] Updated: (HDFS-699) Primary datanode should compare replicas' on disk lengths

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang updated HDFS-699:
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.22.0
                   0.21.0
           Status: Resolved  (was: Patch Available)

I just committed this!

> Primary datanode should compare replicas' on disk lengths
> ---------------------------------------------------------
>
>                 Key: HDFS-699
>                 URL: https://issues.apache.org/jira/browse/HDFS-699
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Hairong Kuang
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: HDFS-699.patch
>
>
> According to the design, the primary datanode should compare replicas' on disk length but it is current using Block.numBytes.

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


[jira] Assigned: (HDFS-699) Primary datanode should compare replicas' on disk lengths

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang reassigned HDFS-699:
----------------------------------

    Assignee: Hairong Kuang

> Primary datanode should compare replicas' on disk lengths
> ---------------------------------------------------------
>
>                 Key: HDFS-699
>                 URL: https://issues.apache.org/jira/browse/HDFS-699
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Hairong Kuang
>
> According to the design, the primary datanode should compare replicas' on disk length but it is current using Block.numBytes.

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


[jira] Updated: (HDFS-699) Primary datanode should compare replicas' on disk lengths

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang updated HDFS-699:
-------------------------------

    Attachment:     (was: HDFS-699.patch)

> Primary datanode should compare replicas' on disk lengths
> ---------------------------------------------------------
>
>                 Key: HDFS-699
>                 URL: https://issues.apache.org/jira/browse/HDFS-699
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Hairong Kuang
>
> According to the design, the primary datanode should compare replicas' on disk length but it is current using Block.numBytes.

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


[jira] Updated: (HDFS-699) Primary datanode should compare replicas' on disk lengths

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang updated HDFS-699:
-------------------------------

    Attachment: HDFS-699.patch

This patch let each replica return its length on disk in response to a block recovery init request.

> Primary datanode should compare replicas' on disk lengths
> ---------------------------------------------------------
>
>                 Key: HDFS-699
>                 URL: https://issues.apache.org/jira/browse/HDFS-699
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Hairong Kuang
>         Attachments: HDFS-699.patch
>
>
> According to the design, the primary datanode should compare replicas' on disk length but it is current using Block.numBytes.

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


[jira] Commented: (HDFS-699) Primary datanode should compare replicas' on disk lengths

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800105#action_12800105 ] 

Hudson commented on HDFS-699:
-----------------------------

Integrated in Hdfs-Patch-h2.grid.sp2.yahoo.net #96 (See [http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/96/])
    

> Primary datanode should compare replicas' on disk lengths
> ---------------------------------------------------------
>
>                 Key: HDFS-699
>                 URL: https://issues.apache.org/jira/browse/HDFS-699
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Hairong Kuang
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: HDFS-699.patch
>
>
> According to the design, the primary datanode should compare replicas' on disk length but it is current using Block.numBytes.

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


[jira] Commented: (HDFS-699) Primary datanode should compare replicas' on disk lengths

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799398#action_12799398 ] 

Hadoop QA commented on HDFS-699:
--------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12429953/HDFS-699.patch
  against trunk revision 898134.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/184/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/184/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/184/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/184/console

This message is automatically generated.

> Primary datanode should compare replicas' on disk lengths
> ---------------------------------------------------------
>
>                 Key: HDFS-699
>                 URL: https://issues.apache.org/jira/browse/HDFS-699
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Hairong Kuang
>         Attachments: HDFS-699.patch
>
>
> According to the design, the primary datanode should compare replicas' on disk length but it is current using Block.numBytes.

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


[jira] Commented: (HDFS-699) Primary datanode should compare replicas' on disk lengths

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799748#action_12799748 ] 

Hudson commented on HDFS-699:
-----------------------------

Integrated in Hadoop-Hdfs-trunk #199 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk/199/])
    . Primary datanode should compare replicas' on disk lengths. Contributed by Hairong Kuang.


> Primary datanode should compare replicas' on disk lengths
> ---------------------------------------------------------
>
>                 Key: HDFS-699
>                 URL: https://issues.apache.org/jira/browse/HDFS-699
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Hairong Kuang
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: HDFS-699.patch
>
>
> According to the design, the primary datanode should compare replicas' on disk length but it is current using Block.numBytes.

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


[jira] Updated: (HDFS-699) Primary datanode should compare replicas' on disk lengths

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang updated HDFS-699:
-------------------------------

    Affects Version/s: 0.22.0
                       0.21.0

> Primary datanode should compare replicas' on disk lengths
> ---------------------------------------------------------
>
>                 Key: HDFS-699
>                 URL: https://issues.apache.org/jira/browse/HDFS-699
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Hairong Kuang
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: HDFS-699.patch
>
>
> According to the design, the primary datanode should compare replicas' on disk length but it is current using Block.numBytes.

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