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

Port HBASE-7442 HBase remote CopyTable not working when security enabled to trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.98.0, 0.95.0
    • None
    • None

    Description

      Excerpt about the choice of solution from :

      The first option was actually quite messy to implement. clusterId and conf are fixed in HBaseClient when it's created and cached by SecureRpcEngine, so to implement the fix here I would have had to pass the different cluster confs up through HConnectionManager and HBaseRPC in order to override the clusterId in SecureClient#SecureConnection.

      I've gone with the second option of creating and caching different SecureClients for the local and remote clusters in SecureRpcEngine - keyed off of the clusterId instead of the default SocketFactory. I think this is a cleaner solution.

      Attachments

        1. HBASE-7482-v3.patch
          18 kB
          Gary Helmling
        2. HBASE-7482-v2.patch
          18 kB
          Gary Helmling
        3. HBASE-7482-trunk.patch
          4 kB
          James Kinley

        Issue Links

          Activity

            People

              ghelmling Gary Helmling
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: