[jira] [Commented] (HDFS-9245) Fix findbugs warnings in hdfs-nfs/WriteCtx

2015-10-16 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-9245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14961358#comment-14961358 ] Li Lu commented on HDFS-9245: - Yes I think using volatile here is appropriate. Findbugs also turned green for

[jira] [Commented] (HDFS-8135) Remove the deprecated FSConstants class

2015-05-19 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14551615#comment-14551615 ] Li Lu commented on HDFS-8135: - I'm fine with reverting those changes back into branch-2.

[jira] [Commented] (HDFS-8357) Consolidate parameters of INode.CleanSubtree() into a parameter objects.

2015-05-09 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14536997#comment-14536997 ] Li Lu commented on HDFS-8357: - hadoop.hdfs.TestLeaseRecovery2 passed locally. The other two UTs

[jira] [Commented] (HDFS-8357) Consolidate parameters of INode.CleanSubtree() into a parameter objects.

2015-05-09 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14536276#comment-14536276 ] Li Lu commented on HDFS-8357: - Tested locally and the two failed UTs also failed with trunk.

[jira] [Updated] (HDFS-8357) Consolidate parameters of INode.CleanSubtree() into a parameter objects.

2015-05-09 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-8357: Attachment: HDFS-8357-trunk.002.patch Rebase the patch against the latest trunk. Consolidate parameters of

[jira] [Updated] (HDFS-8357) Consolidate parameters of INode.CleanSubtree() into a parameter objects.

2015-05-08 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-8357: Status: Patch Available (was: Open) Consolidate parameters of INode.CleanSubtree() into a parameter objects.

[jira] [Updated] (HDFS-8357) Consolidate parameters of INode.CleanSubtree() into a parameter objects.

2015-05-08 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-8357: Attachment: HDFS-8357-trunk.001.patch In this patch I consolidated parameters of CleanSubtree into a separate

[jira] [Updated] (HDFS-8314) Move HdfsServerConstants#IO_FILE_BUFFER_SIZE and SMALL_BUFFER_SIZE to the users

2015-05-05 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-8314: Attachment: HDFS-8314-trunk.004.patch Fix the UT failure in the last patch. Move

[jira] [Updated] (HDFS-8314) Move HdfsServerConstants#IO_FILE_BUFFER_SIZE and SMALL_BUFFER_SIZE to the users

2015-05-05 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-8314: Attachment: (was: HDFS-8314-trunk.004.patch) Move HdfsServerConstants#IO_FILE_BUFFER_SIZE and SMALL_BUFFER_SIZE

[jira] [Updated] (HDFS-8314) Move HdfsServerConstants#IO_FILE_BUFFER_SIZE and SMALL_BUFFER_SIZE to the users

2015-05-05 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-8314: Attachment: HDFS-8314-trunk.004.patch Could not reproduce the UT failure locally. Can anybody double check this? I'm

[jira] [Updated] (HDFS-8314) Move HdfsServerConstants#IO_FILE_BUFFER_SIZE and SMALL_BUFFER_SIZE to the users

2015-05-04 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-8314: Attachment: HDFS-8314-trunk.003.patch Thanks [~wheat9] for the pointers! I've updated all of them in this version.

[jira] [Updated] (HDFS-8314) Move HdfsServerConstants#IO_FILE_BUFFER_SIZE and SMALL_BUFFER_SIZE to the users

2015-05-04 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-8314: Attachment: HDFS-8314-trunk.002.patch Thanks [~wheat9] for the review! bq. Creating a new HdfsConfiguration

[jira] [Assigned] (HDFS-8314) Move HdfsServerConstants#IO_FILE_BUFFER_SIZE and SMALL_BUFFER_SIZE to the users

2015-05-03 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu reassigned HDFS-8314: --- Assignee: Li Lu (was: Haohui Mai) Move HdfsServerConstants#IO_FILE_BUFFER_SIZE and SMALL_BUFFER_SIZE to the

[jira] [Updated] (HDFS-8314) Move HdfsServerConstants#IO_FILE_BUFFER_SIZE and SMALL_BUFFER_SIZE to the users

2015-05-03 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-8314: Attachment: HDFS-8314-trunk.001.patch In this patch I refactored IO_FILE_BUFFER_SIZE and SMALL_BUFFER_SIZE. I

[jira] [Updated] (HDFS-8314) Move HdfsServerConstants#IO_FILE_BUFFER_SIZE and SMALL_BUFFER_SIZE to the users

2015-05-03 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-8314: Status: Patch Available (was: Open) Move HdfsServerConstants#IO_FILE_BUFFER_SIZE and SMALL_BUFFER_SIZE to the

[jira] [Updated] (HDFS-8135) Remove the deprecated FSConstants class

2015-04-13 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-8135: Attachment: HDFS-8135-041315.patch Upload a patch to remove the deprecated FSConstants class. Remove the

[jira] [Updated] (HDFS-8135) Remove the deprecated FSConstants class

2015-04-13 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-8135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-8135: Status: Patch Available (was: Open) Remove the deprecated FSConstants class

[jira] [Updated] (HDFS-7985) WebHDFS should be always enabled

2015-03-24 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7985: Attachment: HDFS-7985-032415-1.patch Removed the default value (true) of DFS_PERMISSIONS_ENABLED_KEY in the latest

[jira] [Updated] (HDFS-7985) WebHDFS should be always enabled

2015-03-24 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7985: Attachment: HDFS-7985-032415.patch In this patch I removed the configuration setting DFS_WEBHDFS_ENABLED_KEY and

[jira] [Updated] (HDFS-7985) WebHDFS should be always enabled

2015-03-24 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7985: Status: Patch Available (was: Open) WebHDFS should be always enabled

[jira] [Commented] (HDFS-7478) Move org.apache.hadoop.hdfs.server.namenode.NNConf to FSNamesystem

2014-12-05 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14235255#comment-14235255 ] Li Lu commented on HDFS-7478: - The failed unit test is irrelevant to the changes in this Jira.

[jira] [Created] (HDFS-7478) Move org.apache.hadoop.hdfs.server.namenode.NNConf to FSNamesystem

2014-12-04 Thread Li Lu (JIRA)
Li Lu created HDFS-7478: --- Summary: Move org.apache.hadoop.hdfs.server.namenode.NNConf to FSNamesystem Key: HDFS-7478 URL: https://issues.apache.org/jira/browse/HDFS-7478 Project: Hadoop HDFS Issue

[jira] [Assigned] (HDFS-7477) Replace ACLException with AccessControlException

2014-12-04 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu reassigned HDFS-7477: --- Assignee: Li Lu Replace ACLException with AccessControlException

[jira] [Assigned] (HDFS-7479) Removed deprecated o.a.h.fs.permission.AccessControlException

2014-12-04 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu reassigned HDFS-7479: --- Assignee: Li Lu Removed deprecated o.a.h.fs.permission.AccessControlException

[jira] [Updated] (HDFS-7479) Removed deprecated o.a.h.fs.permission.AccessControlException

2014-12-04 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7479: Attachment: HDFS-7479-120414.patch Hi [~wheat9], in this patch I removed the deprecated

[jira] [Updated] (HDFS-7478) Move org.apache.hadoop.hdfs.server.namenode.NNConf to FSNamesystem

2014-12-04 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7478: Status: Patch Available (was: Open) Move org.apache.hadoop.hdfs.server.namenode.NNConf to FSNamesystem

[jira] [Updated] (HDFS-7478) Move org.apache.hadoop.hdfs.server.namenode.NNConf to FSNamesystem

2014-12-04 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7478: Attachment: HDFS-7478-120414.patch In this patch I moved o.a.h.fs.server.namenode.NNConf to FSNamesystem, then

[jira] [Updated] (HDFS-7479) Removed deprecated o.a.h.fs.permission.AccessControlException

2014-12-04 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7479: Status: Patch Available (was: Open) Removed deprecated o.a.h.fs.permission.AccessControlException

[jira] [Updated] (HDFS-7478) Move org.apache.hadoop.hdfs.server.namenode.NNConf to FSNamesystem

2014-12-04 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7478: Attachment: HDFS-7478-120414-1.patch Thanks for the suggestion. In this version I completely eliminated the NNConf

[jira] [Commented] (HDFS-7468) Code cleanup for verify* in FSDirectory

2014-12-03 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14233736#comment-14233736 ] Li Lu commented on HDFS-7468: - The unittest failure appears to be irrelevant. Cannot reproduce

[jira] [Created] (HDFS-7468) Code cleanup for verify* in FSDirectory

2014-12-02 Thread Li Lu (JIRA)
Li Lu created HDFS-7468: --- Summary: Code cleanup for verify* in FSDirectory Key: HDFS-7468 URL: https://issues.apache.org/jira/browse/HDFS-7468 Project: Hadoop HDFS Issue Type: Sub-task

[jira] [Updated] (HDFS-7468) Code cleanup for verify* in FSDirectory

2014-12-02 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7468: Attachment: HDFS-7468-120214.patch In this patch I'm cleaning up FSDirectory by moving 3 verify* methods into

[jira] [Updated] (HDFS-7468) Code cleanup for verify* in FSDirectory

2014-12-02 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7468: Status: Patch Available (was: Open) Code cleanup for verify* in FSDirectory

[jira] [Updated] (HDFS-7468) Code cleanup for verify* in FSDirectory

2014-12-02 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7468: Attachment: HDFS-7468-120214-1.patch Hi [~clamb], thank you for your review! In the latest patch I addressed your

[jira] [Updated] (HDFS-7468) Code cleanup for verify* in FSDirectory

2014-12-02 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7468: Status: Patch Available (was: Open) Code cleanup for verify* in FSDirectory

[jira] [Updated] (HDFS-7468) Code cleanup for verify* in FSDirectory

2014-12-02 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7468: Status: Open (was: Patch Available) Code cleanup for verify* in FSDirectory

[jira] [Updated] (HDFS-7468) Code cleanup for verify* in FSDirectory

2014-12-02 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7468: Status: Patch Available (was: Open) Code cleanup for verify* in FSDirectory

[jira] [Updated] (HDFS-7468) Code cleanup for verify* in FSDirectory

2014-12-02 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7468: Status: Open (was: Patch Available) Code cleanup for verify* in FSDirectory

[jira] [Updated] (HDFS-7404) Remove o.a.h.hdfs.server.datanode.web.resources

2014-11-17 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7404: Status: Patch Available (was: Open) Remove o.a.h.hdfs.server.datanode.web.resources

[jira] [Updated] (HDFS-7404) Remove o.a.h.hdfs.server.datanode.web.resources

2014-11-17 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7404: Attachment: HDFS-7404-111714.patch Hi [~wheat9], in this patch I removed hdfs.server.datanode.web.resources

[jira] [Created] (HDFS-7365) Remove hdfs.server.blockmanagement.MutableBlockCollection

2014-11-05 Thread Li Lu (JIRA)
Li Lu created HDFS-7365: --- Summary: Remove hdfs.server.blockmanagement.MutableBlockCollection Key: HDFS-7365 URL: https://issues.apache.org/jira/browse/HDFS-7365 Project: Hadoop HDFS Issue Type:

[jira] [Updated] (HDFS-7365) Remove hdfs.server.blockmanagement.MutableBlockCollection

2014-11-05 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7365: Attachment: HDFS-7365-110514.patch I removed MutableBlockCollection in this patch. Remove

[jira] [Updated] (HDFS-7365) Remove hdfs.server.blockmanagement.MutableBlockCollection

2014-11-05 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7365: Status: Patch Available (was: Open) Remove hdfs.server.blockmanagement.MutableBlockCollection

[jira] [Updated] (HDFS-7366) BlockInfo should take replication as an short in the constructor

2014-11-05 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7366: Attachment: HDFS-7366-110514.patch Hi [~wheat9], I changed the interface of BlockInfo's constructor in this patch

[jira] [Updated] (HDFS-7366) BlockInfo should take replication as an short in the constructor

2014-11-05 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7366: Status: Patch Available (was: Open) BlockInfo should take replication as an short in the constructor

[jira] [Assigned] (HDFS-7356) Use DirectoryListing.hasMore() directly in nfs

2014-11-04 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu reassigned HDFS-7356: --- Assignee: Li Lu Use DirectoryListing.hasMore() directly in nfs

[jira] [Updated] (HDFS-7356) Use DirectoryListing.hasMore() directly in nfs

2014-11-04 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7356: Attachment: HDFS-7356-110414.patch Hi [~wheat9], I've fixed this in my patch. If you have time please feel free to

[jira] [Updated] (HDFS-7356) Use DirectoryListing.hasMore() directly in nfs

2014-11-04 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7356: Status: Patch Available (was: Open) Use DirectoryListing.hasMore() directly in nfs

[jira] [Updated] (HDFS-7286) Remove dead code in ServletUtil

2014-10-24 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7286: Attachment: HDFS-7286-102414.patch Hi [~wheat9], I've removed the dead code in ServletUtil. Would you please take a

[jira] [Updated] (HDFS-7286) Remove dead code in ServletUtil

2014-10-24 Thread Li Lu (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-7286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Li Lu updated HDFS-7286: Status: Patch Available (was: Open) Remove dead code in ServletUtil ---