Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-455

OracleManager not properly initialized when specifying --driver "oracle.jdbc.OracleDriver" in the command line

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • 1.4.1-incubating
    • None
    • connectors/oracle
    • None

    Description

      When specifying --driver "oracle.jdbc.OracleDriver" in cli,a GenericJdbcManager instead of OracleManager is initialized even when -connect-manager is specified due to the following code in org.apache.sqoop.manager.DefaultManagerFactory. Should have been put after the connection scheme is judged.

      String manualDriver = options.getDriverClassName();
      if (manualDriver != null)

      { // User has manually specified JDBC implementation with --driver. // Just use GenericJdbcManager. return new GenericJdbcManager(manualDriver, options); }

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              weidong.bian Weidong Bian
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: