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

sqoop2 1.99.7 Schema name of Job not work for MariaDB

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.99.7
    • None
    • connectors/generic
    • Mac  10.13.5

      Sqoop 1.99.7

    Description

      Hi guys,

           I find a problem when use sqoop2 1.99.7, that is:

           I want to export MariaDB(mysql) to hdfs using the connector org.apache.sqoop.connector.jdbc.GenericJdbcConnector。First, I create a Link using "dbc:mysql://server_host:server_port/db_name"。Then, I create a Job from mysql_link to hdfs_link。And The "Schema Name" is the db_name。Finally, I start the Job, but it responses that other_db_name.Table_name not exist.  The other_db_name is also in the mysql server, but not the one I set in "Schema Name". Why?  Is't that sqoop2 not support MariaDB.

          Other problem  is that  when I set "SQL statement" as "select * from table ${CONDITIONS}" and "Table name" empty. It will warns that "revise your input". Why ? Is't that it not support "SQL statement"

      Attachments

        Activity

          People

            Unassigned Unassigned
            Better Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 12h
                12h
                Remaining:
                Remaining Estimate - 12h
                12h
                Logged:
                Time Spent - Not Specified
                Not Specified