[
https://issues.apache.org/jira/browse/SQOOP-477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13475585#comment-13475585
]
Davide Grohmann commented on SQOOP-477:
---------------------------------------
Hi Jarek,
well my use case is about importing several tables into Hadoop in different
threads, in order to distribute the work as much as possible.
Doing this causes a race condition in the OptionBuilder because it is not
thread safe.
Davide
> Tools (e.g., ImportTool) using OptionBuilder are not thread safe
> ----------------------------------------------------------------
>
> Key: SQOOP-477
> URL: https://issues.apache.org/jira/browse/SQOOP-477
> Project: Sqoop
> Issue Type: Bug
> Components: tools
> Affects Versions: 1.4.0-incubating, 1.4.1-incubating, 1.4.2
> Environment: Software
> Reporter: Davide Grohmann
>
> Creating instance of *Tools (e.g., ImportTool, BaseSqoopTool, etc)
> concurrently (multiple threads) is not thread safe. The problem is in the
> command line parsing via OptionBuilder which is not thread safe.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira