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

          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.
          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
          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)
          Hide
          Mengwei Ding added a comment -

          Submit patch for review.

          Show
          Mengwei Ding added a comment - Submit patch for review.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development