You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Rabin Banerjee (JIRA)" <ji...@apache.org> on 2016/09/13 16:53:20 UTC

[jira] [Commented] (SQOOP-3010) Sqoop should not allow --as-parquetfile when job type is hcatalog

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

Rabin Banerjee commented on SQOOP-3010:
---------------------------------------

Validation needs to be added  here 
https://github.com/apache/sqoop/blob/branch-1.4.6/src/java/org/apache/sqoop/tool/BaseSqoopTool.java#L1500

> Sqoop should not allow --as-parquetfile when job type is hcatalog
> -----------------------------------------------------------------
>
>                 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
>
> 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)