Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-1684

Use pre-existing HBase delegation token

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.5
    • Fix Version/s: 1.4.6
    • Component/s: hbase-integration
    • Labels:
      None

      Description

      The following code snippet will fail when running from Oozie: https://github.com/apache/sqoop/blob/branch-1.4.5/src/java/org/apache/sqoop/mapreduce/HBaseImportJob.java#L180

      // Obtain security token if needed
      if ((Boolean)isHBaseSecurityEnabled.invoke(null, conf)) {
         obtainAuthTokenForJob.invoke(user, conf, job);
      }
      

      The reason being re-authentication is not possible when running from Oozie. oozie will provide delegation tokens. Sqoop should continue to run if delegation tokens are present.

        Attachments

        1. SQOOP-1684.1.patch
          5 kB
          Abraham Elmahrek

          Issue Links

            Activity

              People

              • Assignee:
                abec Abraham Elmahrek
                Reporter:
                abec Abraham Elmahrek
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: