You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Sean Mackrory (JIRA)" <ji...@apache.org> on 2013/06/08 01:04:19 UTC

[jira] [Updated] (SQOOP-1070) Shell scripts should not rely on $PATH if $JAVA_HOME is set

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

Sean Mackrory updated SQOOP-1070:
---------------------------------

    Attachment: 0001-SQOOP-1070.-Shell-scripts-should-not-rely-on-PATH-if.patch

I still need to properly test this, but I believe this will resolve the issue.
                
> 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