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

HRegionServer doesn't properly set clusterId in conf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.94.0, 0.95.2
    • 0.94.2
    • None
    • None
    • Reviewed

    Description

      ClusterId is normally set into the passed conf during instantiation of an HTable class. In the case of a HRegionServer this is bypassed and set to "default" since getMaster() since it uses HBaseRPC to create the proxy directly and bypasses the class which retrieves and sets the correct clusterId.

      This becomes a problem with clients (ie within a coprocessor) using delegation tokens for authentication. Since the token's service will be the correct clusterId and while the TokenSelector is looking for one with service "default".

      Attachments

        1. HBASE-6432.patch
          5 kB
          Francis Christopher Liu
        2. HBASE-6432_94.patch
          2 kB
          Francis Christopher Liu

        Issue Links

          Activity

            People

              toffer Francis Christopher Liu
              toffer Francis Christopher Liu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: