Sqoop
  1. Sqoop
  2. SQOOP-1043

Sqoop2: Improve error messages in Derby repository

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.99.2
    • Fix Version/s: 1.99.3
    • Component/s: None
    • Labels:
      None

      Description

      SQLException thrown by Derby repository are hard to process without having the data that were used to generate the queries. I think that it would be useful to also print out related objects when we will encounter SQLException.

      1. bugSQOOP-1043.patch
        10 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop100 #280 (See https://builds.apache.org/job/Sqoop2-hadoop100/280/)
          SQOOP-1043: Sqoop2: Improve error messages in Derby repository (Revision 344fa01636a36384980987dadfef5989edf5ea55)

          Result = FAILURE
          kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=344fa01636a36384980987dadfef5989edf5ea55
          Files :

          • repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepositoryHandler.java
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop100 #280 (See https://builds.apache.org/job/Sqoop2-hadoop100/280/ ) SQOOP-1043 : Sqoop2: Improve error messages in Derby repository (Revision 344fa01636a36384980987dadfef5989edf5ea55) Result = FAILURE kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=344fa01636a36384980987dadfef5989edf5ea55 Files : repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepositoryHandler.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop200 #280 (See https://builds.apache.org/job/Sqoop2-hadoop200/280/)
          SQOOP-1043: Sqoop2: Improve error messages in Derby repository (Revision 344fa01636a36384980987dadfef5989edf5ea55)

          Result = FAILURE
          kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=344fa01636a36384980987dadfef5989edf5ea55
          Files :

          • repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepositoryHandler.java
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop200 #280 (See https://builds.apache.org/job/Sqoop2-hadoop200/280/ ) SQOOP-1043 : Sqoop2: Improve error messages in Derby repository (Revision 344fa01636a36384980987dadfef5989edf5ea55) Result = FAILURE kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=344fa01636a36384980987dadfef5989edf5ea55 Files : repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepositoryHandler.java
          Hide
          Kathleen Ting added a comment -
          Show
          Kathleen Ting added a comment - Thanks Jarcec for your contribution. The patch is in: https://git-wip-us.apache.org/repos/asf?p=sqoop.git;a=commit;h=344fa01636a36384980987dadfef5989edf5ea55

            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