Sqoop
  1. Sqoop
  2. SQOOP-1180

Sqoop2: Metadata upgrade is calling validators with Model classes instead of configuration objects

    Details

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

      Description

      Current metadata upgrade code is calling validators with model classes instead of the configuration objects resulting in class cast exceptions.

      1. bugSQOOP-1180.patch
        11 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
          11m 20s 1 Jarek Jarcec Cecho 22/Aug/13 03:49
          Patch Available Patch Available Resolved Resolved
          1h 24m 1 Hari Shreedharan 22/Aug/13 05:13
          Hide
          Hudson added a comment -

          SUCCESS: Integrated in Sqoop2-hadoop100 #559 (See https://builds.apache.org/job/Sqoop2-hadoop100/559/)
          SQOOP-1180. Sqoop2: Metadata upgrade is calling validators with Model classes instead of configuration objects (hshreedharan: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=da06408f2320ad09a7cbf0cfaa1fa9097c31c00d)

          • core/src/test/java/org/apache/sqoop/repository/TestJdbcRepository.java
          • core/src/main/java/org/apache/sqoop/repository/Repository.java
          Show
          Hudson added a comment - SUCCESS: Integrated in Sqoop2-hadoop100 #559 (See https://builds.apache.org/job/Sqoop2-hadoop100/559/ ) SQOOP-1180 . Sqoop2: Metadata upgrade is calling validators with Model classes instead of configuration objects (hshreedharan: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=da06408f2320ad09a7cbf0cfaa1fa9097c31c00d ) core/src/test/java/org/apache/sqoop/repository/TestJdbcRepository.java core/src/main/java/org/apache/sqoop/repository/Repository.java
          Hide
          Hudson added a comment -

          SUCCESS: Integrated in Sqoop2-hadoop200 #498 (See https://builds.apache.org/job/Sqoop2-hadoop200/498/)
          SQOOP-1180. Sqoop2: Metadata upgrade is calling validators with Model classes instead of configuration objects (hshreedharan: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=da06408f2320ad09a7cbf0cfaa1fa9097c31c00d)

          • core/src/test/java/org/apache/sqoop/repository/TestJdbcRepository.java
          • core/src/main/java/org/apache/sqoop/repository/Repository.java
          Show
          Hudson added a comment - SUCCESS: Integrated in Sqoop2-hadoop200 #498 (See https://builds.apache.org/job/Sqoop2-hadoop200/498/ ) SQOOP-1180 . Sqoop2: Metadata upgrade is calling validators with Model classes instead of configuration objects (hshreedharan: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=da06408f2320ad09a7cbf0cfaa1fa9097c31c00d ) core/src/test/java/org/apache/sqoop/repository/TestJdbcRepository.java core/src/main/java/org/apache/sqoop/repository/Repository.java
          Hari Shreedharan made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Hari Shreedharan added a comment -

          Committed, thanks Jarcec!

          Show
          Hari Shreedharan added a comment - Committed, thanks Jarcec!
          Hide
          ASF subversion and git services added a comment -

          Commit da06408f2320ad09a7cbf0cfaa1fa9097c31c00d in branch refs/heads/sqoop2 from Hari Shreedharan
          [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=da06408 ]

          SQOOP-1180. Sqoop2: Metadata upgrade is calling validators with Model classes instead of configuration objects

          (Jarek Jarcec Cecho via Hari Shreedharan)

          Show
          ASF subversion and git services added a comment - Commit da06408f2320ad09a7cbf0cfaa1fa9097c31c00d in branch refs/heads/sqoop2 from Hari Shreedharan [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=da06408 ] SQOOP-1180 . Sqoop2: Metadata upgrade is calling validators with Model classes instead of configuration objects (Jarek Jarcec Cecho via Hari Shreedharan)
          Hide
          Hari Shreedharan added a comment -

          Looks good, running tests now.

          Show
          Hari Shreedharan added a comment - Looks good, running tests now.
          Jarek Jarcec Cecho made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Fix Version/s 1.99.3 [ 12324298 ]
          Jarek Jarcec Cecho made changes -
          Attachment bugSQOOP-1180.patch [ 12599344 ]
          Jarek Jarcec Cecho made changes -
          Field Original Value New Value
          Remote Link This issue links to "Review board (Web Link)" [ 12603 ]
          Jarek Jarcec Cecho created issue -

            People

            • Assignee:
              Jarek Jarcec Cecho
              Reporter:
              Jarek Jarcec Cecho
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development