sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qian Xu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-2260) Kite dataset URI is unknown
Date Mon, 18 May 2015 02:11:01 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-2260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14547454#comment-14547454
] 

Qian Xu commented on SQOOP-2260:
--------------------------------

Hi [~mackrorysd], could you verify this issue with newly released Sqoop 1.4.6?

> 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
>            Assignee: Qian Xu
>
> 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:
> {code}
> 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