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

Jarek Jarcec Cecho commented on SQOOP-1070:
-------------------------------------------

Hi [~mackrorysd], thank you very much for your patch. I've tested it in my 
environment and everything seems to be working properly so I'm giving +1 here.
                
> Shell scripts should not rely on $PATH if $JAVA_HOME is set
> -----------------------------------------------------------
>
>                 Key: SQOOP-1070
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1070
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Sean Mackrory
>            Assignee: Sean Mackrory
>         Attachments: 
> 0001-SQOOP-1070.-Shell-scripts-should-not-rely-on-PATH-if.patch
>
>
> The sqoop.sh script executes 'java' directly in the shell. If $JAVA_HOME is 
> set, it should be honored. This is especially applicable for Apache Bigtop, 
> because the JDKs that are most frequently used in production are not 
> distributed as packages by the OS vendor, and JAVA_HOME is relied upon very 
> heavily.

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