[
https://issues.apache.org/jira/browse/HBASE-7781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14325179#comment-14325179
]
zhangduo commented on HBASE-7781:
---------------------------------
I think there are 3 things to do.
First is to modify the unit tests that already need a kerberos environment to
use minikdc.
Second is to modify other security unit tests to use minikdc if we can gain
better coverage.
Third is hbase-it, we can see if we can start a secure minicluster when running
integration tests on minicluster.
The first thing is simple and I can do it right now.
The second and third thing need more preparing work. I will post my findings
later when I decide to start working on them.
Thanks [~apurtell]
> 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
>
> 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)