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

Richard commented on SQOOP-1393:
--------------------------------

Hive 0.12.0 has been tested successfully.
if you have error:
{code}
0: jdbc:hive2://server-393:10000/default> select * from test;
Error: Error while processing statement: FAILED: RuntimeException 
java.lang.ClassNotFoundException: 
org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat 
(state=42000,code=40000)
{code}
Please follow this link to add {{parquet-hive-bundle-1.4.1.jar}}
[http://community.cloudera.com/t5/Batch-SQL-Apache-Hive/ClassNotFoundException-org-apache-hadoop-hive-ql-io-parquet/td-p/8920]

> Import data from database to Hive as Parquet files
> --------------------------------------------------
>
>                 Key: SQOOP-1393
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1393
>             Project: Sqoop
>          Issue Type: Sub-task
>          Components: tools
>            Reporter: Qian Xu
>            Assignee: Richard
>             Fix For: 1.4.6
>
>         Attachments: patch.diff, patch_v2.diff, patch_v3.diff
>
>
> Import data to Hive as Parquet file can be separated into two steps:
> 1. Import an individual table from an RDBMS to HDFS as a set of Parquet files.
> 2. Import the data into Hive by generating and executing a CREATE TABLE 
> statement to define the data's layout in Hive with Parquet format table



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

Reply via email to