You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Qian Xu (JIRA)" <ji...@apache.org> on 2015/05/27 07:14:17 UTC
[jira] [Updated] (SQOOP-2372) Imports all tables as parquet will
meet a NPE
[ https://issues.apache.org/jira/browse/SQOOP-2372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Qian Xu updated SQOOP-2372:
---------------------------
Description:
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}
was:When importing all tables, the {{options.getTableName()}} is not set. CodeGenTool should use `tableName` instead of `options.getTableName()`.
> 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
>
>
> 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)