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

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Patch Available Patch Available
          2m 15s 1 Jarek Jarcec Cecho 01/Feb/13 02:31
          Patch Available Patch Available Resolved Resolved
          5d 19h 43m 1 Cheolsoo Park 06/Feb/13 22:14
          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
          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-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-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
          Cheolsoo Park made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Cheolsoo Park added a comment -

          Committed to trunk. Thanks Jarcec!

          Show
          Cheolsoo Park added a comment - Committed to trunk. Thanks Jarcec!
          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.
          Jarek Jarcec Cecho made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Fix Version/s 1.4.3 [ 12322644 ]
          Jarek Jarcec Cecho made changes -
          Attachment bugSQOOP-860.patch [ 12567497 ]
          Jarek Jarcec Cecho made changes -
          Field Original Value New Value
          Remote Link This issue links to "Review board (Web Link)" [ 11995 ]
          Jarek Jarcec Cecho created issue -

            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