Sqoop
  1. Sqoop
  2. SQOOP-979

MySQL direct connector is not working correct after moving password to credential cache

    Details

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

      Description

      I've noticed that MySQL direct connector do not works after committing SQOOP-914. I've investigated the issue and I believe that it's bug in the direct connector itself. It uses DBConfiguration to store credentials, but it's using it's own way how to retrieve the password.

      1. bugSQOOP-979.patch
        5 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

          Jarek Jarcec Cecho created issue -
          Jarek Jarcec Cecho made changes -
          Field Original Value New Value
          Remote Link This issue links to "Review board (Web Link)" [ 12132 ]
          Jarek Jarcec Cecho made changes -
          Attachment bugSQOOP-979.patch [ 12577327 ]
          Jarek Jarcec Cecho made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Jarek Jarcec Cecho made changes -
          Status In Progress [ 3 ] Patch Available [ 10002 ]
          Hide
          Kathleen Ting added a comment -
          Show
          Kathleen Ting added a comment - Thanks Jarcec for your contribution. The patch is in: https://git-wip-us.apache.org/repos/asf?p=sqoop.git;a=commit;h=00d09b7b252ff889069883960e007513422c24d4
          Kathleen Ting made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop100 #619 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/619/)
          SQOOP-979: MySQL direct connector is not working correct after moving password to credential cache (Revision 00d09b7b252ff889069883960e007513422c24d4)

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

          • src/java/org/apache/sqoop/manager/MySQLUtils.java
          • src/java/org/apache/sqoop/mapreduce/MySQLExportMapper.java
          • src/java/org/apache/sqoop/mapreduce/db/DBConfiguration.java
          • src/java/org/apache/sqoop/mapreduce/MySQLDumpMapper.java
          • src/java/com/cloudera/sqoop/manager/MySQLUtils.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop100 #619 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/619/ ) SQOOP-979 : MySQL direct connector is not working correct after moving password to credential cache (Revision 00d09b7b252ff889069883960e007513422c24d4) Result = SUCCESS kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=00d09b7b252ff889069883960e007513422c24d4 Files : src/java/org/apache/sqoop/manager/MySQLUtils.java src/java/org/apache/sqoop/mapreduce/MySQLExportMapper.java src/java/org/apache/sqoop/mapreduce/db/DBConfiguration.java src/java/org/apache/sqoop/mapreduce/MySQLDumpMapper.java src/java/com/cloudera/sqoop/manager/MySQLUtils.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop20 #612 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/612/)
          SQOOP-979: MySQL direct connector is not working correct after moving password to credential cache (Revision 00d09b7b252ff889069883960e007513422c24d4)

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

          • src/java/org/apache/sqoop/manager/MySQLUtils.java
          • src/java/org/apache/sqoop/mapreduce/MySQLDumpMapper.java
          • src/java/org/apache/sqoop/mapreduce/db/DBConfiguration.java
          • src/java/com/cloudera/sqoop/manager/MySQLUtils.java
          • src/java/org/apache/sqoop/mapreduce/MySQLExportMapper.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop20 #612 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/612/ ) SQOOP-979 : MySQL direct connector is not working correct after moving password to credential cache (Revision 00d09b7b252ff889069883960e007513422c24d4) Result = SUCCESS kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=00d09b7b252ff889069883960e007513422c24d4 Files : src/java/org/apache/sqoop/manager/MySQLUtils.java src/java/org/apache/sqoop/mapreduce/MySQLDumpMapper.java src/java/org/apache/sqoop/mapreduce/db/DBConfiguration.java src/java/com/cloudera/sqoop/manager/MySQLUtils.java src/java/org/apache/sqoop/mapreduce/MySQLExportMapper.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop200 #609 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/609/)
          SQOOP-979: MySQL direct connector is not working correct after moving password to credential cache (Revision 00d09b7b252ff889069883960e007513422c24d4)

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

          • src/java/com/cloudera/sqoop/manager/MySQLUtils.java
          • src/java/org/apache/sqoop/mapreduce/MySQLExportMapper.java
          • src/java/org/apache/sqoop/mapreduce/db/DBConfiguration.java
          • src/java/org/apache/sqoop/manager/MySQLUtils.java
          • src/java/org/apache/sqoop/mapreduce/MySQLDumpMapper.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop200 #609 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/609/ ) SQOOP-979 : MySQL direct connector is not working correct after moving password to credential cache (Revision 00d09b7b252ff889069883960e007513422c24d4) Result = SUCCESS kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=00d09b7b252ff889069883960e007513422c24d4 Files : src/java/com/cloudera/sqoop/manager/MySQLUtils.java src/java/org/apache/sqoop/mapreduce/MySQLExportMapper.java src/java/org/apache/sqoop/mapreduce/db/DBConfiguration.java src/java/org/apache/sqoop/manager/MySQLUtils.java src/java/org/apache/sqoop/mapreduce/MySQLDumpMapper.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop23 #821 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/821/)
          SQOOP-979: MySQL direct connector is not working correct after moving password to credential cache (Revision 00d09b7b252ff889069883960e007513422c24d4)

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

          • src/java/org/apache/sqoop/mapreduce/MySQLDumpMapper.java
          • src/java/com/cloudera/sqoop/manager/MySQLUtils.java
          • src/java/org/apache/sqoop/manager/MySQLUtils.java
          • src/java/org/apache/sqoop/mapreduce/MySQLExportMapper.java
          • src/java/org/apache/sqoop/mapreduce/db/DBConfiguration.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop23 #821 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/821/ ) SQOOP-979 : MySQL direct connector is not working correct after moving password to credential cache (Revision 00d09b7b252ff889069883960e007513422c24d4) Result = SUCCESS kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=00d09b7b252ff889069883960e007513422c24d4 Files : src/java/org/apache/sqoop/mapreduce/MySQLDumpMapper.java src/java/com/cloudera/sqoop/manager/MySQLUtils.java src/java/org/apache/sqoop/manager/MySQLUtils.java src/java/org/apache/sqoop/mapreduce/MySQLExportMapper.java src/java/org/apache/sqoop/mapreduce/db/DBConfiguration.java

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development