Sqoop
  1. Sqoop
  2. SQOOP-607

In-process Hive CLI driver does not work

    Details

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

      Description

      Since the namespace migration, this does not work as org.apache.sqoop.util.ExitSecurityException is thrown, but then com.cloudera.sqoop.util.ExitSecurityException is checked.
      HiveImport should be updated to check for the new namespace - and possibly for backward compatibility the old namespace should be thrown.

      1. SQOOP-607.patch
        1 kB
        David Robson
      2. SQOOP-607.patch
        0.6 kB
        David Robson

        Issue Links

          Activity

          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop100 #73 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/73/)
          SQOOP-607: In-process Hive CLI driver does not work (Revision 75f2b707b60a3540a19e675e8a583c16d3f2db75)

          Result = SUCCESS
          jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=75f2b707b60a3540a19e675e8a583c16d3f2db75
          Files :

          • src/java/org/apache/sqoop/util/SubprocessSecurityManager.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop100 #73 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/73/ ) SQOOP-607 : In-process Hive CLI driver does not work (Revision 75f2b707b60a3540a19e675e8a583c16d3f2db75) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=75f2b707b60a3540a19e675e8a583c16d3f2db75 Files : src/java/org/apache/sqoop/util/SubprocessSecurityManager.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop20 #66 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/66/)
          SQOOP-607: In-process Hive CLI driver does not work (Revision 75f2b707b60a3540a19e675e8a583c16d3f2db75)

          Result = SUCCESS
          jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=75f2b707b60a3540a19e675e8a583c16d3f2db75
          Files :

          • src/java/org/apache/sqoop/util/SubprocessSecurityManager.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop20 #66 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/66/ ) SQOOP-607 : In-process Hive CLI driver does not work (Revision 75f2b707b60a3540a19e675e8a583c16d3f2db75) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=75f2b707b60a3540a19e675e8a583c16d3f2db75 Files : src/java/org/apache/sqoop/util/SubprocessSecurityManager.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop23 #199 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/199/)
          SQOOP-607: In-process Hive CLI driver does not work (Revision 75f2b707b60a3540a19e675e8a583c16d3f2db75)

          Result = SUCCESS
          jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=75f2b707b60a3540a19e675e8a583c16d3f2db75
          Files :

          • src/java/org/apache/sqoop/util/SubprocessSecurityManager.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop23 #199 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/199/ ) SQOOP-607 : In-process Hive CLI driver does not work (Revision 75f2b707b60a3540a19e675e8a583c16d3f2db75) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=75f2b707b60a3540a19e675e8a583c16d3f2db75 Files : src/java/org/apache/sqoop/util/SubprocessSecurityManager.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop200 #51 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/51/)
          SQOOP-607: In-process Hive CLI driver does not work (Revision 75f2b707b60a3540a19e675e8a583c16d3f2db75)

          Result = SUCCESS
          jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=75f2b707b60a3540a19e675e8a583c16d3f2db75
          Files :

          • src/java/org/apache/sqoop/util/SubprocessSecurityManager.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop200 #51 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/51/ ) SQOOP-607 : In-process Hive CLI driver does not work (Revision 75f2b707b60a3540a19e675e8a583c16d3f2db75) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=75f2b707b60a3540a19e675e8a583c16d3f2db75 Files : src/java/org/apache/sqoop/util/SubprocessSecurityManager.java
          Hide
          Jarek Jarcec Cecho added a comment -

          Patch committed.

          Thank you for your contribution David!

          Jarcec

          Show
          Jarek Jarcec Cecho added a comment - Patch committed. Thank you for your contribution David! Jarcec
          Hide
          David Robson added a comment -

          Updated based on code review.

          Show
          David Robson added a comment - Updated based on code review.
          Hide
          Jarek Jarcec Cecho added a comment -

          Hi David,
          thank you very much for your patch. Would you mind putting this patch on our review board (https://reviews.apache.org) for additional review?

          Jarcec

          Show
          Jarek Jarcec Cecho added a comment - Hi David, thank you very much for your patch. Would you mind putting this patch on our review board ( https://reviews.apache.org ) for additional review? Jarcec
          Hide
          David Robson added a comment -

          Throw the exception from the old namespace to support anyone checking the old exception. Also update HiveImport to check the new namespace.

          Show
          David Robson added a comment - Throw the exception from the old namespace to support anyone checking the old exception. Also update HiveImport to check the new namespace.

            People

            • Assignee:
              David Robson
              Reporter:
              David Robson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development