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

Secure HBase cluster : Client not able to call some admin APIs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.92.1, 0.94.0, 0.95.2
    • 0.92.2, 0.94.1
    • security
    • None
    • Reviewed

    Description

      In case of secure cluster, we allow the HBase clients to read the zk nodes by providing the global read permissions to all for certain nodes. These nodes are the master address znode, root server znode and the clusterId znode. In ZKUtil.createACL() , we can see these node names are specially handled.
      But there are some other client side admin APIs which makes a read call into the zookeeper from the client. This include the isTableEnabled() call (May be some other. I have seen this). Here the client directly reads a node in the zookeeper ( node created for this table ) and the data is matched to know whether this is enabled or not.
      Now in secure cluster case any client can read zookeeper nodes which it needs for its normal operation like the master address and root server address. But what if the client calls this API? [isTableEnaled () ].

      Attachments

        1. HBASE-6068-0.92.patch
          1 kB
          Matteo Bertozzi
        2. HBASE-6068-v0.patch
          1 kB
          Matteo Bertozzi
        3. HBASE-6068-v1.patch
          1 kB
          Matteo Bertozzi
        4. HBASE-6068-v2.patch
          1 kB
          Matteo Bertozzi
        5. HBASE-6068-v3.patch
          1 kB
          Matteo Bertozzi

        Issue Links

          Activity

            People

              mbertozzi Matteo Bertozzi
              anoopsamjohn Anoop Sam John
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: