sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-2582) Query import won't work for parquet
Date Thu, 24 Sep 2015 22:36:04 GMT

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

Hudson commented on SQOOP-2582:
-------------------------------

SUCCESS: Integrated in Sqoop-hadoop200 #1023 (See [https://builds.apache.org/job/Sqoop-hadoop200/1023/])
SQOOP-2582. Query import won't work for parquet (hshreedharan: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=ae9ab0fa37efb405b349e2c91050479ef4355526)
* src/java/org/apache/sqoop/tool/CodeGenTool.java
* src/test/com/cloudera/sqoop/TestParquetImport.java


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

Mime
View raw message