diff --git a/docs/assets/themes/zeppelin/img/docs-img/kdc_zeppelin.png b/docs/assets/themes/zeppelin/img/docs-img/kdc_zeppelin.png new file mode 100644 index 00000000000..f845be41f74 Binary files /dev/null and b/docs/assets/themes/zeppelin/img/docs-img/kdc_zeppelin.png differ diff --git a/docs/interpreter/spark.md b/docs/interpreter/spark.md index 83eb3550ed1..844cbce0636 100644 --- a/docs/interpreter/spark.md +++ b/docs/interpreter/spark.md @@ -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: + + + +####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” ) + +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 ! + +