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 2012/10/22 02:18:12 UTC
[jira] [Created] (HDFS-4099) Clean up replication code and add more
javadoc
Tsz Wo (Nicholas), SZE created HDFS-4099:
--------------------------------------------
Summary: Clean up replication code and add more javadoc
Key: HDFS-4099
URL: https://issues.apache.org/jira/browse/HDFS-4099
Project: Hadoop HDFS
Issue Type: Bug
Components: name-node
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
- FSNamesystem.checkReplicationFactor(..) should be combined with BlockManager.checkReplication(..).
- Add javadoc to the replication related method in BlockManager.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4099) Clean up replication code and add
more javadoc
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13482334#comment-13482334 ]
Hudson commented on HDFS-4099:
------------------------------
Integrated in Hadoop-Mapreduce-trunk #1234 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1234/])
HDFS-4099. Clean up replication code and add more javadoc. (Revision 1400986)
Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1400986
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
> Clean up replication code and add more javadoc
> ----------------------------------------------
>
> Key: HDFS-4099
> URL: https://issues.apache.org/jira/browse/HDFS-4099
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Priority: Minor
> Fix For: 2.0.3-alpha
>
> Attachments: h4099_20121021.patch
>
>
> - FSNamesystem.checkReplicationFactor(..) should be combined with BlockManager.checkReplication(..).
> - Add javadoc to the replication related method in BlockManager.
> - Also clean up those methods.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4099) Clean up replication code and add
more javadoc
Posted by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481218#comment-13481218 ]
Uma Maheswara Rao G commented on HDFS-4099:
-------------------------------------------
Thanks Nicholas, for cleaning up. +1 from me too, for the patch.
> Clean up replication code and add more javadoc
> ----------------------------------------------
>
> Key: HDFS-4099
> URL: https://issues.apache.org/jira/browse/HDFS-4099
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h4099_20121021.patch
>
>
> - FSNamesystem.checkReplicationFactor(..) should be combined with BlockManager.checkReplication(..).
> - Add javadoc to the replication related method in BlockManager.
> - Also clean up those methods.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4099) Clean up replication code and add
more javadoc
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13482249#comment-13482249 ]
Hudson commented on HDFS-4099:
------------------------------
Integrated in Hadoop-Yarn-trunk #12 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/12/])
HDFS-4099. Clean up replication code and add more javadoc. (Revision 1400986)
Result = FAILURE
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1400986
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
> Clean up replication code and add more javadoc
> ----------------------------------------------
>
> Key: HDFS-4099
> URL: https://issues.apache.org/jira/browse/HDFS-4099
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Priority: Minor
> Fix For: 2.0.3-alpha
>
> Attachments: h4099_20121021.patch
>
>
> - FSNamesystem.checkReplicationFactor(..) should be combined with BlockManager.checkReplication(..).
> - Add javadoc to the replication related method in BlockManager.
> - Also clean up those methods.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4099) Clean up replication code and add
more javadoc
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481175#comment-13481175 ]
Suresh Srinivas commented on HDFS-4099:
---------------------------------------
+1 for the patch.
> Clean up replication code and add more javadoc
> ----------------------------------------------
>
> Key: HDFS-4099
> URL: https://issues.apache.org/jira/browse/HDFS-4099
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h4099_20121021.patch
>
>
> - FSNamesystem.checkReplicationFactor(..) should be combined with BlockManager.checkReplication(..).
> - Add javadoc to the replication related method in BlockManager.
> - Also clean up those methods.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4099) Clean up replication code and add
more javadoc
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481597#comment-13481597 ]
Hudson commented on HDFS-4099:
------------------------------
Integrated in Hadoop-trunk-Commit #2907 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/2907/])
HDFS-4099. Clean up replication code and add more javadoc. (Revision 1400986)
Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1400986
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
> Clean up replication code and add more javadoc
> ----------------------------------------------
>
> Key: HDFS-4099
> URL: https://issues.apache.org/jira/browse/HDFS-4099
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Priority: Minor
> Fix For: 2.0.3-alpha
>
> Attachments: h4099_20121021.patch
>
>
> - FSNamesystem.checkReplicationFactor(..) should be combined with BlockManager.checkReplication(..).
> - Add javadoc to the replication related method in BlockManager.
> - Also clean up those methods.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-4099) Clean up replication code and add more
javadoc
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-4099:
-----------------------------------------
Status: Patch Available (was: Open)
> Clean up replication code and add more javadoc
> ----------------------------------------------
>
> Key: HDFS-4099
> URL: https://issues.apache.org/jira/browse/HDFS-4099
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h4099_20121021.patch
>
>
> - FSNamesystem.checkReplicationFactor(..) should be combined with BlockManager.checkReplication(..).
> - Add javadoc to the replication related method in BlockManager.
> - Also clean up those methods.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-4099) Clean up replication code and add more
javadoc
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-4099:
-----------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.3-alpha
Status: Resolved (was: Patch Available)
I did not add new tests since the changes are simple.
I have committed this.
> Clean up replication code and add more javadoc
> ----------------------------------------------
>
> Key: HDFS-4099
> URL: https://issues.apache.org/jira/browse/HDFS-4099
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Priority: Minor
> Fix For: 2.0.3-alpha
>
> Attachments: h4099_20121021.patch
>
>
> - FSNamesystem.checkReplicationFactor(..) should be combined with BlockManager.checkReplication(..).
> - Add javadoc to the replication related method in BlockManager.
> - Also clean up those methods.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-4099) Clean up replication code and add more
javadoc
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-4099:
-----------------------------------------
Description:
- FSNamesystem.checkReplicationFactor(..) should be combined with BlockManager.checkReplication(..).
- Add javadoc to the replication related method in BlockManager.
- Also clean up those methods.
was:
- FSNamesystem.checkReplicationFactor(..) should be combined with BlockManager.checkReplication(..).
- Add javadoc to the replication related method in BlockManager.
> Clean up replication code and add more javadoc
> ----------------------------------------------
>
> Key: HDFS-4099
> URL: https://issues.apache.org/jira/browse/HDFS-4099
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
>
> - FSNamesystem.checkReplicationFactor(..) should be combined with BlockManager.checkReplication(..).
> - Add javadoc to the replication related method in BlockManager.
> - Also clean up those methods.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4099) Clean up replication code and add
more javadoc
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481119#comment-13481119 ]
Hadoop QA commented on HDFS-4099:
---------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12550227/h4099_20121021.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author tags.
{color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests.
Please justify why no new tests are needed for this patch.
Also please list what manual steps were performed to verify this patch.
{color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings.
{color:green}+1 javadoc{color}. The javadoc tool did not generate any warning messages.
{color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse.
{color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
{color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in hadoop-hdfs-project/hadoop-hdfs.
{color:green}+1 contrib tests{color}. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/3374//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/3374//console
This message is automatically generated.
> Clean up replication code and add more javadoc
> ----------------------------------------------
>
> Key: HDFS-4099
> URL: https://issues.apache.org/jira/browse/HDFS-4099
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h4099_20121021.patch
>
>
> - FSNamesystem.checkReplicationFactor(..) should be combined with BlockManager.checkReplication(..).
> - Add javadoc to the replication related method in BlockManager.
> - Also clean up those methods.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4099) Clean up replication code and add
more javadoc
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13482299#comment-13482299 ]
Hudson commented on HDFS-4099:
------------------------------
Integrated in Hadoop-Hdfs-trunk #1204 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1204/])
HDFS-4099. Clean up replication code and add more javadoc. (Revision 1400986)
Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1400986
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
> Clean up replication code and add more javadoc
> ----------------------------------------------
>
> Key: HDFS-4099
> URL: https://issues.apache.org/jira/browse/HDFS-4099
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Priority: Minor
> Fix For: 2.0.3-alpha
>
> Attachments: h4099_20121021.patch
>
>
> - FSNamesystem.checkReplicationFactor(..) should be combined with BlockManager.checkReplication(..).
> - Add javadoc to the replication related method in BlockManager.
> - Also clean up those methods.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-4099) Clean up replication code and add more
javadoc
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-4099:
-----------------------------------------
Attachment: h4099_20121021.patch
h4099_20121021.patch: 1st patch.
> Clean up replication code and add more javadoc
> ----------------------------------------------
>
> Key: HDFS-4099
> URL: https://issues.apache.org/jira/browse/HDFS-4099
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h4099_20121021.patch
>
>
> - FSNamesystem.checkReplicationFactor(..) should be combined with BlockManager.checkReplication(..).
> - Add javadoc to the replication related method in BlockManager.
> - Also clean up those methods.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-4099) Clean up replication code and add more
javadoc
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-4099:
-----------------------------------------
Priority: Minor (was: Major)
Hadoop Flags: Reviewed
Thanks Suresh and Uma for reviewing the patch.
> Clean up replication code and add more javadoc
> ----------------------------------------------
>
> Key: HDFS-4099
> URL: https://issues.apache.org/jira/browse/HDFS-4099
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Priority: Minor
> Attachments: h4099_20121021.patch
>
>
> - FSNamesystem.checkReplicationFactor(..) should be combined with BlockManager.checkReplication(..).
> - Add javadoc to the replication related method in BlockManager.
> - Also clean up those methods.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira