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

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

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

SQOOP-2582. Query import won't work for parquet

(Jarcec via Hari)


> Query import won't work for parquet
> -----------------------------------
>
>                 Key: SQOOP-2582
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2582
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.4.6
>            Reporter: Jarek Jarcec Cecho
>            Assignee: Jarek Jarcec Cecho
>             Fix For: 1.4.7
>
>         Attachments: SQOOP-2582.patch
>
>
> I found out that {{\-\-query}} doesn't work with {{\-\-as\-parquetfile}} 
> parameter and it fails on {{NullPointerException}}:
> {code}
> 15/09/17 10:17:28 ERROR sqoop.Sqoop: Got exception running Sqoop: 
> java.lang.NullPointerException
> java.lang.NullPointerException
>         at org.apache.sqoop.tool.CodeGenTool.generateORM(CodeGenTool.java:97)
>         at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:478)
>         at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605)
>         at org.apache.sqoop.Sqoop.run(Sqoop.java:143)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>         at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:179)
>         at org.apache.sqoop.Sqoop.runTool(Sqoop.java:218)
>         at org.apache.sqoop.Sqoop.runTool(Sqoop.java:227)
>         at org.apache.sqoop.Sqoop.main(Sqoop.java:236)
> {code}
> It seems that the problem is introduced by SQOOP-2294 as we made table-import 
> only change.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to