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

Hudson commented on SQOOP-2372:
-------------------------------

SUCCESS: Integrated in Sqoop-ant-jdk-1.6-hadoop100 #967 (See 
[https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/967/])
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)

Reply via email to