You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "zhangduo (JIRA)" <ji...@apache.org> on 2015/03/15 02:22:38 UTC
[jira] [Commented] (HBASE-7781) Update security unit tests to use a
KDC if available
[ https://issues.apache.org/jira/browse/HBASE-7781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14362136#comment-14362136 ]
zhangduo commented on HBASE-7781:
---------------------------------
I think the only thing related to kerberos is TokenProvider. It only allows to generateToken when user is already authed with kerberos. Will open a sub task to deal with it.
I think we can resolve this issue after this. Can create another issue if we want to setup secure minicluster when running integration tests.
> Update security unit tests to use a KDC if available
> ----------------------------------------------------
>
> Key: HBASE-7781
> URL: https://issues.apache.org/jira/browse/HBASE-7781
> Project: HBase
> Issue Type: Test
> Components: security, test
> Reporter: Gary Helmling
> Priority: Blocker
> Attachments: jacoco.tar.gz
>
>
> We currently have large holes in the test coverage of HBase with security enabled. Two recent examples of bugs which really should have been caught with testing are HBASE-7771 and HBASE-7772. The long standing problem with testing with security enabled has been the requirement for supporting kerberos infrastructure.
> We need to close this gap and provide some automated testing with security enabled, if necessary standing up and provisioning a temporary KDC as an option for running integration tests, see HADOOP-8078 and HADOOP-9004 where a similar approach was taken.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)