[
https://issues.apache.org/jira/browse/SQOOP-2372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Qian Xu updated SQOOP-2372:
---------------------------
Attachment: SQOOP-2372.patch
> Imports all tables as parquet will meet a NPE
> ---------------------------------------------
>
> Key: SQOOP-2372
> URL: https://issues.apache.org/jira/browse/SQOOP-2372
> Project: Sqoop
> Issue Type: Bug
> Affects Versions: 1.4.6
> Reporter: Qian Xu
> Assignee: Qian Xu
> Fix For: 1.4.7
>
> Attachments: SQOOP-2372.patch
>
>
> When importing all tables, the {{options.getTableName()}} is not set.
> CodeGenTool should use {{tableName}} instead of {{options.getTableName()}}.
> Test command:
> {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}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)