sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Mackrory (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SQOOP-2260) Kite dataset URI is unknown
Date Tue, 24 Mar 2015 17:17:52 GMT
Sean Mackrory created SQOOP-2260:
------------------------------------

             Summary: Kite dataset URI is unknown
                 Key: SQOOP-2260
                 URL: https://issues.apache.org/jira/browse/SQOOP-2260
             Project: Sqoop
          Issue Type: Bug
    Affects Versions: 1.4.5
            Reporter: Sean Mackrory


Upon doing the following import:
{code}
sqoop import-all-tables -m 12 --connect jdbc:mysql://`hostname`:3306/retail_db --username=...
--password=... --compression-codec=snappy --as-parquetfile --warehouse-dir=/user/hive/warehouse
--hive-import
{code}
I get the following error:
ERROR sqoop.Sqoop: Got exception running Sqoop: org.kitesdk.data.DatasetNotFoundException:
Unknown dataset URI: hive?dataset=null
org.kitesdk.data.DatasetNotFoundException: Unknown dataset URI: hive?dataset=null
        at org.kitesdk.data.spi.Registration.lookupDatasetUri(Registration.java:109)
        at org.kitesdk.data.Datasets.create(Datasets.java:189)
        at org.kitesdk.data.Datasets.create(Datasets.java:240)
        at org.apache.sqoop.mapreduce.ParquetJob.createDataset(ParquetJob.java:81)
        at org.apache.sqoop.mapreduce.ParquetJob.configureImportJob(ParquetJob.java:70)
        at org.apache.sqoop.mapreduce.DataDrivenImportJob.configureMapper(DataDrivenImportJob.java:112)
        at org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:262)
        at org.apache.sqoop.manager.SqlManager.importTable(SqlManager.java:665)
        at org.apache.sqoop.manager.MySQLManager.importTable(MySQLManager.java:102)
        at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:497)
        at org.apache.sqoop.tool.ImportAllTablesTool.run(ImportAllTablesTool.java:105)
        at org.apache.sqoop.Sqoop.run(Sqoop.java:143)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
        at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:179)
        at org.apache.sqoop.Sqoop.runTool(Sqoop.java:218)
        at org.apache.sqoop.Sqoop.runTool(Sqoop.java:227)
        at org.apache.sqoop.Sqoop.main(Sqoop.java:236)
{code}

This only occurs when attempting hive-import. I can import parquet files and avro files just
fine - but when I try a hive-import with either it fails.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message