hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7781) Update security unit tests to use a KDC if available
Date Fri, 20 Dec 2013 16:58:10 GMT

    [ https://issues.apache.org/jira/browse/HBASE-7781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13854153#comment-13854153
] 

Andrew Purtell commented on HBASE-7781:
---------------------------------------

Have a look at the utility classes (and tests) under hbase-server src/test in org.apache.hadoop.hbase.security.
We want helpers that allow a test writer to start a mini KDC. I don't think we can depend
on Hadoop's mini KDC module yet until it is in a release. Then it would be nice to have an
integration test that starts up the mini KDC and uses it if running in a minicluster configuration.

> 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)

Mime
View raw message