Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Fix missing JAVA_HOME setup in env file
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkza committed Sep 28, 2016
1 parent ccaef0d commit 3dfb025
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion templates/zeppelin-env.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
# limitations under the License.
#

# export JAVA_HOME=
{% if zeppelin_java_home | default %}
export JAVA_HOME='{{ zeppelin_java_home }}'
{% endif %}

{% if not((zeppelin_spark_master is undefined) or (zeppelin_spark_master is none) or (zeppelin_spark_master|trim == '')) %}
export MASTER='{{ zeppelin_spark_master }}' # Spark master url. eg. spark://master_addr:7077. Leave empty if you want to use local mode.
{% endif %}
Expand Down

0 comments on commit 3dfb025

Please sign in to comment.