You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jimmy Xiang (JIRA)" <ji...@apache.org> on 2012/10/09 21:48:03 UTC
[jira] [Created] (HBASE-6963) unable to run hbck on a secure
cluster
Jimmy Xiang created HBASE-6963:
----------------------------------
Summary: unable to run hbck on a secure cluster
Key: HBASE-6963
URL: https://issues.apache.org/jira/browse/HBASE-6963
Project: HBase
Issue Type: Bug
Components: hbck
Reporter: Jimmy Xiang
Assignee: Jimmy Xiang
{noformat}
12/10/02 11:49:07 WARN util.HBaseFsck: Got AccessControlException when preCheckPermission
org.apache.hadoop.security.AccessControlException: Permission denied: action=WRITE path=hdfs://...:8020/hbase/-ROOT- user=hbase/...
at org.apache.hadoop.hbase.util.FSUtils.checkAccess(FSUtils.java:882)
at org.apache.hadoop.hbase.util.HBaseFsck.preCheckPermission(HBaseFsck.java:1230)
at org.apache.hadoop.hbase.util.HBaseFsck.exec(HBaseFsck.java:3343)
at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3205)
{noformat}
--
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] (HBASE-6963) unable to run hbck on a secure
cluster
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-6963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472729#comment-13472729 ]
Hadoop QA commented on HBASE-6963:
----------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12548448/trunk_6963.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 hadoop2.0{color}. The patch compiles against the hadoop 2.0 profile.
{color:red}-1 javadoc{color}. The javadoc tool appears to have generated 81 warning messages.
{color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings.
{color:red}-1 findbugs{color}. The patch appears to introduce 5 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:red}-1 core tests{color}. The patch failed these unit tests:
org.apache.hadoop.hbase.regionserver.TestSplitTransaction
Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/3022//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3022//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3022//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3022//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop1-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3022//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3022//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/3022//console
This message is automatically generated.
> unable to run hbck on a secure cluster
> --------------------------------------
>
> Key: HBASE-6963
> URL: https://issues.apache.org/jira/browse/HBASE-6963
> Project: HBase
> Issue Type: Bug
> Components: hbck
> Reporter: Jimmy Xiang
> Assignee: Jimmy Xiang
> Attachments: trunk_6963.patch
>
>
> {noformat}
> 12/10/02 11:49:07 WARN util.HBaseFsck: Got AccessControlException when preCheckPermission
> org.apache.hadoop.security.AccessControlException: Permission denied: action=WRITE path=hdfs://...:8020/hbase/-ROOT- user=hbase/...
> at org.apache.hadoop.hbase.util.FSUtils.checkAccess(FSUtils.java:882)
> at org.apache.hadoop.hbase.util.HBaseFsck.preCheckPermission(HBaseFsck.java:1230)
> at org.apache.hadoop.hbase.util.HBaseFsck.exec(HBaseFsck.java:3343)
> at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3205)
> {noformat}
--
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] (HBASE-6963) unable to run hbck on a secure
cluster
Posted by "Jonathan Hsieh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-6963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473563#comment-13473563 ]
Jonathan Hsieh commented on HBASE-6963:
---------------------------------------
+1 assuming you've tested on secure cluster. Please only put on trunk, since we aren't guaranteed that the getShortUserName() call is on the older 0.20.x hadoops, but present on 1.0+ (which 0.96 has as a lowest supported version).
> unable to run hbck on a secure cluster
> --------------------------------------
>
> Key: HBASE-6963
> URL: https://issues.apache.org/jira/browse/HBASE-6963
> Project: HBase
> Issue Type: Bug
> Components: hbck
> Reporter: Jimmy Xiang
> Assignee: Jimmy Xiang
> Attachments: trunk_6963.patch
>
>
> {noformat}
> 12/10/02 11:49:07 WARN util.HBaseFsck: Got AccessControlException when preCheckPermission
> org.apache.hadoop.security.AccessControlException: Permission denied: action=WRITE path=hdfs://...:8020/hbase/-ROOT- user=hbase/...
> at org.apache.hadoop.hbase.util.FSUtils.checkAccess(FSUtils.java:882)
> at org.apache.hadoop.hbase.util.HBaseFsck.preCheckPermission(HBaseFsck.java:1230)
> at org.apache.hadoop.hbase.util.HBaseFsck.exec(HBaseFsck.java:3343)
> at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3205)
> {noformat}
--
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] (HBASE-6963) unable to run hbck on a secure
cluster
Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-6963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jimmy Xiang updated HBASE-6963:
-------------------------------
Resolution: Fixed
Fix Version/s: 0.96.0
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Thanks Jon for the review. Integrated into trunk.
> unable to run hbck on a secure cluster
> --------------------------------------
>
> Key: HBASE-6963
> URL: https://issues.apache.org/jira/browse/HBASE-6963
> Project: HBase
> Issue Type: Bug
> Components: hbck
> Reporter: Jimmy Xiang
> Assignee: Jimmy Xiang
> Fix For: 0.96.0
>
> Attachments: trunk_6963.patch
>
>
> {noformat}
> 12/10/02 11:49:07 WARN util.HBaseFsck: Got AccessControlException when preCheckPermission
> org.apache.hadoop.security.AccessControlException: Permission denied: action=WRITE path=hdfs://...:8020/hbase/-ROOT- user=hbase/...
> at org.apache.hadoop.hbase.util.FSUtils.checkAccess(FSUtils.java:882)
> at org.apache.hadoop.hbase.util.HBaseFsck.preCheckPermission(HBaseFsck.java:1230)
> at org.apache.hadoop.hbase.util.HBaseFsck.exec(HBaseFsck.java:3343)
> at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3205)
> {noformat}
--
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] (HBASE-6963) unable to run hbck on a secure
cluster
Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-6963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473574#comment-13473574 ]
Jimmy Xiang commented on HBASE-6963:
------------------------------------
Yes, I tested it on secure cluster. Good point. I just checked and found getShortUserName is on 0.22 version already, hasn't checked 0.20.x hadoops. Will commit to 0.96 only.
> unable to run hbck on a secure cluster
> --------------------------------------
>
> Key: HBASE-6963
> URL: https://issues.apache.org/jira/browse/HBASE-6963
> Project: HBase
> Issue Type: Bug
> Components: hbck
> Reporter: Jimmy Xiang
> Assignee: Jimmy Xiang
> Attachments: trunk_6963.patch
>
>
> {noformat}
> 12/10/02 11:49:07 WARN util.HBaseFsck: Got AccessControlException when preCheckPermission
> org.apache.hadoop.security.AccessControlException: Permission denied: action=WRITE path=hdfs://...:8020/hbase/-ROOT- user=hbase/...
> at org.apache.hadoop.hbase.util.FSUtils.checkAccess(FSUtils.java:882)
> at org.apache.hadoop.hbase.util.HBaseFsck.preCheckPermission(HBaseFsck.java:1230)
> at org.apache.hadoop.hbase.util.HBaseFsck.exec(HBaseFsck.java:3343)
> at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3205)
> {noformat}
--
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] [Comment Edited] (HBASE-6963) unable to run hbck on a secure
cluster
Posted by "Jonathan Hsieh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-6963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473563#comment-13473563 ]
Jonathan Hsieh edited comment on HBASE-6963 at 10/10/12 9:08 PM:
-----------------------------------------------------------------
\+1 assuming you've tested on secure cluster. Please only put on trunk, since we aren't guaranteed that the getShortUserName() call is on the older 0.20.x hadoops, but present on 1.0+ (which 0.96 has as a lowest supported version).
was (Author: jmhsieh):
+1 assuming you've tested on secure cluster. Please only put on trunk, since we aren't guaranteed that the getShortUserName() call is on the older 0.20.x hadoops, but present on 1.0+ (which 0.96 has as a lowest supported version).
> unable to run hbck on a secure cluster
> --------------------------------------
>
> Key: HBASE-6963
> URL: https://issues.apache.org/jira/browse/HBASE-6963
> Project: HBase
> Issue Type: Bug
> Components: hbck
> Reporter: Jimmy Xiang
> Assignee: Jimmy Xiang
> Attachments: trunk_6963.patch
>
>
> {noformat}
> 12/10/02 11:49:07 WARN util.HBaseFsck: Got AccessControlException when preCheckPermission
> org.apache.hadoop.security.AccessControlException: Permission denied: action=WRITE path=hdfs://...:8020/hbase/-ROOT- user=hbase/...
> at org.apache.hadoop.hbase.util.FSUtils.checkAccess(FSUtils.java:882)
> at org.apache.hadoop.hbase.util.HBaseFsck.preCheckPermission(HBaseFsck.java:1230)
> at org.apache.hadoop.hbase.util.HBaseFsck.exec(HBaseFsck.java:3343)
> at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3205)
> {noformat}
--
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] (HBASE-6963) unable to run hbck on a secure
cluster
Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-6963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jimmy Xiang updated HBASE-6963:
-------------------------------
Status: Patch Available (was: Open)
> unable to run hbck on a secure cluster
> --------------------------------------
>
> Key: HBASE-6963
> URL: https://issues.apache.org/jira/browse/HBASE-6963
> Project: HBase
> Issue Type: Bug
> Components: hbck
> Reporter: Jimmy Xiang
> Assignee: Jimmy Xiang
> Attachments: trunk_6963.patch
>
>
> {noformat}
> 12/10/02 11:49:07 WARN util.HBaseFsck: Got AccessControlException when preCheckPermission
> org.apache.hadoop.security.AccessControlException: Permission denied: action=WRITE path=hdfs://...:8020/hbase/-ROOT- user=hbase/...
> at org.apache.hadoop.hbase.util.FSUtils.checkAccess(FSUtils.java:882)
> at org.apache.hadoop.hbase.util.HBaseFsck.preCheckPermission(HBaseFsck.java:1230)
> at org.apache.hadoop.hbase.util.HBaseFsck.exec(HBaseFsck.java:3343)
> at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3205)
> {noformat}
--
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] (HBASE-6963) unable to run hbck on a secure
cluster
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-6963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473641#comment-13473641 ]
Hudson commented on HBASE-6963:
-------------------------------
Integrated in HBase-TRUNK #3441 (See [https://builds.apache.org/job/HBase-TRUNK/3441/])
HBASE-6963 unable to run hbck on a secure cluster (Revision 1396810)
Result = FAILURE
jxiang :
Files :
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java
> unable to run hbck on a secure cluster
> --------------------------------------
>
> Key: HBASE-6963
> URL: https://issues.apache.org/jira/browse/HBASE-6963
> Project: HBase
> Issue Type: Bug
> Components: hbck
> Reporter: Jimmy Xiang
> Assignee: Jimmy Xiang
> Fix For: 0.96.0
>
> Attachments: trunk_6963.patch
>
>
> {noformat}
> 12/10/02 11:49:07 WARN util.HBaseFsck: Got AccessControlException when preCheckPermission
> org.apache.hadoop.security.AccessControlException: Permission denied: action=WRITE path=hdfs://...:8020/hbase/-ROOT- user=hbase/...
> at org.apache.hadoop.hbase.util.FSUtils.checkAccess(FSUtils.java:882)
> at org.apache.hadoop.hbase.util.HBaseFsck.preCheckPermission(HBaseFsck.java:1230)
> at org.apache.hadoop.hbase.util.HBaseFsck.exec(HBaseFsck.java:3343)
> at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3205)
> {noformat}
--
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] (HBASE-6963) unable to run hbck on a secure
cluster
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-6963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473711#comment-13473711 ]
Hudson commented on HBASE-6963:
-------------------------------
Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #217 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/217/])
HBASE-6963 unable to run hbck on a secure cluster (Revision 1396810)
Result = FAILURE
jxiang :
Files :
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java
> unable to run hbck on a secure cluster
> --------------------------------------
>
> Key: HBASE-6963
> URL: https://issues.apache.org/jira/browse/HBASE-6963
> Project: HBase
> Issue Type: Bug
> Components: hbck
> Reporter: Jimmy Xiang
> Assignee: Jimmy Xiang
> Fix For: 0.96.0
>
> Attachments: trunk_6963.patch
>
>
> {noformat}
> 12/10/02 11:49:07 WARN util.HBaseFsck: Got AccessControlException when preCheckPermission
> org.apache.hadoop.security.AccessControlException: Permission denied: action=WRITE path=hdfs://...:8020/hbase/-ROOT- user=hbase/...
> at org.apache.hadoop.hbase.util.FSUtils.checkAccess(FSUtils.java:882)
> at org.apache.hadoop.hbase.util.HBaseFsck.preCheckPermission(HBaseFsck.java:1230)
> at org.apache.hadoop.hbase.util.HBaseFsck.exec(HBaseFsck.java:3343)
> at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3205)
> {noformat}
--
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] (HBASE-6963) unable to run hbck on a secure
cluster
Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-6963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jimmy Xiang updated HBASE-6963:
-------------------------------
Attachment: trunk_6963.patch
> unable to run hbck on a secure cluster
> --------------------------------------
>
> Key: HBASE-6963
> URL: https://issues.apache.org/jira/browse/HBASE-6963
> Project: HBase
> Issue Type: Bug
> Components: hbck
> Reporter: Jimmy Xiang
> Assignee: Jimmy Xiang
> Attachments: trunk_6963.patch
>
>
> {noformat}
> 12/10/02 11:49:07 WARN util.HBaseFsck: Got AccessControlException when preCheckPermission
> org.apache.hadoop.security.AccessControlException: Permission denied: action=WRITE path=hdfs://...:8020/hbase/-ROOT- user=hbase/...
> at org.apache.hadoop.hbase.util.FSUtils.checkAccess(FSUtils.java:882)
> at org.apache.hadoop.hbase.util.HBaseFsck.preCheckPermission(HBaseFsck.java:1230)
> at org.apache.hadoop.hbase.util.HBaseFsck.exec(HBaseFsck.java:3343)
> at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3205)
> {noformat}
--
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] (HBASE-6963) unable to run hbck on a secure
cluster
Posted by "Jonathan Hsieh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-6963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473569#comment-13473569 ]
Jonathan Hsieh commented on HBASE-6963:
---------------------------------------
Also, for the other versions we may need to change it to a warning instead of bailing out.
> unable to run hbck on a secure cluster
> --------------------------------------
>
> Key: HBASE-6963
> URL: https://issues.apache.org/jira/browse/HBASE-6963
> Project: HBase
> Issue Type: Bug
> Components: hbck
> Reporter: Jimmy Xiang
> Assignee: Jimmy Xiang
> Attachments: trunk_6963.patch
>
>
> {noformat}
> 12/10/02 11:49:07 WARN util.HBaseFsck: Got AccessControlException when preCheckPermission
> org.apache.hadoop.security.AccessControlException: Permission denied: action=WRITE path=hdfs://...:8020/hbase/-ROOT- user=hbase/...
> at org.apache.hadoop.hbase.util.FSUtils.checkAccess(FSUtils.java:882)
> at org.apache.hadoop.hbase.util.HBaseFsck.preCheckPermission(HBaseFsck.java:1230)
> at org.apache.hadoop.hbase.util.HBaseFsck.exec(HBaseFsck.java:3343)
> at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3205)
> {noformat}
--
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