hadoop-mapreduce-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/MAPREDUCE-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Leonid Furman updated MAPREDUCE-1341:
-------------------------------------

    Status: Patch Available  (was: Open)

Aaron,

Thank you for your feedback. I have made the following changes to the patch:

1. In SqoopOptions class, renamed the variables to createHiveTableOnly and overwriteHiveTable,
as well as their corresponding getter methods.

2. Modified the documentation in src/contrib/sqoop/doc/Sqoop-manpage.txt and hive.txt files.
Please let me know if the updated instructions are clear.

3. Sqoop.java shouldn't have tab characters anymore. I use IntelliJ IDEA for my development,
and it's possible that last time it didn't convert tabs to spaces properly. Let me know if
you still see the occurrences of tab characters, and I will resubmit the patch.

> 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.4.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.


Mime
View raw message