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

Davide Grohmann commented on SQOOP-477:
---------------------------------------

Hi Jarek,

yes I am executing Sqoop directly from my application. The reason is that I 
should import tables into Hadoop after having received some kind of requests. I 
can understand that the tool is designed as a batch tool and it is usually 
executed from the command line. However, I think it should be rather simple to 
customize your builder in order to have thread safeness.

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

Reply via email to