[
https://issues.apache.org/jira/browse/BOOKKEEPER-765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Kelly updated BOOKKEEPER-765:
----------------------------------
Attachment: 0001-BOOKKEEPER-765-bookkeeper-script-should-fall-back-to.patch
Falls back to PATH if JAVA_HOME not set. I also moved the java check to after
the sourcing of bkenv.sh so that JAVA_HOME can be set there if needed.
Did same for hedwig.
> bookkeeper script should fall back to java in path if JAVA_HOME is not set
> --------------------------------------------------------------------------
>
> Key: BOOKKEEPER-765
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-765
> Project: Bookkeeper
> Issue Type: Bug
> Components: bookkeeper-server
> Reporter: Ivan Kelly
> Assignee: Ivan Kelly
> Priority: Blocker
> Fix For: 4.3.0, 4.2.3
>
> Attachments:
> 0001-BOOKKEEPER-765-bookkeeper-script-should-fall-back-to.patch
>
>
> The current behaviour requires JAVA_HOME to be set, which isn't set by
> default on all machines. So machines on which bookkeeper ran fine, no longer
> work.
> Solution is to fallback to java in path is JAVA_HOME not set.
--
This message was sent by Atlassian JIRA
(v6.2#6252)