HBase
  1. HBase
  2. HBASE-7330

Security hooks missing in region server and master APIs.

    Details

    • Type: Umbrella Umbrella
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: master, regionserver, security
    • Labels:
      None

      Description

      Some of the APIs in Master and Region server are missing hooks to the coprocessors. So even if security is enabled, an unauthorized user can perform certain operations.

      The following is the list of operations:

      1. HMaster.offline()
      2. HMaster.getHTableDescriptors()
      3. HMaster.getHTableDescriptors(List<String> tableNames)
      4. HRegionServer.getRegionInfo()
      5. HRegionInterface.getLastFlushTime()
      6. HRegionInterface.getStoreFileList(byte[] regionName, byte[] columnFamily)
      7. HRegionInterface.getStoreFileList(byte[] regionName, byte[][] columnFamilies)
      8. HRegionInterface.getStoreFileList(byte[] regionName
      9. HRegionInterface.lockRow(final byte [] regionName, final byte [] row)
      10. HRegionInterface.unlockRow(final byte [] regionName, final long lockId)
      11. HRegionInterface.getOnlineRegions()
      12. HRegionInterface.getHServerInfo()
      13. HRegionInterface.replicateLogEntries(HLog.Entry[] entries)
      14. HRegionInterface.stop()
      15. HRegionInterface.OpenRegions()
      16. HRegionInterface.closeRegion()

        Issue Links

          Activity

          Hide
          Andrew Purtell added a comment -

          Let me try that.

          Show
          Andrew Purtell added a comment - Let me try that.
          Hide
          Vandana Ayyalasomayajula added a comment -

          Andrew Purtell Looks good. So are you okay with close this jira as duplicate and then making HBASE-7331 as subtask of 6101 or 5352 ?

          Show
          Vandana Ayyalasomayajula added a comment - Andrew Purtell Looks good. So are you okay with close this jira as duplicate and then making HBASE-7331 as subtask of 6101 or 5352 ?
          Show
          Andrew Purtell added a comment - Vandana Ayyalasomayajula How does this look?: https://issues.apache.org/jira/browse/HBASE-6101?focusedCommentId=13529507&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13529507
          Hide
          Vandana Ayyalasomayajula added a comment -

          Andrew Purtell Or we can make HBASE-7331 a subtask of HBASE-5352.

          Show
          Vandana Ayyalasomayajula added a comment - Andrew Purtell Or we can make HBASE-7331 a subtask of HBASE-5352 .
          Hide
          Vandana Ayyalasomayajula added a comment -

          Andrew Purtell Can I copy the details in description to HBase-6101 and make HBASE-7331 as subtask of HBASE-6101 ? We can close this JIRA as duplicate.

          Show
          Vandana Ayyalasomayajula added a comment - Andrew Purtell Can I copy the details in description to HBase-6101 and make HBASE-7331 as subtask of HBASE-6101 ? We can close this JIRA as duplicate.
          Hide
          Andrew Purtell added a comment -

          This issue is a partial duplicate, but thanks for listing the particulars, I'm not sure they are all laid out in one place. See HBASE-6096 and HBASE-6101.

          It looks like the "Convert to Subtask" JIRA option is now missing, or I'd convert it. Should we close HBASE-7330 and HBASE-7331 as duplicates and move this to HBASE-6101?

          Show
          Andrew Purtell added a comment - This issue is a partial duplicate, but thanks for listing the particulars, I'm not sure they are all laid out in one place. See HBASE-6096 and HBASE-6101 . It looks like the "Convert to Subtask" JIRA option is now missing, or I'd convert it. Should we close HBASE-7330 and HBASE-7331 as duplicates and move this to HBASE-6101 ?

            People

            • Assignee:
              Unassigned
              Reporter:
              Vandana Ayyalasomayajula
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development