hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7524) hbase-policy.xml is improperly set thus all rules in it can be by-passed
Date Thu, 10 Jan 2013 01:03:11 GMT

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

Hudson commented on HBASE-7524:
-------------------------------

Integrated in HBase-0.94 #720 (See [https://builds.apache.org/job/HBase-0.94/720/])
    HBASE-7524 hbase-policy.xml is improperly set thus all rules in it can be by-passed (Kai
Zheng) (Revision 1431142)

     Result = FAILURE
tedyu : 
Files : 
* /hbase/branches/0.94/security/src/main/java/org/apache/hadoop/hbase/security/HBasePolicyProvider.java

                
> hbase-policy.xml is improperly set thus all rules in it can be by-passed
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7524
>                 URL: https://issues.apache.org/jira/browse/HBASE-7524
>             Project: HBase
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 0.94.1
>            Reporter: Kai Zheng
>            Assignee: Kai Zheng
>              Labels: hbase, policy
>             Fix For: 0.96.0, 0.94.5
>
>         Attachments: HBASE-7524.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This should be a code error.
> In HBasePolicyProvider.java, hbase-policy.xml file was set as,
> conf.set("hadoop.policy.file", "hbase-policy.xml");
> But in Hadoop ServiceAuthorizationManager.java, policy file was get as,
>     String policyFile = 
>       System.getProperty("hadoop.policy.file", HADOOP_POLICY_FILE);
> The result is, the mentioned hbase-policy.xml file won't be used, and 
> default hadoop-policy.xml file can be used, which is unexpected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message