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-3010) Sqoop should not allow --as-parquetfile with hcatalog jobs or when hive import with create-hive-table is used
Date Mon, 26 Sep 2016 13:38:20 GMT

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

Hudson commented on SQOOP-3010:
-------------------------------

SUCCESS: Integrated in Jenkins build Sqoop-hadoop200 #1064 (See [https://builds.apache.org/job/Sqoop-hadoop200/1064/])
SQOOP-3010: Sqoop should not allow --as-parquetfile with hcatalog jobs (venkat: [https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=8f3989d9ad32167a2d259377f5634b2ee32ee6ed])
* (edit) src/test/org/apache/sqoop/hcat/TestHCatalogBasic.java
* (edit) src/java/org/apache/sqoop/tool/BaseSqoopTool.java
* (edit) src/test/com/cloudera/sqoop/hive/TestHiveImport.java


> Sqoop should not allow --as-parquetfile with hcatalog jobs or when hive import with create-hive-table
is used
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: SQOOP-3010
>                 URL: https://issues.apache.org/jira/browse/SQOOP-3010
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.4.6
>            Reporter: Sowmya Ramesh
>            Assignee: Sowmya Ramesh
>             Fix For: 1.4.7
>
>
> sqoop import ... --create-hcatalog-table --hcatalog-table --as-parquetfile
> {noformat}
>   Error: java.lang.RuntimeException: Should never be used
>        	at org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat.getRecordWriter(MapredParquetOutputFormat.java:76)
>        	at org.apache.hive.hcatalog.mapreduce.FileOutputFormatContainer.getRecordWriter(FileOutputFormatContainer.java:103)
> {noformat}
> This should not run and should display a validation error as it does for both --as-sequencefile
and --as-avrodatafile but the job runs and fails later with RuntimeException



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

Mime
View raw message