[
https://issues.apache.org/jira/browse/SQOOP-2372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14565792#comment-14565792
]
Hudson commented on SQOOP-2372:
-------------------------------
FAILURE: Integrated in Sqoop-ant-jdk-1.6-hadoop200 #1007 (See
[https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/1007/])
SQOOP-2372: Import all tables as parquet will throw NPE (abe:
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=9147967eee4c72997fa858e2bbc8b9b7a58b994c)
* src/java/org/apache/sqoop/tool/CodeGenTool.java
* src/test/com/cloudera/sqoop/TestAllTables.java
> 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.2.patch, SQOOP-2372.3.patch, 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)