zeppelin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject incubator-zeppelin git commit: Added Kerberos documentation
Date Mon, 15 Feb 2016 14:36:41 GMT
Repository: incubator-zeppelin
Updated Branches:
  refs/heads/master b391317b8 -> 48c3c4727

Added Kerberos documentation

### What is this PR for?
Added Kerberos setup with Zeppelin

### What type of PR is it?

### Is there a relevant Jira issue?

### How should this be tested?
Check out the website

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Sejun Ra <sejun@nflabs.com>
Author: Ryu Ah young <fbdkdud93@hanmail.net>

Closes #640 from sejunra/docs/kerberos and squashes the following commits:

515d908 [Ryu Ah young] Add spaces between the bracket
d1acb4b [Ryu Ah young] Address the reviews
1ea2bb5 [Sejun Ra] Changed three dots to two dots on link
00d2551 [Sejun Ra] Spelled out 'w/' and changed link as requested.
bafcead [Sejun Ra] Added Kerberos doc to spark.md instead of having separate file.
f95807d [Sejun Ra] added license info on doc.
fd10960 [Sejun Ra] Added Kerberos documentation

Project: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/commit/48c3c472
Tree: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/tree/48c3c472
Diff: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/diff/48c3c472

Branch: refs/heads/master
Commit: 48c3c4727a0b53d3f11dcfca0e72b3e5cc86aebf
Parents: b391317
Author: Sejun Ra <sejun@nflabs.com>
Authored: Mon Feb 15 13:06:24 2016 +0900
Committer: Alexander Bezzubov <bzz@apache.org>
Committed: Mon Feb 15 23:36:30 2016 +0900

 .../zeppelin/img/docs-img/kdc_zeppelin.png      | Bin 0 -> 7209 bytes
 docs/interpreter/spark.md                       |  24 +++++++++++++++++++
 2 files changed, 24 insertions(+)

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 0000000..f845be4
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 83eb355..844cbce 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:
+<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,
+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
+4. That's it. Play with Zeppelin !

View raw message