SmartSense Configuration Guidelines
Also available as:
PDF

Activity explorer

The following configuration properties are available for activity explorer:

Table 1. Activity Explorer configuration properties
Property Name Description Where to Configure Guidelines

users.admin

Password for activity explorer's admin user when using local authentication.

Type: string

Default Value: (no value)

Ambari Config:

Activity Analysis

Config File:

/etc/zeppelin/conf/shiro.ini

This should be updated only during installation. It requires uninstall and re-install if you have to update the password for admin access.

main.sessionManager

The SessionManager, as its name might imply, manages sessions for all subjects in an application: session creation, deletion, inactivity, validation, and so on. Like other core architectural components in Apache Shiro, the SessionManager is a top-level component maintained by the SecurityManager.

The default SecurityManager implementation uses a DefaultSessionManager out of the box. The DefaultSessionManager implementation provides enterprise-grade session management features (such as session validation and orphan cleanup) needed for an application.

Type: string

Default Value:

org.apache.shiro.web.session.mgt.Default

WebSessionManager

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Shiro documentation.

main.securityManager.sessionManager

The default value applies the value set in main.sessionManager to this property. If needed, you can set this to a value specific for security manager.

Type: string

Default Value: $sessionManager

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Shiro documentation.

securityManager.sessionManager.globalSes

sionTimeout

Sets the default timeout value (in milliseconds) for all newly created sessions. Changing this property will automatically apply the new value to all sessions.

Type: long

Default Value: 86400000

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Shiro documentation.

zeppelin.server.addr

Binding address for Zeppelin activity explorer.

Type: string

Default Value: 0.0.0.0

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.server.port

Port on which Zeppelin UI is available.

Type: int

Default Value: 9060

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.server.context.path

Context path of the web application.

Type: string

Default Value: /

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.war.tempdir

Location of Jetty temporary directory.

Type: string

Default Value:

/var/lib/smartsense/activity-explorer/webapp

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.notebook.dir

Path or URI for notebook persist.

Type: string

Default Value:

/var/lib/smartsense/activity-explorer/notebook

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.notebook.homescreen.hide

When set to true, hides home screen notebook from list.

Type: boolean

Default Value: false

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.notebook.storage

Notebook persistence layer implementation.

Type: string

Default Value:

org.apache.zeppelin.notebook.repo.VFS

NotebookRepo

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.interpreter.dir

Interpreter implementation base directory.

Type: string

Default Value:

/usr/hdp/share/hst/activity-explorer/interpreter

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.interpreters

A comma separated list of interpreter configurations. First interpreter becomes default.

Type: string

Default Value: org.apache.zeppelin.phoenix.Phoenix

Interpreter

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.interpreter.connect.timeout

Interpreter process connect timeout in milliseconds.

Type: int

Default Value: 30000

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.ssl

Enables using SSL for the servers.

Type: boolean

Default Value: false

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.ssl.client.auth

Enables client authentication for SSL connections.

Type: boolean

Default Value: false

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.ssl.keystore.path

Path to keystore relative to the activity explorer configuration directory.

Type: stringzeppelin.ssl.truststore.type

Default Value:

/var/lib/smartsense/activity-explorer/keystore

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.ssl.keystore.type

The format of the given keystore (for example JKS or PKCS12).

Type: string

Default Value: JKS

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.ssl.keystore.password

Keystore password. It can be obfuscated using the Jetty password tool.

Type: string

Default Value: admin

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.ssl.key.manager.password

Key Manager password. Defaults to keystore password. It can be obfuscated.

Type: string

Default Value: admin

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.ssl.truststore.path

Path to truststore relative to activity explorer configuration directory. Defaults to the keystore path.

Type: string

Default Value:

/var/lib/smartsense/activity-explorer/truststore

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.ssl.truststore.type

The format of the given truststore (for example JKS or PKCS12). Defaults to the same type as the keystore type.

Type: string

Default Value: JKS

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.ssl.truststore.password

Truststore password. Can be obfuscated using the Jetty password tool. Defaults to the keystore password.

Type: string

Default Value: admin

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.server.allowed.origins

Allowed sources for REST and WebSocket requests (i.e. http://onehost:8080,http://otherhost.com).

If you change from * you are vulnerable to the issue described in ZEPPELIN-173.

Type: string

Default Value: *

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.anonymous.allowed

Enables access by anonymous user.

Type: boolean

Default Value: false

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.

zeppelin.websocket.max.text.message.size

Size in characters of the maximum text message to be received by WebSocket.

Type: long

Default Value: 1024000

Ambari Config:

Advanced > Advanced activity-zeppelin-shiro

Config File:

/etc/zeppelin/conf/shiro.ini

Refer to Apache Zeppelin 0.6.2 documentation.