You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Devaraj Das (JIRA)" <ji...@apache.org> on 2013/10/28 23:56:34 UTC
[jira] [Updated] (HBASE-8569) Improve coverage in package
org.apache.hadoop.hbase.security
[ https://issues.apache.org/jira/browse/HBASE-8569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj Das updated HBASE-8569:
-------------------------------
Attachment: 8569-rebased.txt
[~vbondarev], attached is a rebased patch for the current trunk (since I was reviewing it, I thought I'd fix this simple problem as well).
I ran the tests affected by the patch:
{noformat}
mvn -Dtest=TestUsersOperationsWithSecureHadoop,TestDelayedRpc,TestUser,TestHBaseSaslRpcClient test -Dhbase.regionserver.kerberos.principal=hbase/hor2n35.gq1.ygridcore.net@HORTON.YGRIDCORE.NET -Dhbase.regionserver.keytab.file=/etc/security/keytabs/hbase.service.keytab
{noformat}
All the tests ran fine except for TestUser.
{noformat}
Failed tests: testSecurityForNonSecureHadoop(org.apache.hadoop.hbase.security.TestUser): Single property shouldn't be enoght for enable security
{noformat}
It seems the failure is legit. User.isHBaseSecurityEnabled is written to return true when hbase.security.authentication is set to "kerberos". Could you take a look at this aspect in the test.
> Improve coverage in package org.apache.hadoop.hbase.security
> ------------------------------------------------------------
>
> Key: HBASE-8569
> URL: https://issues.apache.org/jira/browse/HBASE-8569
> Project: HBase
> Issue Type: Test
> Reporter: Vadim Bondarev
> Assignee: Vadim Bondarev
> Attachments: 8569-rebased.txt, HBASE-8569-0.94-a.patch, HBASE-8569-0.94-b.patch, HBASE-8569-0.95-a.patch, HBASE-8569-trunk-a.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.1#6144)