Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions docs/interpreter/spark.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,3 +262,27 @@ select * from ${table=defaultTableName} where text like '%${search}%'
```

To learn more about dynamic form, checkout [Dynamic Form](../manual/dynamicform.html).

## Setting up Zeppelin with Kerberos
Logical setup with Zeppelin, Kerberos Distribution Center (KDC), and Spark on YARN:

<img src="../assets/themes/zeppelin/img/docs-img/kdc_zeppelin.png">

####Configuration Setup

1. On the server that Zeppelin is installed, install Kerberos client modules and configuration, krb5.conf.
This is to make the server communicate with KDC.

2. Set SPARK\_HOME in [ZEPPELIN\_HOME]/conf/zeppelin-env.sh to use spark-submit
( Additionally, you might have to set “export HADOOP\_CONF\_DIR=/etc/hadoop/conf” )

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sejunra And, I also found that SPARK_HOME, ZEPPELIN_HOME and HADOOP_CONF_DIR are not shown up properly in Zeppelin docs website like attached screenshot.

screen shot 2016-02-08 at 6 30 27 pm

Then, you may use like SPARK\_HOME ,
ZEPPELIN\_HOME and HADOOP\_CONF\_DIR instead of just using SPARK_HOME, ZEPPELIN_HOME and HADOOP_CONF_DIR.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch!

3. Add the two properties below to spark configuration ( [SPARK_HOME]/conf/spark-defaults.conf ):

spark.yarn.principal
spark.yarn.keytab

> **NOTE:** If you do not have access to the above spark-defaults.conf file, optionally, you may add the lines to the Spark Interpreter through the Interpreter tab in the Zeppelin UI.

4. That's it. Play with Zeppelin !