Sqoop
  1. Sqoop
  2. SQOOP-599

Import to HBase is not working on secure cluster

    Details

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

      Description

      HBase import will fail on secure cluster:

      12/09/06 03:29:32 INFO mapred.JobClient: Task Id : attempt_201209041259_0575_m_000003_0, Status : FAILED
      java.lang.RuntimeException: SASL authentication failed. The most likely cause is missing or invalid credentials. Consider 'kinit'.
      	at org.apache.hadoop.hbase.ipc.SecureClient$SecureConnection$1.run(SecureClient.java:242)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:396)
      	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.apache.hadoop.hbase.util.Methods.call(Methods.java:37)
      	at org.apache.hadoop.hbase.security.User.call(User.java:586)
      	at org.apache.hadoop.hbase.security.User.access$700(User.java:50)
      	at org.apache.hadoop.hbase.security.User$SecureHadoopUser.runAs(User.java:440)
      	at org.apache.hadoop.hbase.ipc.Se
      
      1. SQOOP-599.patch
        3 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

          Jarek Jarcec Cecho created issue -
          Jarek Jarcec Cecho made changes -
          Field Original Value New Value
          Remote Link This issue links to "Review board (Web Link)" [ 11122 ]
          Jarek Jarcec Cecho made changes -
          Attachment SQOOP-599.patch [ 12544613 ]
          Jarek Jarcec Cecho made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop200 #28 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/28/)
          SQOOP-599: Import to HBase is not working on secure cluster (Revision 3fee25eb8fa51362f3ec6ff220d223a4f62c69be)

          Result = SUCCESS
          blee : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=3fee25eb8fa51362f3ec6ff220d223a4f62c69be
          Files :

          • build.xml
          • src/java/org/apache/sqoop/mapreduce/HBaseImportJob.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop200 #28 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/28/ ) SQOOP-599 : Import to HBase is not working on secure cluster (Revision 3fee25eb8fa51362f3ec6ff220d223a4f62c69be) Result = SUCCESS blee : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=3fee25eb8fa51362f3ec6ff220d223a4f62c69be Files : build.xml src/java/org/apache/sqoop/mapreduce/HBaseImportJob.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop20 #39 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/39/)
          SQOOP-599: Import to HBase is not working on secure cluster (Revision 3fee25eb8fa51362f3ec6ff220d223a4f62c69be)

          Result = SUCCESS
          blee : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=3fee25eb8fa51362f3ec6ff220d223a4f62c69be
          Files :

          • build.xml
          • src/java/org/apache/sqoop/mapreduce/HBaseImportJob.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop20 #39 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/39/ ) SQOOP-599 : Import to HBase is not working on secure cluster (Revision 3fee25eb8fa51362f3ec6ff220d223a4f62c69be) Result = SUCCESS blee : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=3fee25eb8fa51362f3ec6ff220d223a4f62c69be Files : build.xml src/java/org/apache/sqoop/mapreduce/HBaseImportJob.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop23 #175 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/175/)
          SQOOP-599: Import to HBase is not working on secure cluster (Revision 3fee25eb8fa51362f3ec6ff220d223a4f62c69be)

          Result = SUCCESS
          blee : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=3fee25eb8fa51362f3ec6ff220d223a4f62c69be
          Files :

          • src/java/org/apache/sqoop/mapreduce/HBaseImportJob.java
          • build.xml
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop23 #175 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/175/ ) SQOOP-599 : Import to HBase is not working on secure cluster (Revision 3fee25eb8fa51362f3ec6ff220d223a4f62c69be) Result = SUCCESS blee : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=3fee25eb8fa51362f3ec6ff220d223a4f62c69be Files : src/java/org/apache/sqoop/mapreduce/HBaseImportJob.java build.xml
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop100 #46 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/46/)
          SQOOP-599: Import to HBase is not working on secure cluster (Revision 3fee25eb8fa51362f3ec6ff220d223a4f62c69be)

          Result = SUCCESS
          blee : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=3fee25eb8fa51362f3ec6ff220d223a4f62c69be
          Files :

          • build.xml
          • src/java/org/apache/sqoop/mapreduce/HBaseImportJob.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop100 #46 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/46/ ) SQOOP-599 : Import to HBase is not working on secure cluster (Revision 3fee25eb8fa51362f3ec6ff220d223a4f62c69be) Result = SUCCESS blee : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=3fee25eb8fa51362f3ec6ff220d223a4f62c69be Files : build.xml src/java/org/apache/sqoop/mapreduce/HBaseImportJob.java
          Jarek Jarcec Cecho made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Xiaoshuang LU added a comment -

          Does not work in non-security mode. Link to https://issues.apache.org/jira/browse/SQOOP-1246.

          Show
          Xiaoshuang LU added a comment - Does not work in non-security mode. Link to https://issues.apache.org/jira/browse/SQOOP-1246 .
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Patch Available Patch Available
          13m 46s 1 Jarek Jarcec Cecho 11/Sep/12 10:34
          Patch Available Patch Available Resolved Resolved
          2d 8h 37m 1 Jarek Jarcec Cecho 13/Sep/12 19:12

            People

            • Assignee:
              Jarek Jarcec Cecho
              Reporter:
              Jarek Jarcec Cecho
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development