You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Pratik Khadloya (JIRA)" <ji...@apache.org> on 2014/09/12 02:49:34 UTC

[jira] [Commented] (SQOOP-1393) Import data from database to Hive as Parquet files

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

Pratik Khadloya commented on SQOOP-1393:
----------------------------------------

How do i invoke this option? I am trying to invoke it using
{code}
bin/sqoop import -jt jobtracker.inw-stg2:8021 --connect jdbc:mysql://master-reportsdb.global.rfiserve.net/rfi_meta_data --username report_ro --password rep0rt_r0 --target-dir /user/pkhadloya/sqoop/extusersegments4 --table rfi_external_data_provider --hive-import --hive-table extusersegments4 --create-hive-table --as-parquetfile
{code}

But it gives the incompatibility error.

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