Sqoop
  1. Sqoop
  2. SQOOP-1124

Direct export to PostgreSQL with PGBulkloadManager fails without explicit port number settings

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.3
    • Fix Version/s: 1.4.4
    • Component/s: connectors/postgresql
    • Labels:
      None

      Description

      If there is no explicit port number in JDBC connect string, PGBulkloadExportMapper sets invalid port number in command line to invoke pg_bulkload.

      1. SQOOP-1124-1.patch
        6 kB
        Masatake Iwasaki

        Issue Links

          Activity

          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop100 #756 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/756/)
          SQOOP-1124: Direct export to PostgreSQL with PGBulkloadManager fails without explicit port number settings (Revision ab4bfb9a8281d714b6549ba9d394d39e5c9c4d4a)

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

          • src/java/org/apache/sqoop/mapreduce/postgresql/PGBulkloadExportJob.java
          • src/java/org/apache/sqoop/mapreduce/postgresql/PGBulkloadExportMapper.java
          • build.xml
          • src/test/com/cloudera/sqoop/manager/PGBulkloadManagerManualTest.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop100 #756 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/756/ ) SQOOP-1124 : Direct export to PostgreSQL with PGBulkloadManager fails without explicit port number settings (Revision ab4bfb9a8281d714b6549ba9d394d39e5c9c4d4a) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=ab4bfb9a8281d714b6549ba9d394d39e5c9c4d4a Files : src/java/org/apache/sqoop/mapreduce/postgresql/PGBulkloadExportJob.java src/java/org/apache/sqoop/mapreduce/postgresql/PGBulkloadExportMapper.java build.xml src/test/com/cloudera/sqoop/manager/PGBulkloadManagerManualTest.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop23 #995 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/995/)
          SQOOP-1124: Direct export to PostgreSQL with PGBulkloadManager fails without explicit port number settings (Revision ab4bfb9a8281d714b6549ba9d394d39e5c9c4d4a)

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

          • build.xml
          • src/test/com/cloudera/sqoop/manager/PGBulkloadManagerManualTest.java
          • src/java/org/apache/sqoop/mapreduce/postgresql/PGBulkloadExportMapper.java
          • src/java/org/apache/sqoop/mapreduce/postgresql/PGBulkloadExportJob.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop23 #995 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/995/ ) SQOOP-1124 : Direct export to PostgreSQL with PGBulkloadManager fails without explicit port number settings (Revision ab4bfb9a8281d714b6549ba9d394d39e5c9c4d4a) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=ab4bfb9a8281d714b6549ba9d394d39e5c9c4d4a Files : build.xml src/test/com/cloudera/sqoop/manager/PGBulkloadManagerManualTest.java src/java/org/apache/sqoop/mapreduce/postgresql/PGBulkloadExportMapper.java src/java/org/apache/sqoop/mapreduce/postgresql/PGBulkloadExportJob.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop200 #804 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/804/)
          SQOOP-1124: Direct export to PostgreSQL with PGBulkloadManager fails without explicit port number settings (Revision ab4bfb9a8281d714b6549ba9d394d39e5c9c4d4a)

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

          • src/java/org/apache/sqoop/mapreduce/postgresql/PGBulkloadExportJob.java
          • build.xml
          • src/test/com/cloudera/sqoop/manager/PGBulkloadManagerManualTest.java
          • src/java/org/apache/sqoop/mapreduce/postgresql/PGBulkloadExportMapper.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop200 #804 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/804/ ) SQOOP-1124 : Direct export to PostgreSQL with PGBulkloadManager fails without explicit port number settings (Revision ab4bfb9a8281d714b6549ba9d394d39e5c9c4d4a) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=ab4bfb9a8281d714b6549ba9d394d39e5c9c4d4a Files : src/java/org/apache/sqoop/mapreduce/postgresql/PGBulkloadExportJob.java build.xml src/test/com/cloudera/sqoop/manager/PGBulkloadManagerManualTest.java src/java/org/apache/sqoop/mapreduce/postgresql/PGBulkloadExportMapper.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop20 #795 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/795/)
          SQOOP-1124: Direct export to PostgreSQL with PGBulkloadManager fails without explicit port number settings (Revision ab4bfb9a8281d714b6549ba9d394d39e5c9c4d4a)

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

          • src/java/org/apache/sqoop/mapreduce/postgresql/PGBulkloadExportJob.java
          • src/test/com/cloudera/sqoop/manager/PGBulkloadManagerManualTest.java
          • src/java/org/apache/sqoop/mapreduce/postgresql/PGBulkloadExportMapper.java
          • build.xml
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop20 #795 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/795/ ) SQOOP-1124 : Direct export to PostgreSQL with PGBulkloadManager fails without explicit port number settings (Revision ab4bfb9a8281d714b6549ba9d394d39e5c9c4d4a) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=ab4bfb9a8281d714b6549ba9d394d39e5c9c4d4a Files : src/java/org/apache/sqoop/mapreduce/postgresql/PGBulkloadExportJob.java src/test/com/cloudera/sqoop/manager/PGBulkloadManagerManualTest.java src/java/org/apache/sqoop/mapreduce/postgresql/PGBulkloadExportMapper.java build.xml
          Hide
          Jarek Jarcec Cecho added a comment -

          Thank you for your contribution Masatake Iwasaki!

          Show
          Jarek Jarcec Cecho added a comment - Thank you for your contribution Masatake Iwasaki !
          Hide
          ASF subversion and git services added a comment -

          Commit ab4bfb9a8281d714b6549ba9d394d39e5c9c4d4a in branch refs/heads/trunk from Jarek Jarcec Cecho
          [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=ab4bfb9 ]

          SQOOP-1124: Direct export to PostgreSQL with PGBulkloadManager fails without explicit port number settings

          (Masatake Iwasaki via Jarek Jarcec Cecho)

          Show
          ASF subversion and git services added a comment - Commit ab4bfb9a8281d714b6549ba9d394d39e5c9c4d4a in branch refs/heads/trunk from Jarek Jarcec Cecho [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=ab4bfb9 ] SQOOP-1124 : Direct export to PostgreSQL with PGBulkloadManager fails without explicit port number settings (Masatake Iwasaki via Jarek Jarcec Cecho)
          Hide
          Masatake Iwasaki added a comment -

          attaching reviewed patch.

          Show
          Masatake Iwasaki added a comment - attaching reviewed patch.

            People

            • Assignee:
              Masatake Iwasaki
              Reporter:
              Masatake Iwasaki
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development