Sqoop
  1. Sqoop
  2. SQOOP-1128

Sqoop2: SqoopException being nested into another SqoopException in Repository

    Details

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

      Description

      In the upgradeConnector() and upgradeFramework() methods in Repository.java, the JDBCREPO_0027 SqoopException will be caught and wrapped into another SqoopException.

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Patch Available Patch Available
          18m 20s 1 Mengwei Ding 09/Jul/13 00:53
          Patch Available Patch Available Resolved Resolved
          3h 23m 1 Venkat Ranganathan 09/Jul/13 04:16
          Hide
          Jarek Jarcec Cecho added a comment -

          Thank you for pointing out the missing pre-commit build Venkat Ranganathan! It was kicked off in build #45 but failed as it wasn't able to derive whether this patch is for branch trunk (Sqoop1) or for sqoop2. The reason for that is that field affectedVersion was empty. The Pre-Commit build is currently a bit conservative and it's dying silently rather than spamming the JIRA. Maybe we can tweak it a bit if this will become an issue.

          Show
          Jarek Jarcec Cecho added a comment - Thank you for pointing out the missing pre-commit build Venkat Ranganathan ! It was kicked off in build #45 but failed as it wasn't able to derive whether this patch is for branch trunk (Sqoop1) or for sqoop2. The reason for that is that field affectedVersion was empty. The Pre-Commit build is currently a bit conservative and it's dying silently rather than spamming the JIRA. Maybe we can tweak it a bit if this will become an issue.
          Jarek Jarcec Cecho made changes -
          Fix Version/s 1.99.3 [ 12324298 ]
          Affects Version/s 1.99.2 [ 12323640 ]
          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop100 #478 (See https://builds.apache.org/job/Sqoop2-hadoop100/478/)
          SQOOP-1128: Sqoop2: SqoopException being nested into another SqoopException in Repository (Revision 251c8334fa16470a124b133dd95cec6ccdf242fa)

          Result = SUCCESS
          venkat : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=251c8334fa16470a124b133dd95cec6ccdf242fa
          Files :

          • core/src/main/java/org/apache/sqoop/repository/Repository.java
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop100 #478 (See https://builds.apache.org/job/Sqoop2-hadoop100/478/ ) SQOOP-1128 : Sqoop2: SqoopException being nested into another SqoopException in Repository (Revision 251c8334fa16470a124b133dd95cec6ccdf242fa) Result = SUCCESS venkat : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=251c8334fa16470a124b133dd95cec6ccdf242fa Files : core/src/main/java/org/apache/sqoop/repository/Repository.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop200 #456 (See https://builds.apache.org/job/Sqoop2-hadoop200/456/)
          SQOOP-1128: Sqoop2: SqoopException being nested into another SqoopException in Repository (Revision 251c8334fa16470a124b133dd95cec6ccdf242fa)

          Result = SUCCESS
          venkat : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=251c8334fa16470a124b133dd95cec6ccdf242fa
          Files :

          • core/src/main/java/org/apache/sqoop/repository/Repository.java
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop200 #456 (See https://builds.apache.org/job/Sqoop2-hadoop200/456/ ) SQOOP-1128 : Sqoop2: SqoopException being nested into another SqoopException in Repository (Revision 251c8334fa16470a124b133dd95cec6ccdf242fa) Result = SUCCESS venkat : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=251c8334fa16470a124b133dd95cec6ccdf242fa Files : core/src/main/java/org/apache/sqoop/repository/Repository.java
          Hide
          Venkat Ranganathan added a comment -

          Jarek Jarcec Cecho Not sure why the pre-commit build did not get triggered for this though - may be the multiple extensions were the issue

          Show
          Venkat Ranganathan added a comment - Jarek Jarcec Cecho Not sure why the pre-commit build did not get triggered for this though - may be the multiple extensions were the issue
          Venkat Ranganathan made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Venkat Ranganathan added a comment -

          Thanks for the contribution Mengwei Ding. My initial attempt to validate failed in some of the tests because of a transient Tomcat issue and hence I had to cleanup before applying the change.

          Show
          Venkat Ranganathan added a comment - Thanks for the contribution Mengwei Ding. My initial attempt to validate failed in some of the tests because of a transient Tomcat issue and hence I had to cleanup before applying the change.
          Hide
          ASF subversion and git services added a comment -

          Commit 251c8334fa16470a124b133dd95cec6ccdf242fa in branch refs/heads/sqoop2 from [~nrv]
          [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=251c833 ]

          SQOOP-1128: Sqoop2: SqoopException being nested into another SqoopException in Repository

          (Mengwei Ding via Venkat Ranganathan)

          Show
          ASF subversion and git services added a comment - Commit 251c8334fa16470a124b133dd95cec6ccdf242fa in branch refs/heads/sqoop2 from [~nrv] [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=251c833 ] SQOOP-1128 : Sqoop2: SqoopException being nested into another SqoopException in Repository (Mengwei Ding via Venkat Ranganathan)
          Mengwei Ding made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Hide
          Mengwei Ding added a comment -

          Submit patch for review.

          Show
          Mengwei Ding added a comment - Submit patch for review.
          Mengwei Ding made changes -
          Attachment SQOOP-1128.1.patch [ 12591320 ]
          Mengwei Ding made changes -
          Field Original Value New Value
          Remote Link This issue links to "ReviewBoard (Web Link)" [ 12401 ]
          Mengwei Ding created issue -

            People

            • Assignee:
              Mengwei Ding
              Reporter:
              Mengwei Ding
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development