Kengo Seki created BIGTOP-4364:
----------------------------------
Summary: Fix Zeppelin's default settings
Key: BIGTOP-4364
URL: https://issues.apache.org/jira/browse/BIGTOP-4364
Project: Bigtop
Issue Type: Bug
Components: deployment
Reporter: Kengo Seki
Assignee: Kengo Seki
The default settings of Zeppelin deployed with the Puppet manifest have some
problems:
* {{zeppelin.interpreter.localRepo}} is set to {{$ZEPPELIN_HOME/local-repo}}
[by
default|https://github.com/apache/zeppelin/blob/v0.11.2/conf/zeppelin-site.xml.template#L376].
But that directory is owned by root and its permission is 755 while [the
zeppelin service runs as the zeppelin
user|https://github.com/apache/bigtop/blob/master/bigtop-packages/src/common/zeppelin/zeppelin.svc#L19].
Then running example notebook results in the following error.
{code}
org.apache.zeppelin.interpreter.InterpreterException: java.io.IOException: Fail
to launch interpreter process:
mkdir: cannot create directory ‘/usr/lib/zeppelin/local-repo’: Permission denied
{code}
* After fixing the error above, running Spark notebook occurs the following
error. [As Zeppelin's document
mentions|https://github.com/apache/zeppelin/blob/v0.11.2/docs/interpreter/spark.md#configure-yarn-mode-for-spark-3x],
we have to specify the master and deployMode parameters separately since Spark
3.0.
{code}
Exception in thread "main" org.apache.spark.SparkException: Master must either
be yarn or start with spark, mesos, k8s, or local
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)