[
https://issues.apache.org/jira/browse/HBASE-7781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13854166#comment-13854166
]
ramkrishna.s.vasudevan commented on HBASE-7781:
-----------------------------------------------
bq.Have a look at the utility classes (and tests) under hbase-server src/test
in org.apache.hadoop.hbase.security
Yes Andy. Exactly doing that.
I understand that using miniKDC we could define our own principles, and add
proper kdc configuraitons for the NN, DN, RS and master. Using that the
security test should be running.
I hope in testcases too once the security is enabled through kerberos, secure
DN and secure NN starts running. Let me see that.
> 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
> Assignee: ramkrishna.s.vasudevan
> Priority: Blocker
> Fix For: 0.98.0
>
>
> 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.1.4#6159)