Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7524

hbase-policy.xml is improperly set thus all rules in it can be by-passed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.94.1
    • 0.94.5, 0.95.0
    • security
    • Reviewed
    • security

    Description

      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.

      Attachments

        1. HBASE-7524.patch
          0.9 kB
          Kai Zheng

        Activity

          People

            drankye Kai Zheng
            drankye Kai Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified