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

Ahmed El Baz updated SQOOP-954:
-------------------------------

    Attachment: SQOOP-957.trunk.1.patch

Attaching a patch implementing the Windows version of Sqoop run scripts. The 
scripts follow the same logic as there .sh counterparts.
One difference is to create a Jar which references all classpath elements in 
its Manifest, and provide that jar as the single jar needed for Sqoop. The 
reason here is that in some cases if the number of classpath elements is large, 
HADOOP_CLASSPATH gets very long which causes failures in Windows since there is 
a limit to command lines.
As a workaround, I added a step to wrap all jars in the classpath in a single 
jar, and then use that generated jar (this is also done in hadoop for Windows 
to handle similar issues)
I did this in a utility script "BuildJar" which can be used for other 
components as well.
This change is specific to Windows scripts, Linux scripts are not affected.
                
> Create Sqoop runtime scripts to run Sqoop on Windows
> ----------------------------------------------------
>
>                 Key: SQOOP-954
>                 URL: https://issues.apache.org/jira/browse/SQOOP-954
>             Project: Sqoop
>          Issue Type: Sub-task
>    Affects Versions: 1.4.3
>            Reporter: Ahmed El Baz
>            Assignee: Ahmed El Baz
>             Fix For: 1.4.4
>
>         Attachments: SQOOP-957.trunk.1.patch
>
>
> Need to provide Windows version of scripts to run Sqoop on Windows. This 
> includes sqoop.cmd and configure-sqooop.cmd

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