hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Kimball (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1341) Sqoop should have an option to create hive tables and skip the table import step
Date Fri, 05 Feb 2010 00:44:27 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829888#action_12829888

Aaron Kimball commented on MAPREDUCE-1341:

Patch looks pretty good -- just a couple of small issues:

Sqoop.java -- Please use spaces not tabs.

SqoopOptions.doCreateTableOnly(), doOverwriteTable(): maybe call these doCreateHiveTableOnly
/ doOverwriteHiveTable? There are a lot of "tables" floating around... the field names include
"Hive" which is good. Getters should reflect that too.

Please add --hive-create-only, --hive-overwrite to the documentation in src/contrib/sqoop/doc/Sqoop-manpage.txt
and hive.txt. These files are in ASCIIDOC format -- see http://powerman.name/doc/asciidoc
and http://www.methods.co.nz/asciidoc/userguide.html if you need syntax help here.

> Sqoop should have an option to create hive tables and skip the table import step
> --------------------------------------------------------------------------------
>                 Key: MAPREDUCE-1341
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1341
>             Project: Hadoop Map/Reduce
>          Issue Type: New Feature
>          Components: contrib/sqoop
>    Affects Versions: 0.22.0
>            Reporter: Leonid Furman
>            Priority: Minor
>             Fix For: 0.22.0
>         Attachments: MAPREDUCE-1341.2.patch, MAPREDUCE-1341.3.patch, MAPREDUCE-1341.patch
> In case the client only needs to create tables in hive, it would be helpful if Sqoop
had an optional parameter:
> --hive-create-only
> which would omit the time consuming table import step, generate hive create table statements
and run them.
> If this feature seems useful, I can generate the patch. I have modified the Sqoop code
and built it on my development machine, and it seems to be working well.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message