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

Sean Mackrory updated SQOOP-796:
--------------------------------

    Attachment: SQOOP-796.patch.1

This patch includes changes to the shell scripts which detect the environment 
variables or set defaults, the documentation (I've chosen to simply replace 
HADOOP_HOME with the 2 new variables since it's deprecated, even though it 
should still work), and the Java code. It allows Sqoop to use 
HADOOP_COMMON_HOME (for the hadoop executable) and HADOOP_MAPRED_HOME (for the 
hadoop-core library) if they are available, but it can still use HADOOP_HOME 
for both if necessary.
                
> Unable to use new Hadoop environment variables
> ----------------------------------------------
>
>                 Key: SQOOP-796
>                 URL: https://issues.apache.org/jira/browse/SQOOP-796
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.4.2
>            Reporter: Sean Mackrory
>            Assignee: Sean Mackrory
>         Attachments: SQOOP-796.patch.1
>
>
> Sqoop uses HADOOP_HOME to locate its dependencies, but if using YARN, then 
> the use of HADOOP_HOME has been deprecated and may not sufficient to locate 
> all of the dependencies. Sqoop needs to be able to use HADOOP_COMMON_HOME and 
> HADOOP_MAPRED_HOME when they are used instead of HADOOP_HOME.

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