[
https://issues.apache.org/jira/browse/SQOOP-3010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15487775#comment-15487775
]
ASF GitHub Bot commented on SQOOP-3010:
---------------------------------------
GitHub user git-rbanerjee opened a pull request:
https://github.com/apache/sqoop/pull/28
[SQOOP-3010] Fix for Sqoop should not allow --as-parquetfile when job…
… type is hcatalog
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/git-rbanerjee/sqoop-1 trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/sqoop/pull/28.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #28
----
commit b8b986f264d2d5fe5f8c7611477e8e7759e46762
Author: CodeR <dev.rabin.baner...@gmail.com>
Date: 2016-09-13T17:05:00Z
[SQOOP-3010] Fix for Sqoop should not allow --as-parquetfile when job type
is hcatalog
----
> 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)