Sqoop
  1. Sqoop
  2. SQOOP-860

NullPointerException when running procedure export against old database

    Details

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

      Description

      I've noticed that running export using stored procedures against old and possibly unsupported database might throw NullPointerException. I believe that we should raise more adequate exception instead.

      1. bugSQOOP-860.patch
        0.8 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

          Hide
          Cheolsoo Park added a comment -

          +1. I will commit it after running tests.

          Show
          Cheolsoo Park added a comment - +1. I will commit it after running tests.
          Hide
          Cheolsoo Park added a comment -

          Committed to trunk. Thanks Jarcec!

          Show
          Cheolsoo Park added a comment - Committed to trunk. Thanks Jarcec!
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop20 #552 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/552/)
          SQOOP-860: NullPointerException when running procedure export against old database (Revision 666d5499a2343c3489590deed3ef839e5532281d)

          Result = SUCCESS
          cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=666d5499a2343c3489590deed3ef839e5532281d
          Files :

          • src/java/org/apache/sqoop/manager/SqlManager.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop20 #552 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/552/ ) SQOOP-860 : NullPointerException when running procedure export against old database (Revision 666d5499a2343c3489590deed3ef839e5532281d) Result = SUCCESS cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=666d5499a2343c3489590deed3ef839e5532281d Files : src/java/org/apache/sqoop/manager/SqlManager.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop23 #746 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/746/)
          SQOOP-860: NullPointerException when running procedure export against old database (Revision 666d5499a2343c3489590deed3ef839e5532281d)

          Result = SUCCESS
          cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=666d5499a2343c3489590deed3ef839e5532281d
          Files :

          • src/java/org/apache/sqoop/manager/SqlManager.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop23 #746 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/746/ ) SQOOP-860 : NullPointerException when running procedure export against old database (Revision 666d5499a2343c3489590deed3ef839e5532281d) Result = SUCCESS cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=666d5499a2343c3489590deed3ef839e5532281d Files : src/java/org/apache/sqoop/manager/SqlManager.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop200 #550 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/550/)
          SQOOP-860: NullPointerException when running procedure export against old database (Revision 666d5499a2343c3489590deed3ef839e5532281d)

          Result = SUCCESS
          cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=666d5499a2343c3489590deed3ef839e5532281d
          Files :

          • src/java/org/apache/sqoop/manager/SqlManager.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop200 #550 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/550/ ) SQOOP-860 : NullPointerException when running procedure export against old database (Revision 666d5499a2343c3489590deed3ef839e5532281d) Result = SUCCESS cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=666d5499a2343c3489590deed3ef839e5532281d Files : src/java/org/apache/sqoop/manager/SqlManager.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop100 #547 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/547/)
          SQOOP-860: NullPointerException when running procedure export against old database (Revision 666d5499a2343c3489590deed3ef839e5532281d)

          Result = SUCCESS
          cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=666d5499a2343c3489590deed3ef839e5532281d
          Files :

          • src/java/org/apache/sqoop/manager/SqlManager.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop100 #547 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/547/ ) SQOOP-860 : NullPointerException when running procedure export against old database (Revision 666d5499a2343c3489590deed3ef839e5532281d) Result = SUCCESS cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=666d5499a2343c3489590deed3ef839e5532281d Files : src/java/org/apache/sqoop/manager/SqlManager.java

            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