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-816) Rename "local" mysql import to "direct"
Date Fri, 31 Jul 2009 06:18:14 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737429#action_12737429
] 

Aaron Kimball commented on MAPREDUCE-816:
-----------------------------------------

:sigh:, could someone with edit rights please correct the "\-\-" to escape the dashes with
backslashes in the description to avoid the strike-thru?

This patch adds the \-\-direct flag and deprecates \-\-local with a warning. Would appreciate
it if this makes it into the 0.21 release. I ran all the unit tests (including the mysql ones)
on my system and they all pass.


> Rename "local" mysql import to "direct"
> ---------------------------------------
>
>                 Key: MAPREDUCE-816
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-816
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: contrib/sqoop
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Minor
>         Attachments: MAPREDUCE-816.patch
>
>
> A mysqldump-based fast path known as "local mode" is used in sqoop when users pass the
argument "--local." The restriction that this only import from localhost was based on an implementation
technique that was later abandoned in favor of a more general one, which can support remote
hosts as well. Thus, "--local" is a poor name for the flag. "--direct" is more general and
more descriptive. This should be used instead.

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