Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-932

Netezza direct manager is ignoring --null-*-string arguments

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.4
    • Fix Version/s: 1.4.4
    • Component/s: connectors
    • Labels:
      None
    • Environment:

      netezza

      Description

      Netezza connector is not honoring null string values in the direct mode.

      1. SQOOP-932.patch.3
        19 kB
        Venkat Ranganathan

        Issue Links

          Activity

          Hide
          venkatnrangan Venkat Ranganathan added a comment -

          SQOOP-929 adds some foundation on which the tests for 932 are based on

          Show
          venkatnrangan Venkat Ranganathan added a comment - SQOOP-929 adds some foundation on which the tests for 932 are based on
          Hide
          venkatnrangan Venkat Ranganathan added a comment -

          Added review board link for this with a patch fixing this issue

          Show
          venkatnrangan Venkat Ranganathan added a comment - Added review board link for this with a patch fixing this issue
          Hide
          venkatnrangan Venkat Ranganathan added a comment -

          Attached latest patch. Thanks Jarcec for reviewing and also the additional tests that uncovered more interesting scenarios. That will help us avoid surprises when people use this feature.

          Very much appreciated

          Venkat

          Show
          venkatnrangan Venkat Ranganathan added a comment - Attached latest patch. Thanks Jarcec for reviewing and also the additional tests that uncovered more interesting scenarios. That will help us avoid surprises when people use this feature. Very much appreciated Venkat
          Hide
          jarcec Jarek Jarcec Cecho added a comment -

          The patch is in: https://git-wip-us.apache.org/repos/asf?p=sqoop.git;a=commit;h=a0a03d7f313c11472ebc6c6acd2d97cde36f8417

          Thank you for your contribution Venkat, greatly appreciated!

          Jarcec

          Show
          jarcec Jarek Jarcec Cecho added a comment - The patch is in: https://git-wip-us.apache.org/repos/asf?p=sqoop.git;a=commit;h=a0a03d7f313c11472ebc6c6acd2d97cde36f8417 Thank you for your contribution Venkat, greatly appreciated! Jarcec
          Hide
          hudson Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop200 #594 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/594/)
          SQOOP-932: Netezza direct manager is ignoring -null*-string arguments (Revision a0a03d7f313c11472ebc6c6acd2d97cde36f8417)

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

          • src/java/org/apache/sqoop/manager/DirectNetezzaManager.java
          • src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableImportJob.java
          • src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableExportMapper.java
          • src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableImportMapper.java
          • src/java/org/apache/sqoop/lib/DelimiterSet.java
          • src/test/com/cloudera/sqoop/manager/NetezzaImportManualTest.java
          • src/test/com/cloudera/sqoop/manager/DirectNetezzaExportManualTest.java
          • src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableExportJob.java
          • src/test/com/cloudera/sqoop/manager/NetezzaExportManualTest.java
          Show
          hudson Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop200 #594 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/594/ ) SQOOP-932 : Netezza direct manager is ignoring - null *-string arguments (Revision a0a03d7f313c11472ebc6c6acd2d97cde36f8417) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=a0a03d7f313c11472ebc6c6acd2d97cde36f8417 Files : src/java/org/apache/sqoop/manager/DirectNetezzaManager.java src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableImportJob.java src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableExportMapper.java src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableImportMapper.java src/java/org/apache/sqoop/lib/DelimiterSet.java src/test/com/cloudera/sqoop/manager/NetezzaImportManualTest.java src/test/com/cloudera/sqoop/manager/DirectNetezzaExportManualTest.java src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableExportJob.java src/test/com/cloudera/sqoop/manager/NetezzaExportManualTest.java
          Hide
          hudson Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop20 #598 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/598/)
          SQOOP-932: Netezza direct manager is ignoring -null*-string arguments (Revision a0a03d7f313c11472ebc6c6acd2d97cde36f8417)

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

          • src/java/org/apache/sqoop/lib/DelimiterSet.java
          • src/test/com/cloudera/sqoop/manager/NetezzaImportManualTest.java
          • src/test/com/cloudera/sqoop/manager/NetezzaExportManualTest.java
          • src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableImportJob.java
          • src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableImportMapper.java
          • src/java/org/apache/sqoop/manager/DirectNetezzaManager.java
          • src/test/com/cloudera/sqoop/manager/DirectNetezzaExportManualTest.java
          • src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableExportJob.java
          • src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableExportMapper.java
          Show
          hudson Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop20 #598 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/598/ ) SQOOP-932 : Netezza direct manager is ignoring - null *-string arguments (Revision a0a03d7f313c11472ebc6c6acd2d97cde36f8417) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=a0a03d7f313c11472ebc6c6acd2d97cde36f8417 Files : src/java/org/apache/sqoop/lib/DelimiterSet.java src/test/com/cloudera/sqoop/manager/NetezzaImportManualTest.java src/test/com/cloudera/sqoop/manager/NetezzaExportManualTest.java src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableImportJob.java src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableImportMapper.java src/java/org/apache/sqoop/manager/DirectNetezzaManager.java src/test/com/cloudera/sqoop/manager/DirectNetezzaExportManualTest.java src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableExportJob.java src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableExportMapper.java
          Hide
          hudson Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop23 #807 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/807/)
          SQOOP-932: Netezza direct manager is ignoring -null*-string arguments (Revision a0a03d7f313c11472ebc6c6acd2d97cde36f8417)

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

          • src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableExportMapper.java
          • src/test/com/cloudera/sqoop/manager/NetezzaExportManualTest.java
          • src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableExportJob.java
          • src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableImportJob.java
          • src/test/com/cloudera/sqoop/manager/NetezzaImportManualTest.java
          • src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableImportMapper.java
          • src/java/org/apache/sqoop/lib/DelimiterSet.java
          • src/java/org/apache/sqoop/manager/DirectNetezzaManager.java
          • src/test/com/cloudera/sqoop/manager/DirectNetezzaExportManualTest.java
          Show
          hudson Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop23 #807 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/807/ ) SQOOP-932 : Netezza direct manager is ignoring - null *-string arguments (Revision a0a03d7f313c11472ebc6c6acd2d97cde36f8417) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=a0a03d7f313c11472ebc6c6acd2d97cde36f8417 Files : src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableExportMapper.java src/test/com/cloudera/sqoop/manager/NetezzaExportManualTest.java src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableExportJob.java src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableImportJob.java src/test/com/cloudera/sqoop/manager/NetezzaImportManualTest.java src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableImportMapper.java src/java/org/apache/sqoop/lib/DelimiterSet.java src/java/org/apache/sqoop/manager/DirectNetezzaManager.java src/test/com/cloudera/sqoop/manager/DirectNetezzaExportManualTest.java
          Hide
          hudson Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop100 #608 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/608/)
          SQOOP-932: Netezza direct manager is ignoring -null*-string arguments (Revision a0a03d7f313c11472ebc6c6acd2d97cde36f8417)

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

          • src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableExportMapper.java
          • src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableExportJob.java
          • src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableImportJob.java
          • src/test/com/cloudera/sqoop/manager/NetezzaExportManualTest.java
          • src/java/org/apache/sqoop/lib/DelimiterSet.java
          • src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableImportMapper.java
          • src/java/org/apache/sqoop/manager/DirectNetezzaManager.java
          • src/test/com/cloudera/sqoop/manager/NetezzaImportManualTest.java
          • src/test/com/cloudera/sqoop/manager/DirectNetezzaExportManualTest.java
          Show
          hudson Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop100 #608 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/608/ ) SQOOP-932 : Netezza direct manager is ignoring - null *-string arguments (Revision a0a03d7f313c11472ebc6c6acd2d97cde36f8417) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=a0a03d7f313c11472ebc6c6acd2d97cde36f8417 Files : src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableExportMapper.java src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableExportJob.java src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableImportJob.java src/test/com/cloudera/sqoop/manager/NetezzaExportManualTest.java src/java/org/apache/sqoop/lib/DelimiterSet.java src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableImportMapper.java src/java/org/apache/sqoop/manager/DirectNetezzaManager.java src/test/com/cloudera/sqoop/manager/NetezzaImportManualTest.java src/test/com/cloudera/sqoop/manager/DirectNetezzaExportManualTest.java

            People

            • Assignee:
              venkatnrangan Venkat Ranganathan
              Reporter:
              venkatnrangan Venkat Ranganathan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development