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

Use pre-existing HBase delegation token

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.5
    • 1.4.6
    • hbase-integration
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: