class="hljs-ln-code"> class="hljs-ln-line">mkdir -p /opt/datasophon/DDP/packages/datasophon-manager-1.2.1/conf/meta/DDP-1.2.1/ZEPPELIN class="hljs-button signin active" data-title="登录复制" data-report-click="{"spm":"1001.2101.3001.4334"}" onclick="hljs.signin(event)">

将配置json文件和启停脚本准备好,还需要将启动脚本复制到安装包根目录下

control_zeppelin.sh

  1. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1"> class="hljs-ln-code"> class="hljs-ln-line">#!/bin/bash
  2. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="2"> class="hljs-ln-code"> class="hljs-ln-line">
  3. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="3"> class="hljs-ln-code"> class="hljs-ln-line">SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
  4. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="4"> class="hljs-ln-code"> class="hljs-ln-line">ZEPPELIN_HOME=$SCRIPT_DIR # 当前目录即为 Zeppelin 安装目录
  5. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="5"> class="hljs-ln-code"> class="hljs-ln-line">ZEPPELIN_DAEMON=$ZEPPELIN_HOME/bin/zeppelin-daemon.sh
  6. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="6"> class="hljs-ln-code"> class="hljs-ln-line">
  7. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="7"> class="hljs-ln-code"> class="hljs-ln-line">start_zeppelin() {
  8. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="8"> class="hljs-ln-code"> class="hljs-ln-line"> echo "Starting Zeppelin..."
  9. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="9"> class="hljs-ln-code"> class="hljs-ln-line"> $ZEPPELIN_DAEMON start
  10. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="10"> class="hljs-ln-code"> class="hljs-ln-line">}
  11. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="11"> class="hljs-ln-code"> class="hljs-ln-line">
  12. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="12"> class="hljs-ln-code"> class="hljs-ln-line">stop_zeppelin() {
  13. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="13"> class="hljs-ln-code"> class="hljs-ln-line"> echo "Stopping Zeppelin..."
  14. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="14"> class="hljs-ln-code"> class="hljs-ln-line"> $ZEPPELIN_DAEMON stop
  15. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="15"> class="hljs-ln-code"> class="hljs-ln-line">}
  16. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="16"> class="hljs-ln-code"> class="hljs-ln-line">
  17. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="17"> class="hljs-ln-code"> class="hljs-ln-line">check_zeppelin_status() {
  18. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="18"> class="hljs-ln-code"> class="hljs-ln-line"> echo "Checking Zeppelin status..."
  19. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="19"> class="hljs-ln-code"> class="hljs-ln-line"> $ZEPPELIN_DAEMON status
  20. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="20"> class="hljs-ln-code"> class="hljs-ln-line"> if [ $? -eq 0 ]; then
  21. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="21"> class="hljs-ln-code"> class="hljs-ln-line"> echo "Zeppelin is running."
  22. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="22"> class="hljs-ln-code"> class="hljs-ln-line"> exit 0
  23. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="23"> class="hljs-ln-code"> class="hljs-ln-line"> else
  24. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="24"> class="hljs-ln-code"> class="hljs-ln-line"> echo "Zeppelin is not running."
  25. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="25"> class="hljs-ln-code"> class="hljs-ln-line"> exit 1
  26. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="26"> class="hljs-ln-code"> class="hljs-ln-line"> fi
  27. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="27"> class="hljs-ln-code"> class="hljs-ln-line">}
  28. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="28"> class="hljs-ln-code"> class="hljs-ln-line">
  29. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="29"> class="hljs-ln-code"> class="hljs-ln-line">case "$1" in
  30. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="30"> class="hljs-ln-code"> class="hljs-ln-line"> start)
  31. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="31"> class="hljs-ln-code"> class="hljs-ln-line"> start_zeppelin
  32. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="32"> class="hljs-ln-code"> class="hljs-ln-line"> ;;
  33. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="33"> class="hljs-ln-code"> class="hljs-ln-line"> stop)
  34. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="34"> class="hljs-ln-code"> class="hljs-ln-line"> stop_zeppelin
  35. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="35"> class="hljs-ln-code"> class="hljs-ln-line"> ;;
  36. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="36"> class="hljs-ln-code"> class="hljs-ln-line"> restart)
  37. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="37"> class="hljs-ln-code"> class="hljs-ln-line"> stop_zeppelin
  38. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="38"> class="hljs-ln-code"> class="hljs-ln-line"> sleep 5 # 等待一些时间确保Zeppelin完全停止
  39. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="39"> class="hljs-ln-code"> class="hljs-ln-line"> start_zeppelin
  40. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="40"> class="hljs-ln-code"> class="hljs-ln-line"> ;;
  41. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="41"> class="hljs-ln-code"> class="hljs-ln-line"> status)
  42. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="42"> class="hljs-ln-code"> class="hljs-ln-line"> check_zeppelin_status
  43. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="43"> class="hljs-ln-code"> class="hljs-ln-line"> ;;
  44. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="44"> class="hljs-ln-code"> class="hljs-ln-line"> *)
  45. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="45"> class="hljs-ln-code"> class="hljs-ln-line"> echo "Usage: $0 {start|stop|restart|status}"
  46. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="46"> class="hljs-ln-code"> class="hljs-ln-line"> exit 1
  47. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="47"> class="hljs-ln-code"> class="hljs-ln-line"> ;;
  48. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="48"> class="hljs-ln-code"> class="hljs-ln-line">esac
class="hide-preCode-box"> class="hljs-button signin active" data-title="登录复制" data-report-click="{"spm":"1001.2101.3001.4334"}" onclick="hljs.signin(event)">

control_zeppelin.sh

  1. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1"> class="hljs-ln-code"> class="hljs-ln-line">#!/bin/bash
  2. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="2"> class="hljs-ln-code"> class="hljs-ln-line">
  3. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="3"> class="hljs-ln-code"> class="hljs-ln-line">SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
  4. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="4"> class="hljs-ln-code"> class="hljs-ln-line">ZEPPELIN_HOME=$SCRIPT_DIR # 当前目录即为 Zeppelin 安装目录
  5. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="5"> class="hljs-ln-code"> class="hljs-ln-line">ZEPPELIN_DAEMON=$ZEPPELIN_HOME/bin/zeppelin-daemon.sh
  6. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="6"> class="hljs-ln-code"> class="hljs-ln-line">
  7. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="7"> class="hljs-ln-code"> class="hljs-ln-line">start_zeppelin() {
  8. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="8"> class="hljs-ln-code"> class="hljs-ln-line"> echo "Starting Zeppelin..."
  9. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="9"> class="hljs-ln-code"> class="hljs-ln-line"> $ZEPPELIN_DAEMON start
  10. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="10"> class="hljs-ln-code"> class="hljs-ln-line">}
  11. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="11"> class="hljs-ln-code"> class="hljs-ln-line">
  12. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="12"> class="hljs-ln-code"> class="hljs-ln-line">stop_zeppelin() {
  13. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="13"> class="hljs-ln-code"> class="hljs-ln-line"> echo "Stopping Zeppelin..."
  14. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="14"> class="hljs-ln-code"> class="hljs-ln-line"> $ZEPPELIN_DAEMON stop
  15. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="15"> class="hljs-ln-code"> class="hljs-ln-line">}
  16. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="16"> class="hljs-ln-code"> class="hljs-ln-line">
  17. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="17"> class="hljs-ln-code"> class="hljs-ln-line">check_zeppelin_status() {
  18. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="18"> class="hljs-ln-code"> class="hljs-ln-line"> echo "Checking Zeppelin status..."
  19. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="19"> class="hljs-ln-code"> class="hljs-ln-line"> $ZEPPELIN_DAEMON status
  20. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="20"> class="hljs-ln-code"> class="hljs-ln-line"> if [ $? -eq 0 ]; then
  21. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="21"> class="hljs-ln-code"> class="hljs-ln-line"> echo "Zeppelin is running."
  22. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="22"> class="hljs-ln-code"> class="hljs-ln-line"> exit 0
  23. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="23"> class="hljs-ln-code"> class="hljs-ln-line"> else
  24. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="24"> class="hljs-ln-code"> class="hljs-ln-line"> echo "Zeppelin is not running."
  25. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="25"> class="hljs-ln-code"> class="hljs-ln-line"> exit 1
  26. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="26"> class="hljs-ln-code"> class="hljs-ln-line"> fi
  27. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="27"> class="hljs-ln-code"> class="hljs-ln-line">}
  28. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="28"> class="hljs-ln-code"> class="hljs-ln-line">
  29. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="29"> class="hljs-ln-code"> class="hljs-ln-line">case "$1" in
  30. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="30"> class="hljs-ln-code"> class="hljs-ln-line"> start)
  31. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="31"> class="hljs-ln-code"> class="hljs-ln-line"> start_zeppelin
  32. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="32"> class="hljs-ln-code"> class="hljs-ln-line"> ;;
  33. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="33"> class="hljs-ln-code"> class="hljs-ln-line"> stop)
  34. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="34"> class="hljs-ln-code"> class="hljs-ln-line"> stop_zeppelin
  35. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="35"> class="hljs-ln-code"> class="hljs-ln-line"> ;;
  36. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="36"> class="hljs-ln-code"> class="hljs-ln-line"> restart)
  37. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="37"> class="hljs-ln-code"> class="hljs-ln-line"> stop_zeppelin
  38. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="38"> class="hljs-ln-code"> class="hljs-ln-line"> sleep 5 # 等待一些时间确保Zeppelin完全停止
  39. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="39"> class="hljs-ln-code"> class="hljs-ln-line"> start_zeppelin
  40. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="40"> class="hljs-ln-code"> class="hljs-ln-line"> ;;
  41. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="41"> class="hljs-ln-code"> class="hljs-ln-line"> status)
  42. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="42"> class="hljs-ln-code"> class="hljs-ln-line"> check_zeppelin_status
  43. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="43"> class="hljs-ln-code"> class="hljs-ln-line"> ;;
  44. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="44"> class="hljs-ln-code"> class="hljs-ln-line"> *)
  45. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="45"> class="hljs-ln-code"> class="hljs-ln-line"> echo "Usage: $0 {start|stop|restart|status}"
  46. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="46"> class="hljs-ln-code"> class="hljs-ln-line"> exit 1
  47. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="47"> class="hljs-ln-code"> class="hljs-ln-line"> ;;
  48. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="48"> class="hljs-ln-code"> class="hljs-ln-line">esac
class="hide-preCode-box"> class="hljs-button signin active" data-title="登录复制" data-report-click="{"spm":"1001.2101.3001.4334"}" onclick="hljs.signin(event)">

service_ddl.json

  1. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1"> class="hljs-ln-code"> class="hljs-ln-line">{
  2. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="2"> class="hljs-ln-code"> class="hljs-ln-line"> "name": "ZEPPELIN",
  3. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="3"> class="hljs-ln-code"> class="hljs-ln-line"> "label": "ZEPPELIN",
  4. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="4"> class="hljs-ln-code"> class="hljs-ln-line"> "description": "交互式数据分析notebook",
  5. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="5"> class="hljs-ln-code"> class="hljs-ln-line"> "version": "0.10.1",
  6. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="6"> class="hljs-ln-code"> class="hljs-ln-line"> "sortNum": 1,
  7. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="7"> class="hljs-ln-code"> class="hljs-ln-line"> "dependencies": [],
  8. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="8"> class="hljs-ln-code"> class="hljs-ln-line"> "packageName": "zeppelin-0.10.1.tar.gz",
  9. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="9"> class="hljs-ln-code"> class="hljs-ln-line"> "decompressPackageName": "zeppelin-0.10.1",
  10. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="10"> class="hljs-ln-code"> class="hljs-ln-line"> "roles": [
  11. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="11"> class="hljs-ln-code"> class="hljs-ln-line"> {
  12. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="12"> class="hljs-ln-code"> class="hljs-ln-line"> "name": "ZeppelinServer",
  13. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="13"> class="hljs-ln-code"> class="hljs-ln-line"> "label": "ZeppelinServer",
  14. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="14"> class="hljs-ln-code"> class="hljs-ln-line"> "roleType": "master",
  15. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="15"> class="hljs-ln-code"> class="hljs-ln-line"> "cardinality": "1+",
  16. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="16"> class="hljs-ln-code"> class="hljs-ln-line"> "runAs": {},
  17. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="17"> class="hljs-ln-code"> class="hljs-ln-line"> "logFile": "logs/zeppelin-root-${host}.log",
  18. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="18"> class="hljs-ln-code"> class="hljs-ln-line"> "startRunner": {
  19. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="19"> class="hljs-ln-code"> class="hljs-ln-line"> "timeout": "60",
  20. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="20"> class="hljs-ln-code"> class="hljs-ln-line"> "program": "control_zeppelin.sh",
  21. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="21"> class="hljs-ln-code"> class="hljs-ln-line"> "args": [
  22. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="22"> class="hljs-ln-code"> class="hljs-ln-line"> "start"
  23. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="23"> class="hljs-ln-code"> class="hljs-ln-line"> ]
  24. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="24"> class="hljs-ln-code"> class="hljs-ln-line"> },
  25. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="25"> class="hljs-ln-code"> class="hljs-ln-line"> "stopRunner": {
  26. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="26"> class="hljs-ln-code"> class="hljs-ln-line"> "timeout": "600",
  27. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="27"> class="hljs-ln-code"> class="hljs-ln-line"> "program": "control_zeppelin.sh",
  28. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="28"> class="hljs-ln-code"> class="hljs-ln-line"> "args": [
  29. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="29"> class="hljs-ln-code"> class="hljs-ln-line"> "stop"
  30. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="30"> class="hljs-ln-code"> class="hljs-ln-line"> ]
  31. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="31"> class="hljs-ln-code"> class="hljs-ln-line"> },
  32. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="32"> class="hljs-ln-code"> class="hljs-ln-line"> "statusRunner": {
  33. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="33"> class="hljs-ln-code"> class="hljs-ln-line"> "timeout": "60",
  34. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="34"> class="hljs-ln-code"> class="hljs-ln-line"> "program": "control_zeppelin.sh",
  35. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="35"> class="hljs-ln-code"> class="hljs-ln-line"> "args": [
  36. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="36"> class="hljs-ln-code"> class="hljs-ln-line"> "status"
  37. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="37"> class="hljs-ln-code"> class="hljs-ln-line"> ]
  38. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="38"> class="hljs-ln-code"> class="hljs-ln-line"> },
  39. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="39"> class="hljs-ln-code"> class="hljs-ln-line"> "externalLink": {
  40. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="40"> class="hljs-ln-code"> class="hljs-ln-line"> "name": "ZeppelinServer UI",
  41. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="41"> class="hljs-ln-code"> class="hljs-ln-line"> "label": "ZeppelinServer UI",
  42. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="42"> class="hljs-ln-code"> class="hljs-ln-line"> "url": "http://${host}:8889"
  43. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="43"> class="hljs-ln-code"> class="hljs-ln-line"> }
  44. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="44"> class="hljs-ln-code"> class="hljs-ln-line"> }
  45. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="45"> class="hljs-ln-code"> class="hljs-ln-line"> ],
  46. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="46"> class="hljs-ln-code"> class="hljs-ln-line"> "configWriter": {
  47. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="47"> class="hljs-ln-code"> class="hljs-ln-line"> "generators": [
  48. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="48"> class="hljs-ln-code"> class="hljs-ln-line"> {
  49. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="49"> class="hljs-ln-code"> class="hljs-ln-line"> "filename": "zeppelin-env.sh",
  50. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="50"> class="hljs-ln-code"> class="hljs-ln-line"> "configFormat": "custom",
  51. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="51"> class="hljs-ln-code"> class="hljs-ln-line"> "outputDirectory": "conf",
  52. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="52"> class="hljs-ln-code"> class="hljs-ln-line"> "templateName": "zeppelin-env.ftl",
  53. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="53"> class="hljs-ln-code"> class="hljs-ln-line"> "includeParams": [
  54. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="54"> class="hljs-ln-code"> class="hljs-ln-line"> "custom.zeppelin.env"
  55. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="55"> class="hljs-ln-code"> class="hljs-ln-line"> ]
  56. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="56"> class="hljs-ln-code"> class="hljs-ln-line"> },
  57. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="57"> class="hljs-ln-code"> class="hljs-ln-line"> {
  58. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="58"> class="hljs-ln-code"> class="hljs-ln-line"> "filename": "zeppelin-site.xml",
  59. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="59"> class="hljs-ln-code"> class="hljs-ln-line"> "configFormat": "custom",
  60. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="60"> class="hljs-ln-code"> class="hljs-ln-line"> "outputDirectory": "conf",
  61. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="61"> class="hljs-ln-code"> class="hljs-ln-line"> "templateName": "zeppelin-site.ftl",
  62. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="62"> class="hljs-ln-code"> class="hljs-ln-line"> "includeParams": [
  63. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="63"> class="hljs-ln-code"> class="hljs-ln-line"> "jobmanagerEnable",
  64. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="64"> class="hljs-ln-code"> class="hljs-ln-line"> "custom.zeppelin.site.xml"
  65. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="65"> class="hljs-ln-code"> class="hljs-ln-line"> ]
  66. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="66"> class="hljs-ln-code"> class="hljs-ln-line"> }
  67. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="67"> class="hljs-ln-code"> class="hljs-ln-line"> ]
  68. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="68"> class="hljs-ln-code"> class="hljs-ln-line"> },
  69. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="69"> class="hljs-ln-code"> class="hljs-ln-line"> "parameters": [
  70. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="70"> class="hljs-ln-code"> class="hljs-ln-line"> {
  71. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="71"> class="hljs-ln-code"> class="hljs-ln-line"> "name": "jobmanagerEnable",
  72. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="72"> class="hljs-ln-code"> class="hljs-ln-line"> "label": "jobmanagerEnable",
  73. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="73"> class="hljs-ln-code"> class="hljs-ln-line"> "description": "The Job tab in zeppelin page seems not so useful instead it cost lots of memory and affect the performance.Disable it can save lots of memory",
  74. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="74"> class="hljs-ln-code"> class="hljs-ln-line"> "configType": "map",
  75. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="75"> class="hljs-ln-code"> class="hljs-ln-line"> "required": true,
  76. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="76"> class="hljs-ln-code"> class="hljs-ln-line"> "type": "switch",
  77. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="77"> class="hljs-ln-code"> class="hljs-ln-line"> "value": true,
  78. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="78"> class="hljs-ln-code"> class="hljs-ln-line"> "configurableInWizard": true,
  79. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="79"> class="hljs-ln-code"> class="hljs-ln-line"> "hidden": false,
  80. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="80"> class="hljs-ln-code"> class="hljs-ln-line"> "defaultValue": true
  81. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="81"> class="hljs-ln-code"> class="hljs-ln-line"> },
  82. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="82"> class="hljs-ln-code"> class="hljs-ln-line"> {
  83. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="83"> class="hljs-ln-code"> class="hljs-ln-line"> "name": "custom.zeppelin.env",
  84. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="84"> class="hljs-ln-code"> class="hljs-ln-line"> "label": "自定义配置 zeppelin-env.sh",
  85. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="85"> class="hljs-ln-code"> class="hljs-ln-line"> "description": "自定义配置",
  86. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="86"> class="hljs-ln-code"> class="hljs-ln-line"> "configType": "custom",
  87. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="87"> class="hljs-ln-code"> class="hljs-ln-line"> "required": false,
  88. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="88"> class="hljs-ln-code"> class="hljs-ln-line"> "type": "multipleWithKey",
  89. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="89"> class="hljs-ln-code"> class="hljs-ln-line"> "value": [{"HADOOP_CONF_DIR":"${HADOOP_CONF_DIR}"}],
  90. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="90"> class="hljs-ln-code"> class="hljs-ln-line"> "configurableInWizard": true,
  91. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="91"> class="hljs-ln-code"> class="hljs-ln-line"> "hidden": false,
  92. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="92"> class="hljs-ln-code"> class="hljs-ln-line"> "defaultValue": [{"HADOOP_CONF_DIR":"${HADOOP_CONF_DIR}"}]
  93. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="93"> class="hljs-ln-code"> class="hljs-ln-line"> },
  94. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="94"> class="hljs-ln-code"> class="hljs-ln-line"> {
  95. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="95"> class="hljs-ln-code"> class="hljs-ln-line"> "name": "custom.zeppelin.site.xml",
  96. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="96"> class="hljs-ln-code"> class="hljs-ln-line"> "label": "自定义配置 zeppelin-site.xml",
  97. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="97"> class="hljs-ln-code"> class="hljs-ln-line"> "description": "自定义配置",
  98. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="98"> class="hljs-ln-code"> class="hljs-ln-line"> "configType": "custom",
  99. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="99"> class="hljs-ln-code"> class="hljs-ln-line"> "required": false,
  100. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="100"> class="hljs-ln-code"> class="hljs-ln-line"> "type": "multipleWithKey",
  101. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="101"> class="hljs-ln-code"> class="hljs-ln-line"> "value": [],
  102. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="102"> class="hljs-ln-code"> class="hljs-ln-line"> "configurableInWizard": true,
  103. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="103"> class="hljs-ln-code"> class="hljs-ln-line"> "hidden": false,
  104. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="104"> class="hljs-ln-code"> class="hljs-ln-line"> "defaultValue": ""
  105. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="105"> class="hljs-ln-code"> class="hljs-ln-line"> }
  106. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="106"> class="hljs-ln-code"> class="hljs-ln-line"> ]
  107. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="107"> class="hljs-ln-code"> class="hljs-ln-line">}
class="hide-preCode-box"> class="hljs-button signin active" data-title="登录复制" data-report-click="{"spm":"1001.2101.3001.4334"}" onclick="hljs.signin(event)">

2.2 work配置文件


work下需要准备两个配置文件zeppelin-env.ftl和zeppelin-site.ftl

zeppelin-env.ftl

  1. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1"> class="hljs-ln-code"> class="hljs-ln-line">#!/bin/bash
  2. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="2"> class="hljs-ln-code"> class="hljs-ln-line">
  3. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="3"> class="hljs-ln-code"> class="hljs-ln-line">export ZEPPELIN_ADDR=0.0.0.0
  4. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="4"> class="hljs-ln-code"> class="hljs-ln-line">export ZEPPELIN_PORT=8889
  5. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="5"> class="hljs-ln-code"> class="hljs-ln-line">parent_dir=$(dirname "$(cd "$(dirname "$0")" && pwd)")
  6. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="6"> class="hljs-ln-code"> class="hljs-ln-line">export JAVA_HOME=$parent_dir/jdk1.8.0_333
  7. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="7"> class="hljs-ln-code"> class="hljs-ln-line">
  8. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="8"> class="hljs-ln-code"> class="hljs-ln-line"><#list itemList as item>
  9. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="9"> class="hljs-ln-code"> class="hljs-ln-line">export ${item.name}=${item.value}
  10. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="10"> class="hljs-ln-code"> class="hljs-ln-line">#list>
class="hljs-button signin active" data-title="登录复制" data-report-click="{"spm":"1001.2101.3001.4334"}" onclick="hljs.signin(event)">

zeppelin-site.ftl

  1. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1"> class="hljs-ln-code"> class="hljs-ln-line">"1.0"?>
  2. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="2"> class="hljs-ln-code"> class="hljs-ln-line">"text/xsl" href="configuration.xsl"?>
  3. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="3"> class="hljs-ln-code"> class="hljs-ln-line">
  4. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="19"> class="hljs-ln-code"> class="hljs-ln-line">
  5. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="20"> class="hljs-ln-code"> class="hljs-ln-line">
  6. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="21"> class="hljs-ln-code"> class="hljs-ln-line">
  7. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="22"> class="hljs-ln-code"> class="hljs-ln-line">
  8. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="23"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.server.addr
  9. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="24"> class="hljs-ln-code"> class="hljs-ln-line"> <value>127.0.0.1value>
  10. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="25"> class="hljs-ln-code"> class="hljs-ln-line"> Server binding address
  11. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="26"> class="hljs-ln-code"> class="hljs-ln-line">
  12. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="27"> class="hljs-ln-code"> class="hljs-ln-line">
  13. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="28"> class="hljs-ln-code"> class="hljs-ln-line">
  14. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="29"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.server.port
  15. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="30"> class="hljs-ln-code"> class="hljs-ln-line"> <value>8080value>
  16. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="31"> class="hljs-ln-code"> class="hljs-ln-line"> Server port.
  17. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="32"> class="hljs-ln-code"> class="hljs-ln-line">
  18. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="33"> class="hljs-ln-code"> class="hljs-ln-line">
  19. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="34"> class="hljs-ln-code"> class="hljs-ln-line">
  20. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="35"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.cluster.addr
  21. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="36"> class="hljs-ln-code"> class="hljs-ln-line"> <value>value>
  22. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="37"> class="hljs-ln-code"> class="hljs-ln-line"> Server cluster address, eg. 127.0.0.1:6000,127.0.0.2:6000,127.0.0.3:6000
  23. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="38"> class="hljs-ln-code"> class="hljs-ln-line">
  24. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="39"> class="hljs-ln-code"> class="hljs-ln-line">
  25. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="40"> class="hljs-ln-code"> class="hljs-ln-line">
  26. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="41"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.server.ssl.port
  27. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="42"> class="hljs-ln-code"> class="hljs-ln-line"> <value>8443value>
  28. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="43"> class="hljs-ln-code"> class="hljs-ln-line"> Server ssl port. (used when ssl property is set to true)
  29. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="44"> class="hljs-ln-code"> class="hljs-ln-line">
  30. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="45"> class="hljs-ln-code"> class="hljs-ln-line">
  31. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="46"> class="hljs-ln-code"> class="hljs-ln-line">
  32. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="47"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.server.context.path
  33. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="48"> class="hljs-ln-code"> class="hljs-ln-line"> <value>/value>
  34. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="49"> class="hljs-ln-code"> class="hljs-ln-line"> Context Path of the Web Application
  35. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="50"> class="hljs-ln-code"> class="hljs-ln-line">
  36. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="51"> class="hljs-ln-code"> class="hljs-ln-line">
  37. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="52"> class="hljs-ln-code"> class="hljs-ln-line">
  38. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="53"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.war.tempdir
  39. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="54"> class="hljs-ln-code"> class="hljs-ln-line"> <value>webappsvalue>
  40. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="55"> class="hljs-ln-code"> class="hljs-ln-line"> Location of jetty temporary directory
  41. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="56"> class="hljs-ln-code"> class="hljs-ln-line">
  42. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="57"> class="hljs-ln-code"> class="hljs-ln-line">
  43. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="58"> class="hljs-ln-code"> class="hljs-ln-line">
  44. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="59"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.notebook.dir
  45. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="60"> class="hljs-ln-code"> class="hljs-ln-line"> <value>notebookvalue>
  46. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="61"> class="hljs-ln-code"> class="hljs-ln-line"> path or URI for notebook persist
  47. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="62"> class="hljs-ln-code"> class="hljs-ln-line">
  48. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="63"> class="hljs-ln-code"> class="hljs-ln-line">
  49. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="64"> class="hljs-ln-code"> class="hljs-ln-line">
  50. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="65"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.interpreter.include
  51. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="66"> class="hljs-ln-code"> class="hljs-ln-line"> <value>value>
  52. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="67"> class="hljs-ln-code"> class="hljs-ln-line"> All the inteprreters that you would like to include. You can only specify either 'zeppelin.interpreter.include' or 'zeppelin.interpreter.exclude'. Specifying them together is not allowed.
  53. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="68"> class="hljs-ln-code"> class="hljs-ln-line">
  54. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="69"> class="hljs-ln-code"> class="hljs-ln-line">
  55. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="70"> class="hljs-ln-code"> class="hljs-ln-line">
  56. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="71"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.interpreter.exclude
  57. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="72"> class="hljs-ln-code"> class="hljs-ln-line"> <value>value>
  58. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="73"> class="hljs-ln-code"> class="hljs-ln-line"> All the inteprreters that you would like to exclude. You can only specify either 'zeppelin.interpreter.include' or 'zeppelin.interpreter.exclude'. Specifying them together is not allowed.
  59. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="74"> class="hljs-ln-code"> class="hljs-ln-line">
  60. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="75"> class="hljs-ln-code"> class="hljs-ln-line">
  61. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="76"> class="hljs-ln-code"> class="hljs-ln-line">
  62. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="77"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.notebook.homescreen
  63. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="78"> class="hljs-ln-code"> class="hljs-ln-line"> <value>value>
  64. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="79"> class="hljs-ln-code"> class="hljs-ln-line"> id of notebook to be displayed in homescreen. ex) 2A94M5J1Z Empty value displays default home screen
  65. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="80"> class="hljs-ln-code"> class="hljs-ln-line">
  66. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="81"> class="hljs-ln-code"> class="hljs-ln-line">
  67. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="82"> class="hljs-ln-code"> class="hljs-ln-line">
  68. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="83"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.notebook.homescreen.hide
  69. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="84"> class="hljs-ln-code"> class="hljs-ln-line"> <value>falsevalue>
  70. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="85"> class="hljs-ln-code"> class="hljs-ln-line"> hide homescreen notebook from list when this value set to true
  71. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="86"> class="hljs-ln-code"> class="hljs-ln-line">
  72. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="87"> class="hljs-ln-code"> class="hljs-ln-line">
  73. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="88"> class="hljs-ln-code"> class="hljs-ln-line">
  74. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="89"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.notebook.collaborative.mode.enable
  75. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="90"> class="hljs-ln-code"> class="hljs-ln-line"> <value>truevalue>
  76. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="91"> class="hljs-ln-code"> class="hljs-ln-line"> Enable collaborative mode
  77. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="92"> class="hljs-ln-code"> class="hljs-ln-line">
  78. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="93"> class="hljs-ln-code"> class="hljs-ln-line">
  79. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="94"> class="hljs-ln-code"> class="hljs-ln-line">
  80. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="95"> class="hljs-ln-code"> class="hljs-ln-line">
  81. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="120"> class="hljs-ln-code"> class="hljs-ln-line">
  82. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="121"> class="hljs-ln-code"> class="hljs-ln-line">
  83. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="122"> class="hljs-ln-code"> class="hljs-ln-line">
  84. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="123"> class="hljs-ln-code"> class="hljs-ln-line">
  85. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="155"> class="hljs-ln-code"> class="hljs-ln-line">
  86. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="156"> class="hljs-ln-code"> class="hljs-ln-line">
  87. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="157"> class="hljs-ln-code"> class="hljs-ln-line">
  88. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="158"> class="hljs-ln-code"> class="hljs-ln-line">
  89. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="159"> class="hljs-ln-code"> class="hljs-ln-line">
  90. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="160"> class="hljs-ln-code"> class="hljs-ln-line">
  91. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="167"> class="hljs-ln-code"> class="hljs-ln-line">
  92. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="168"> class="hljs-ln-code"> class="hljs-ln-line">
  93. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="169"> class="hljs-ln-code"> class="hljs-ln-line">
  94. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="170"> class="hljs-ln-code"> class="hljs-ln-line">
  95. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="177"> class="hljs-ln-code"> class="hljs-ln-line">
  96. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="178"> class="hljs-ln-code"> class="hljs-ln-line">
  97. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="179"> class="hljs-ln-code"> class="hljs-ln-line">
  98. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="180"> class="hljs-ln-code"> class="hljs-ln-line">
  99. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="181"> class="hljs-ln-code"> class="hljs-ln-line">
  100. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="188"> class="hljs-ln-code"> class="hljs-ln-line">
  101. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="189"> class="hljs-ln-code"> class="hljs-ln-line">
  102. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="190"> class="hljs-ln-code"> class="hljs-ln-line">
  103. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="197"> class="hljs-ln-code"> class="hljs-ln-line">
  104. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="198"> class="hljs-ln-code"> class="hljs-ln-line">
  105. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="199"> class="hljs-ln-code"> class="hljs-ln-line">
  106. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="206"> class="hljs-ln-code"> class="hljs-ln-line">
  107. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="207"> class="hljs-ln-code"> class="hljs-ln-line">
  108. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="208"> class="hljs-ln-code"> class="hljs-ln-line">
  109. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="215"> class="hljs-ln-code"> class="hljs-ln-line">
  110. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="216"> class="hljs-ln-code"> class="hljs-ln-line">
  111. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="217"> class="hljs-ln-code"> class="hljs-ln-line">
  112. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="218"> class="hljs-ln-code"> class="hljs-ln-line">
  113. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="225"> class="hljs-ln-code"> class="hljs-ln-line">
  114. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="226"> class="hljs-ln-code"> class="hljs-ln-line">
  115. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="227"> class="hljs-ln-code"> class="hljs-ln-line">
  116. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="228"> class="hljs-ln-code"> class="hljs-ln-line">
  117. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="261"> class="hljs-ln-code"> class="hljs-ln-line">
  118. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="262"> class="hljs-ln-code"> class="hljs-ln-line">
  119. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="263"> class="hljs-ln-code"> class="hljs-ln-line">
  120. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="288"> class="hljs-ln-code"> class="hljs-ln-line">
  121. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="289"> class="hljs-ln-code"> class="hljs-ln-line">
  122. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="296"> class="hljs-ln-code"> class="hljs-ln-line">
  123. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="297"> class="hljs-ln-code"> class="hljs-ln-line">
  124. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="316"> class="hljs-ln-code"> class="hljs-ln-line">
  125. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="317"> class="hljs-ln-code"> class="hljs-ln-line">
  126. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="318"> class="hljs-ln-code"> class="hljs-ln-line">
  127. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="325"> class="hljs-ln-code"> class="hljs-ln-line">
  128. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="326"> class="hljs-ln-code"> class="hljs-ln-line">
  129. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="327"> class="hljs-ln-code"> class="hljs-ln-line">
  130. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="358"> class="hljs-ln-code"> class="hljs-ln-line">
  131. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="359"> class="hljs-ln-code"> class="hljs-ln-line">
  132. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="360"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.notebook.storage
  133. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="361"> class="hljs-ln-code"> class="hljs-ln-line"> <value>org.apache.zeppelin.notebook.repo.GitNotebookRepovalue>
  134. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="362"> class="hljs-ln-code"> class="hljs-ln-line"> versioned notebook persistence layer implementation
  135. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="363"> class="hljs-ln-code"> class="hljs-ln-line">
  136. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="364"> class="hljs-ln-code"> class="hljs-ln-line">
  137. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="365"> class="hljs-ln-code"> class="hljs-ln-line">
  138. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="366"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.notebook.one.way.sync
  139. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="367"> class="hljs-ln-code"> class="hljs-ln-line"> <value>falsevalue>
  140. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="368"> class="hljs-ln-code"> class="hljs-ln-line"> If there are multiple notebook storages, should we treat the first one as the only source of truth?
  141. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="369"> class="hljs-ln-code"> class="hljs-ln-line">
  142. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="370"> class="hljs-ln-code"> class="hljs-ln-line">
  143. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="371"> class="hljs-ln-code"> class="hljs-ln-line">
  144. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="372"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.interpreter.dir
  145. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="373"> class="hljs-ln-code"> class="hljs-ln-line"> <value>interpretervalue>
  146. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="374"> class="hljs-ln-code"> class="hljs-ln-line"> Interpreter implementation base directory
  147. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="375"> class="hljs-ln-code"> class="hljs-ln-line">
  148. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="376"> class="hljs-ln-code"> class="hljs-ln-line">
  149. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="377"> class="hljs-ln-code"> class="hljs-ln-line">
  150. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="378"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.interpreter.localRepo
  151. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="379"> class="hljs-ln-code"> class="hljs-ln-line"> <value>local-repovalue>
  152. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="380"> class="hljs-ln-code"> class="hljs-ln-line"> Local repository for interpreter's additional dependency loading
  153. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="381"> class="hljs-ln-code"> class="hljs-ln-line">
  154. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="382"> class="hljs-ln-code"> class="hljs-ln-line">
  155. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="383"> class="hljs-ln-code"> class="hljs-ln-line">
  156. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="384"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.interpreter.dep.mvnRepo
  157. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="385"> class="hljs-ln-code"> class="hljs-ln-line"> <value>https://repo1.maven.org/maven2/
  158. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="386"> class="hljs-ln-code"> class="hljs-ln-line"> Remote principal repository for interpreter's additional dependency loading
  159. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="387"> class="hljs-ln-code"> class="hljs-ln-line">
  160. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="388"> class="hljs-ln-code"> class="hljs-ln-line">
  161. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="389"> class="hljs-ln-code"> class="hljs-ln-line">
  162. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="390"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.dep.localrepo
  163. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="391"> class="hljs-ln-code"> class="hljs-ln-line"> <value>local-repovalue>
  164. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="392"> class="hljs-ln-code"> class="hljs-ln-line"> Local repository for dependency loader
  165. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="393"> class="hljs-ln-code"> class="hljs-ln-line">
  166. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="394"> class="hljs-ln-code"> class="hljs-ln-line">
  167. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="395"> class="hljs-ln-code"> class="hljs-ln-line">
  168. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="396"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.helium.node.installer.url
  169. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="397"> class="hljs-ln-code"> class="hljs-ln-line"> <value>https://nodejs.org/dist/
  170. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="398"> class="hljs-ln-code"> class="hljs-ln-line"> Remote Node installer url for Helium dependency loader
  171. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="399"> class="hljs-ln-code"> class="hljs-ln-line">
  172. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="400"> class="hljs-ln-code"> class="hljs-ln-line">
  173. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="401"> class="hljs-ln-code"> class="hljs-ln-line">
  174. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="402"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.helium.npm.installer.url
  175. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="403"> class="hljs-ln-code"> class="hljs-ln-line"> <value>https://registry.npmjs.org/
  176. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="404"> class="hljs-ln-code"> class="hljs-ln-line"> Remote Npm installer url for Helium dependency loader
  177. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="405"> class="hljs-ln-code"> class="hljs-ln-line">
  178. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="406"> class="hljs-ln-code"> class="hljs-ln-line">
  179. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="407"> class="hljs-ln-code"> class="hljs-ln-line">
  180. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="408"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.helium.yarnpkg.installer.url
  181. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="409"> class="hljs-ln-code"> class="hljs-ln-line"> <value>https://github.com/yarnpkg/yarn/releases/download/
  182. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="410"> class="hljs-ln-code"> class="hljs-ln-line"> Remote Yarn package installer url for Helium dependency loader
  183. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="411"> class="hljs-ln-code"> class="hljs-ln-line">
  184. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="412"> class="hljs-ln-code"> class="hljs-ln-line">
  185. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="413"> class="hljs-ln-code"> class="hljs-ln-line">
  186. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="420"> class="hljs-ln-code"> class="hljs-ln-line">
  187. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="421"> class="hljs-ln-code"> class="hljs-ln-line">
  188. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="422"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.interpreter.group.default
  189. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="423"> class="hljs-ln-code"> class="hljs-ln-line"> <value>sparkvalue>
  190. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="424"> class="hljs-ln-code"> class="hljs-ln-line">
  191. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="425"> class="hljs-ln-code"> class="hljs-ln-line">
  192. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="426"> class="hljs-ln-code"> class="hljs-ln-line">
  193. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="427"> class="hljs-ln-code"> class="hljs-ln-line">
  194. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="428"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.interpreter.connect.timeout
  195. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="429"> class="hljs-ln-code"> class="hljs-ln-line"> <value>60000value>
  196. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="430"> class="hljs-ln-code"> class="hljs-ln-line"> Interpreter process connect timeout in msec.
  197. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="431"> class="hljs-ln-code"> class="hljs-ln-line">
  198. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="432"> class="hljs-ln-code"> class="hljs-ln-line">
  199. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="433"> class="hljs-ln-code"> class="hljs-ln-line">
  200. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="434"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.interpreter.output.limit
  201. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="435"> class="hljs-ln-code"> class="hljs-ln-line"> <value>102400value>
  202. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="436"> class="hljs-ln-code"> class="hljs-ln-line"> Output message from interpreter exceeding the limit will be truncated
  203. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="437"> class="hljs-ln-code"> class="hljs-ln-line">
  204. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="438"> class="hljs-ln-code"> class="hljs-ln-line">
  205. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="439"> class="hljs-ln-code"> class="hljs-ln-line">
  206. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="440"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.ssl
  207. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="441"> class="hljs-ln-code"> class="hljs-ln-line"> <value>falsevalue>
  208. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="442"> class="hljs-ln-code"> class="hljs-ln-line"> Should SSL be used by the servers?
  209. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="443"> class="hljs-ln-code"> class="hljs-ln-line">
  210. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="444"> class="hljs-ln-code"> class="hljs-ln-line">
  211. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="445"> class="hljs-ln-code"> class="hljs-ln-line">
  212. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="446"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.ssl.client.auth
  213. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="447"> class="hljs-ln-code"> class="hljs-ln-line"> <value>falsevalue>
  214. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="448"> class="hljs-ln-code"> class="hljs-ln-line"> Should client authentication be used for SSL connections?
  215. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="449"> class="hljs-ln-code"> class="hljs-ln-line">
  216. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="450"> class="hljs-ln-code"> class="hljs-ln-line">
  217. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="451"> class="hljs-ln-code"> class="hljs-ln-line">
  218. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="452"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.ssl.keystore.path
  219. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="453"> class="hljs-ln-code"> class="hljs-ln-line"> <value>keystorevalue>
  220. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="454"> class="hljs-ln-code"> class="hljs-ln-line"> Path to keystore relative to Zeppelin configuration directory
  221. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="455"> class="hljs-ln-code"> class="hljs-ln-line">
  222. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="456"> class="hljs-ln-code"> class="hljs-ln-line">
  223. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="457"> class="hljs-ln-code"> class="hljs-ln-line">
  224. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="458"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.ssl.keystore.type
  225. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="459"> class="hljs-ln-code"> class="hljs-ln-line"> <value>JKSvalue>
  226. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="460"> class="hljs-ln-code"> class="hljs-ln-line"> The format of the given keystore (e.g. JKS or PKCS12)
  227. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="461"> class="hljs-ln-code"> class="hljs-ln-line">
  228. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="462"> class="hljs-ln-code"> class="hljs-ln-line">
  229. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="463"> class="hljs-ln-code"> class="hljs-ln-line">
  230. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="464"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.ssl.keystore.password
  231. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="465"> class="hljs-ln-code"> class="hljs-ln-line"> <value>change mevalue>
  232. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="466"> class="hljs-ln-code"> class="hljs-ln-line"> Keystore password. Can be obfuscated by the Jetty Password tool
  233. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="467"> class="hljs-ln-code"> class="hljs-ln-line">
  234. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="468"> class="hljs-ln-code"> class="hljs-ln-line">
  235. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="469"> class="hljs-ln-code"> class="hljs-ln-line">
  236. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="476"> class="hljs-ln-code"> class="hljs-ln-line">
  237. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="477"> class="hljs-ln-code"> class="hljs-ln-line">
  238. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="478"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.ssl.truststore.path
  239. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="479"> class="hljs-ln-code"> class="hljs-ln-line"> <value>truststorevalue>
  240. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="480"> class="hljs-ln-code"> class="hljs-ln-line"> Path to truststore relative to Zeppelin configuration directory. Defaults to the keystore path
  241. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="481"> class="hljs-ln-code"> class="hljs-ln-line">
  242. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="482"> class="hljs-ln-code"> class="hljs-ln-line">
  243. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="483"> class="hljs-ln-code"> class="hljs-ln-line">
  244. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="484"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.ssl.truststore.type
  245. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="485"> class="hljs-ln-code"> class="hljs-ln-line"> <value>JKSvalue>
  246. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="486"> class="hljs-ln-code"> class="hljs-ln-line"> The format of the given truststore (e.g. JKS or PKCS12). Defaults to the same type as the keystore type
  247. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="487"> class="hljs-ln-code"> class="hljs-ln-line">
  248. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="488"> class="hljs-ln-code"> class="hljs-ln-line">
  249. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="489"> class="hljs-ln-code"> class="hljs-ln-line">
  250. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="496"> class="hljs-ln-code"> class="hljs-ln-line">
  251. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="497"> class="hljs-ln-code"> class="hljs-ln-line">
  252. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="504"> class="hljs-ln-code"> class="hljs-ln-line">
  253. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="505"> class="hljs-ln-code"> class="hljs-ln-line">
  254. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="512"> class="hljs-ln-code"> class="hljs-ln-line">
  255. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="513"> class="hljs-ln-code"> class="hljs-ln-line">
  256. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="520"> class="hljs-ln-code"> class="hljs-ln-line">
  257. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="521"> class="hljs-ln-code"> class="hljs-ln-line">
  258. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="528"> class="hljs-ln-code"> class="hljs-ln-line">
  259. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="529"> class="hljs-ln-code"> class="hljs-ln-line">
  260. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="530"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.server.allowed.origins
  261. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="531"> class="hljs-ln-code"> class="hljs-ln-line"> <value>*value>
  262. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="532"> class="hljs-ln-code"> class="hljs-ln-line"> Allowed sources for REST and WebSocket requests (i.e. http://onehost:8080,http://otherhost.com). If you leave * you are vulnerable to https://issues.apache.org/jira/browse/ZEPPELIN-173
  263. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="533"> class="hljs-ln-code"> class="hljs-ln-line">
  264. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="534"> class="hljs-ln-code"> class="hljs-ln-line">
  265. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="535"> class="hljs-ln-code"> class="hljs-ln-line">
  266. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="536"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.username.force.lowercase
  267. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="537"> class="hljs-ln-code"> class="hljs-ln-line"> <value>falsevalue>
  268. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="538"> class="hljs-ln-code"> class="hljs-ln-line"> Force convert username case to lower case, useful for Active Directory/LDAP. Default is not to change case
  269. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="539"> class="hljs-ln-code"> class="hljs-ln-line">
  270. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="540"> class="hljs-ln-code"> class="hljs-ln-line">
  271. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="541"> class="hljs-ln-code"> class="hljs-ln-line">
  272. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="542"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.notebook.default.owner.username
  273. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="543"> class="hljs-ln-code"> class="hljs-ln-line"> <value>value>
  274. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="544"> class="hljs-ln-code"> class="hljs-ln-line"> Set owner role by default
  275. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="545"> class="hljs-ln-code"> class="hljs-ln-line">
  276. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="546"> class="hljs-ln-code"> class="hljs-ln-line">
  277. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="547"> class="hljs-ln-code"> class="hljs-ln-line">
  278. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="548"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.notebook.public
  279. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="549"> class="hljs-ln-code"> class="hljs-ln-line"> <value>truevalue>
  280. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="550"> class="hljs-ln-code"> class="hljs-ln-line"> Make notebook public by default when created, private otherwise
  281. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="551"> class="hljs-ln-code"> class="hljs-ln-line">
  282. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="552"> class="hljs-ln-code"> class="hljs-ln-line">
  283. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="553"> class="hljs-ln-code"> class="hljs-ln-line">
  284. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="554"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.websocket.max.text.message.size
  285. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="555"> class="hljs-ln-code"> class="hljs-ln-line"> <value>10240000value>
  286. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="556"> class="hljs-ln-code"> class="hljs-ln-line"> Size in characters of the maximum text message to be received by websocket. Defaults to 10240000
  287. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="557"> class="hljs-ln-code"> class="hljs-ln-line">
  288. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="558"> class="hljs-ln-code"> class="hljs-ln-line">
  289. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="559"> class="hljs-ln-code"> class="hljs-ln-line">
  290. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="560"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.server.default.dir.allowed
  291. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="561"> class="hljs-ln-code"> class="hljs-ln-line"> <value>falsevalue>
  292. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="562"> class="hljs-ln-code"> class="hljs-ln-line"> Enable directory listings on server.
  293. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="563"> class="hljs-ln-code"> class="hljs-ln-line">
  294. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="564"> class="hljs-ln-code"> class="hljs-ln-line">
  295. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="565"> class="hljs-ln-code"> class="hljs-ln-line">
  296. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="566"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.interpreter.yarn.monitor.interval_secs
  297. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="567"> class="hljs-ln-code"> class="hljs-ln-line"> <value>10value>
  298. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="568"> class="hljs-ln-code"> class="hljs-ln-line"> Check interval in secs for yarn apps monitors
  299. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="569"> class="hljs-ln-code"> class="hljs-ln-line">
  300. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="570"> class="hljs-ln-code"> class="hljs-ln-line">
  301. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="571"> class="hljs-ln-code"> class="hljs-ln-line">
  302. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="591"> class="hljs-ln-code"> class="hljs-ln-line">
  303. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="592"> class="hljs-ln-code"> class="hljs-ln-line">
  304. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="593"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.server.jetty.name
  305. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="594"> class="hljs-ln-code"> class="hljs-ln-line"> <value> value>
  306. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="595"> class="hljs-ln-code"> class="hljs-ln-line"> Hardcoding Application Server name to Prevent Fingerprinting
  307. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="596"> class="hljs-ln-code"> class="hljs-ln-line">
  308. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="597"> class="hljs-ln-code"> class="hljs-ln-line">
  309. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="598"> class="hljs-ln-code"> class="hljs-ln-line">
  310. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="605"> class="hljs-ln-code"> class="hljs-ln-line">
  311. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="606"> class="hljs-ln-code"> class="hljs-ln-line">
  312. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="613"> class="hljs-ln-code"> class="hljs-ln-line">
  313. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="614"> class="hljs-ln-code"> class="hljs-ln-line">
  314. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="621"> class="hljs-ln-code"> class="hljs-ln-line">
  315. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="628"> class="hljs-ln-code"> class="hljs-ln-line">
  316. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="635"> class="hljs-ln-code"> class="hljs-ln-line">
  317. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="636"> class="hljs-ln-code"> class="hljs-ln-line">
  318. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="643"> class="hljs-ln-code"> class="hljs-ln-line">
  319. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="644"> class="hljs-ln-code"> class="hljs-ln-line">
  320. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="645"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.server.xframe.options
  321. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="646"> class="hljs-ln-code"> class="hljs-ln-line"> <value>SAMEORIGINvalue>
  322. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="647"> class="hljs-ln-code"> class="hljs-ln-line"> The X-Frame-Options HTTP response header can be used to indicate whether or not a browser should be allowed to render a page in a frame/iframe/object.
  323. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="648"> class="hljs-ln-code"> class="hljs-ln-line">
  324. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="649"> class="hljs-ln-code"> class="hljs-ln-line">
  325. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="650"> class="hljs-ln-code"> class="hljs-ln-line">
  326. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="657"> class="hljs-ln-code"> class="hljs-ln-line">
  327. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="658"> class="hljs-ln-code"> class="hljs-ln-line">
  328. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="659"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.server.xxss.protection
  329. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="660"> class="hljs-ln-code"> class="hljs-ln-line"> <value>1; mode=blockvalue>
  330. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="661"> class="hljs-ln-code"> class="hljs-ln-line"> The HTTP X-XSS-Protection response header is a feature of Internet Explorer, Chrome and Safari that stops pages from loading when they detect reflected cross-site scripting (XSS) attacks. When value is set to 1 and a cross-site scripting attack is detected, the browser will sanitize the page (remove the unsafe parts).
  331. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="662"> class="hljs-ln-code"> class="hljs-ln-line">
  332. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="663"> class="hljs-ln-code"> class="hljs-ln-line">
  333. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="664"> class="hljs-ln-code"> class="hljs-ln-line">
  334. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="665"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.server.xcontent.type.options
  335. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="666"> class="hljs-ln-code"> class="hljs-ln-line"> <value>nosniffvalue>
  336. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="667"> class="hljs-ln-code"> class="hljs-ln-line"> The HTTP X-Content-Type-Options response header helps to prevent MIME type sniffing attacks. It directs the browser to honor the type specified in the Content-Type header, rather than trying to determine the type from the content itself. The default value "nosniff" is really the only meaningful value. This header is supported on all browsers except Safari and Safari on iOS.
  337. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="668"> class="hljs-ln-code"> class="hljs-ln-line">
  338. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="669"> class="hljs-ln-code"> class="hljs-ln-line">
  339. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="670"> class="hljs-ln-code"> class="hljs-ln-line">
  340. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="683"> class="hljs-ln-code"> class="hljs-ln-line">
  341. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="684"> class="hljs-ln-code"> class="hljs-ln-line">
  342. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="685"> class="hljs-ln-code"> class="hljs-ln-line">
  343. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="691"> class="hljs-ln-code"> class="hljs-ln-line">
  344. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="692"> class="hljs-ln-code"> class="hljs-ln-line">
  345. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="705"> class="hljs-ln-code"> class="hljs-ln-line">
  346. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="706"> class="hljs-ln-code"> class="hljs-ln-line">
  347. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="713"> class="hljs-ln-code"> class="hljs-ln-line">
  348. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="714"> class="hljs-ln-code"> class="hljs-ln-line">
  349. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="750"> class="hljs-ln-code"> class="hljs-ln-line">
  350. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="751"> class="hljs-ln-code"> class="hljs-ln-line">
  351. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="752"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.run.mode
  352. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="753"> class="hljs-ln-code"> class="hljs-ln-line"> <value>autovalue>
  353. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="754"> class="hljs-ln-code"> class="hljs-ln-line"> 'auto|local|k8s|docker'
  354. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="755"> class="hljs-ln-code"> class="hljs-ln-line">
  355. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="756"> class="hljs-ln-code"> class="hljs-ln-line">
  356. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="757"> class="hljs-ln-code"> class="hljs-ln-line">
  357. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="758"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.k8s.portforward
  358. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="759"> class="hljs-ln-code"> class="hljs-ln-line"> <value>falsevalue>
  359. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="760"> class="hljs-ln-code"> class="hljs-ln-line"> Port forward to interpreter rpc port. Set 'true' only on local development when zeppelin.k8s.mode 'on'
  360. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="761"> class="hljs-ln-code"> class="hljs-ln-line">
  361. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="762"> class="hljs-ln-code"> class="hljs-ln-line">
  362. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="763"> class="hljs-ln-code"> class="hljs-ln-line">
  363. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="764"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.k8s.container.image
  364. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="765"> class="hljs-ln-code"> class="hljs-ln-line"> <value>apache/zeppelin:0.9.0-SNAPSHOTvalue>
  365. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="766"> class="hljs-ln-code"> class="hljs-ln-line"> Docker image for interpreters
  366. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="767"> class="hljs-ln-code"> class="hljs-ln-line">
  367. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="768"> class="hljs-ln-code"> class="hljs-ln-line">
  368. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="769"> class="hljs-ln-code"> class="hljs-ln-line">
  369. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="770"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.k8s.spark.container.image
  370. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="771"> class="hljs-ln-code"> class="hljs-ln-line"> <value>apache/spark:latestvalue>
  371. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="772"> class="hljs-ln-code"> class="hljs-ln-line"> Docker image for Spark executors
  372. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="773"> class="hljs-ln-code"> class="hljs-ln-line">
  373. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="774"> class="hljs-ln-code"> class="hljs-ln-line">
  374. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="775"> class="hljs-ln-code"> class="hljs-ln-line">
  375. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="776"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.k8s.template.dir
  376. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="777"> class="hljs-ln-code"> class="hljs-ln-line"> <value>k8svalue>
  377. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="778"> class="hljs-ln-code"> class="hljs-ln-line"> Kubernetes yaml spec files
  378. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="779"> class="hljs-ln-code"> class="hljs-ln-line">
  379. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="780"> class="hljs-ln-code"> class="hljs-ln-line">
  380. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="781"> class="hljs-ln-code"> class="hljs-ln-line">
  381. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="782"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.docker.container.image
  382. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="783"> class="hljs-ln-code"> class="hljs-ln-line"> <value>apache/zeppelin:0.8.0value>
  383. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="784"> class="hljs-ln-code"> class="hljs-ln-line"> Docker image for interpreters
  384. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="785"> class="hljs-ln-code"> class="hljs-ln-line">
  385. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="786"> class="hljs-ln-code"> class="hljs-ln-line">
  386. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="787"> class="hljs-ln-code"> class="hljs-ln-line">
  387. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="788"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.search.index.rebuild
  388. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="789"> class="hljs-ln-code"> class="hljs-ln-line"> <value>falsevalue>
  389. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="790"> class="hljs-ln-code"> class="hljs-ln-line"> Whether rebuild index when zeppelin start. If true, it would read all notes and rebuild the index, this would consume lots of memory if you have large amounts of notes, so by default it is false
  390. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="791"> class="hljs-ln-code"> class="hljs-ln-line">
  391. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="792"> class="hljs-ln-code"> class="hljs-ln-line">
  392. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="793"> class="hljs-ln-code"> class="hljs-ln-line">
  393. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="794"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.search.use.disk
  394. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="795"> class="hljs-ln-code"> class="hljs-ln-line"> <value>truevalue>
  395. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="796"> class="hljs-ln-code"> class="hljs-ln-line"> Whether using disk for storing search index, if false, memory will be used instead.
  396. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="797"> class="hljs-ln-code"> class="hljs-ln-line">
  397. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="798"> class="hljs-ln-code"> class="hljs-ln-line">
  398. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="799"> class="hljs-ln-code"> class="hljs-ln-line">
  399. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="800"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.search.index.path
  400. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="801"> class="hljs-ln-code"> class="hljs-ln-line"> <value>/tmp/zeppelin-indexvalue>
  401. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="802"> class="hljs-ln-code"> class="hljs-ln-line"> path for storing search index on disk.
  402. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="803"> class="hljs-ln-code"> class="hljs-ln-line">
  403. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="804"> class="hljs-ln-code"> class="hljs-ln-line">
  404. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="805"> class="hljs-ln-code"> class="hljs-ln-line">
  405. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="806"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.jobmanager.enable
  406. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="807"> class="hljs-ln-code"> class="hljs-ln-line"> <value>${jobmanagerEnable}value>
  407. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="808"> class="hljs-ln-code"> class="hljs-ln-line"> The Job tab in zeppelin page seems not so useful instead it cost lots of memory and affect the performance.
  408. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="809"> class="hljs-ln-code"> class="hljs-ln-line"> Disable it can save lots of memory
  409. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="810"> class="hljs-ln-code"> class="hljs-ln-line">
  410. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="811"> class="hljs-ln-code"> class="hljs-ln-line">
  411. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="812"> class="hljs-ln-code"> class="hljs-ln-line">
  412. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="813"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.spark.only_yarn_cluster
  413. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="814"> class="hljs-ln-code"> class="hljs-ln-line"> <value>falsevalue>
  414. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="815"> class="hljs-ln-code"> class="hljs-ln-line"> Whether only allow yarn cluster mode
  415. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="816"> class="hljs-ln-code"> class="hljs-ln-line">
  416. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="817"> class="hljs-ln-code"> class="hljs-ln-line">
  417. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="818"> class="hljs-ln-code"> class="hljs-ln-line">
  418. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="819"> class="hljs-ln-code"> class="hljs-ln-line"> zeppelin.note.file.exclude.fields
  419. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="820"> class="hljs-ln-code"> class="hljs-ln-line"> <value>value>
  420. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="821"> class="hljs-ln-code"> class="hljs-ln-line"> fields to be excluded from being saved in note files, with Paragraph prefix mean the fields in Paragraph, e.g. Paragraph.results
  421. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="822"> class="hljs-ln-code"> class="hljs-ln-line">
  422. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="823"> class="hljs-ln-code"> class="hljs-ln-line">
  423. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="824"> class="hljs-ln-code"> class="hljs-ln-line"><#list itemList as item>
  424. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="825"> class="hljs-ln-code"> class="hljs-ln-line">
  425. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="826"> class="hljs-ln-code"> class="hljs-ln-line"> ${item.name}
  426. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="827"> class="hljs-ln-code"> class="hljs-ln-line"> <value>${item.value}value>
  427. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="828"> class="hljs-ln-code"> class="hljs-ln-line">
  428. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="829"> class="hljs-ln-code"> class="hljs-ln-line">#list>
  429. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="830"> class="hljs-ln-code"> class="hljs-ln-line">
  430. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="831"> class="hljs-ln-code"> class="hljs-ln-line">
  431. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="832"> class="hljs-ln-code"> class="hljs-ln-line">
class="hide-preCode-box"> class="hljs-button signin active" data-title="登录复制" data-report-click="{"spm":"1001.2101.3001.4334"}" onclick="hljs.signin(event)">

配置完成后需要重启,work也需要重启

/opt/datasophon/DDP/packages/datasophon-manager-1.2.1/bin/datasophon-api.sh start api
 class="hljs-button signin active" data-title="登录复制" data-report-click="{"spm":"1001.2101.3001.4334"}" onclick="hljs.signin(event)">

重启完成后,我们完成安装。

登录页面 http://192.168.2.100:8889/


三、配置常用解释器


3.1配置Hive解释器


前提条件我们需要启动HiverServer2。

复制hive-site.xml到zeppline中

cp /opt/datasophon/hive-3.1.0/conf/hive-site.xml /opt/datasophon/zeppelin-0.10.1/conf/ class="hljs-button signin active" data-title="登录复制" data-report-click="{"spm":"1001.2101.3001.4334"}" onclick="hljs.signin(event)">

将如下jar包拷贝到目录:/opt/datasophon/zeppelin-0.10.1/interpreter/jdbc

  1. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1"> class="hljs-ln-code"> class="hljs-ln-line">commons-lang-2.6.jar
  2. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="2"> class="hljs-ln-code"> class="hljs-ln-line">curator-client-2.12.0.jar
  3. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="3"> class="hljs-ln-code"> class="hljs-ln-line">guava-19.0.jar
  4. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="4"> class="hljs-ln-code"> class="hljs-ln-line">hadoop-common-3.3.3.jar
  5. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="5"> class="hljs-ln-code"> class="hljs-ln-line">hive-common-3.1.0.jar
  6. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="6"> class="hljs-ln-code"> class="hljs-ln-line">hive-exec-3.1.0.jar
  7. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="7"> class="hljs-ln-code"> class="hljs-ln-line">hive-jdbc-3.1.0.jar
  8. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="8"> class="hljs-ln-code"> class="hljs-ln-line">hive-serde-3.1.0.jar
  9. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="9"> class="hljs-ln-code"> class="hljs-ln-line">hive-service-3.1.0.jar
  10. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="10"> class="hljs-ln-code"> class="hljs-ln-line">hive-service-rpc-3.1.0.jar
  11. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="11"> class="hljs-ln-code"> class="hljs-ln-line">httpclient-4.5.2.jar
  12. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="12"> class="hljs-ln-code"> class="hljs-ln-line">httpcore-4.4.4.jar
  13. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="13"> class="hljs-ln-code"> class="hljs-ln-line">libfb303-0.9.3.jar
  14. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="14"> class="hljs-ln-code"> class="hljs-ln-line">libthrift-0.9.3.jar
  15. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="15"> class="hljs-ln-code"> class="hljs-ln-line">mysql-connector-java-5.1.46-bin.jar
  16. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="16"> class="hljs-ln-code"> class="hljs-ln-line">mysql-connector-java.jar
  17. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="17"> class="hljs-ln-code"> class="hljs-ln-line">protobuf-java-2.5.0.jar
class="hide-preCode-box"> class="hljs-button signin active" data-title="登录复制" data-report-click="{"spm":"1001.2101.3001.4334"}" onclick="hljs.signin(event)">

jar包拷贝完成后,重启zeppline。

web界面配置集成hive

新建一个继承jdbc的解释器,命名为hive,如下图所示

配置默认jdbc URL和USER

我的配置如下:

class="table-box">

属性名称

属性值

default.url

jdbc:hive2://192.168.21.102:10000

default.user

hdfs

default.driver

org.apache.hive.jdbc.HiveDriver

创建新的notebook

Interpreter选择:hive

测试使用

3.2 配置trino解释器


将trino服务启动

新增拦截器

拦截器名字为trino,group设置为jdbc

设置属性,添加url和driver,用户名可以随便填,trino默认没有启动用户校验

jdbc:trino://192.168.21.102:10000

class="table-box">

属性名称

属性值

default.url

jdbc:trino://192.168.2.98:8086/hive

default.user

hdfs

default.driver

io.trino.jdbc.TrinoDriver

配置完成后我们选择重启

创建一个 new note

Interpreter选择:trino

测试查询hive表中数据

3.3 配置Spark解释器


Zeppelin默认的spark解释器包括%spark , %sql , %dep , %pyspark , %ipyspark , %r等子解释器,在实际应用中根据spark集群的参数修改具体的属性进入解释器配置界面,默认为local[*],Spark采用何种运行模式,参数配置信息如下。

进入编辑spark拦截器

选择编辑配置SPARK_HOME和spark.master,具体参数含义看官网。

创建note

解释器选择"spark"

测试运行note

  1. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1"> class="hljs-ln-code"> class="hljs-ln-line">%spark
  2. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="2"> class="hljs-ln-code"> class="hljs-ln-line">// create DataFrame from scala Seq. It can infer schema for you.
  3. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="3"> class="hljs-ln-code"> class="hljs-ln-line">val df1 = spark.createDataFrame(Seq((1, "andy", 20, "USA"), (2, "jeff", 23, "China"), (3, "james", 18, "USA"))).toDF("id", "name", "age", "country")
  4. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="4"> class="hljs-ln-code"> class="hljs-ln-line">df1.printSchema
  5. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="5"> class="hljs-ln-code"> class="hljs-ln-line">df1.show()
  6. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="6"> class="hljs-ln-code"> class="hljs-ln-line">
  7. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="7"> class="hljs-ln-code"> class="hljs-ln-line">// create DataFrame from scala case class
  8. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="8"> class="hljs-ln-code"> class="hljs-ln-line">case class Person(id:Int, name:String, age:Int, country:String)
  9. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="9"> class="hljs-ln-code"> class="hljs-ln-line">val df2 = spark.createDataFrame(Seq(Person(1, "andy", 20, "USA"), Person(2, "jeff", 23, "China"), Person(3, "james", 18, "USA")))
  10. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="10"> class="hljs-ln-code"> class="hljs-ln-line">df2.printSchema
  11. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="11"> class="hljs-ln-code"> class="hljs-ln-line">df2.show()
  12. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="12"> class="hljs-ln-code"> class="hljs-ln-line">
  13. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="13"> class="hljs-ln-code"> class="hljs-ln-line">import spark.implicits._
  14. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="14"> class="hljs-ln-code"> class="hljs-ln-line">// you can also create Dataset from scala case class
  15. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="15"> class="hljs-ln-code"> class="hljs-ln-line">val df3 = spark.createDataset(Seq(Person(1, "andy", 20, "USA"), Person(2, "jeff", 23, "China"), Person(3, "james", 18, "USA")))
  16. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="16"> class="hljs-ln-code"> class="hljs-ln-line">df3.printSchema
  17. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="17"> class="hljs-ln-code"> class="hljs-ln-line">df3.show()
class="hide-preCode-box"> class="hljs-button signin active" data-title="登录复制" data-report-click="{"spm":"1001.2101.3001.4334"}" onclick="hljs.signin(event)">

点击 运行

运行结果输出


Apache Zeppelin 一文打尽

高级工具 zeppelin 整合hive教程_zeppelin hive-CSDN博客

高级工具 zeppelin 整合hive教程_zeppelin hive-CSDN博客

data-report-view="{"mod":"1585297308_001","spm":"1001.2101.3001.6548","dest":"https://kangll.blog.csdn.net/article/details/142592063","extend1":"pc","ab":"new"}">> id="blogExtensionBox" style="width:400px;margin:auto;margin-top:12px" class="blog-extension-box"> class="blog_extension blog_extension_type2" id="blog_extension"> class="extension_official" data-report-click="{"spm":"1001.2101.3001.6471"}" data-report-view="{"spm":"1001.2101.3001.6471"}"> class="blog_extension_card_left"> class="blog_extension_card_cont"> 商务合作和技术交流 class="blog_extension_card_cont_r"> 微信名片
注:本文转载自blog.csdn.net的阿龙先生啊的文章"https://blog.csdn.net/qq_35995514/article/details/142592063"。版权归原作者所有,此博客不拥有其著作权,亦不承担相应法律责任。如有侵权,请联系我们删除。
复制链接

评论记录:

未查询到任何数据!