You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Julien Nioche (JIRA)" <ji...@apache.org> on 2018/04/06 15:16:00 UTC
[jira] [Closed] (STORM-3011) Use default bin path in flight.bash if
$JAVA_HOME is undefined
[ https://issues.apache.org/jira/browse/STORM-3011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julien Nioche closed STORM-3011.
--------------------------------
> Use default bin path in flight.bash if $JAVA_HOME is undefined
> --------------------------------------------------------------
>
> Key: STORM-3011
> URL: https://issues.apache.org/jira/browse/STORM-3011
> Project: Apache Storm
> Issue Type: Improvement
> Affects Versions: 1.2.1
> Reporter: Julien Nioche
> Assignee: Julien Nioche
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.0.0, 1.1.3, 1.0.7, 1.2.2
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> I had to modify the _flight.bash_ script as $JAVA_HOME is undefined, this yields
>
> _/usr/share/apache-storm-1.2.1/bin/flight.bash: line 62: /bin/jstack: No such file or directory_
>
> however, the files can be found in the default path _/usr/bin_
>
> I will submit a PR so that the script checks that $JDKPATH is not empty and exist before using it for BINPATH. I can't see any downsides in doing so.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)