[
https://issues.apache.org/jira/browse/GEARPUMP-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16199777#comment-16199777
]
Xuetong Zhu commented on GEARPUMP-353:
--------------------------------------
Yes, I set same user's .bash_profile file on every machine. When I execute
start-cluster.sh command , it will ssh to other machine by no-login shell to
start master or worker. No-login shell read ~/.bashrc file rather than
~/.bash_profile.
> Start cluster can not work when install Java in custom directory
> ----------------------------------------------------------------
>
> Key: GEARPUMP-353
> URL: https://issues.apache.org/jira/browse/GEARPUMP-353
> Project: Apache Gearpump
> Issue Type: Bug
> Reporter: Xuetong Zhu
>
> When I installed java in my custom directory by "jdk-8u121-linux-x64.tar.gz"
> file, java -verion command is right to perform, then executed
> start-cluster.sh command,I got some error like this:
> "which: no javac in
> (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
> which: no java in
> (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
> Error: JAVA_HOME is not defined correctly.
> We cannot execute "
> I had already installed the Java,Why perform the which command? Why JAVA_HOME
> is not defined correctly?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)