You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/05/30 03:29:17 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14565760#comment-14565760 ] 

ASF subversion and git services commented on SQOOP-2372:
--------------------------------------------------------

Commit 9147967eee4c72997fa858e2bbc8b9b7a58b994c in sqoop's branch refs/heads/trunk from [~abec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=9147967 ]

SQOOP-2372: Import all tables as parquet will throw NPE

(Qian Xu via Abraham Elmahrek)


> 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)