livy_manager

Crates.iolivy_manager
lib.rslivy_manager
version0.2.0
sourcesrc
created_at2017-12-02 17:57:06.84593
updated_at2017-12-07 14:30:16.764801
descriptionLivy Manager - Web UI for Managing Apache Livy Sessions
homepagehttps://crates.io/crates/livy_manager
repositoryhttps://github.com/kjmrknsn/livy-manager
max_upload_size
id41368
size163,424
Keiji Yoshida (kjmrknsn)

documentation

https://docs.rs/livy_manager

README

Livy Manager

Build Status

Abstract

Livy Manager is a Web UI for managing Apache Livy sessions.

Issues Livy Manager Tackles with

  • It is difficult for non-developer Livy users to monitor or kill their Livy sessions and Spark applications.
    • They have to use an HTTP client tool like curl to call the Livy REST APIs.
    • Additionally, they have to manipulate machines on which a Kerberos client is installed if the Livy service is Kerberized.
    • In some services which use Livy, there's no way to kill a Livy session while a Spark application is running, so non-developer users cannot stop their Spark applications by themselves when they submitted a heavy and long running application accidentally.

Solutions Livy Manager provides

  • Non-developer Livy users can see and kill their Livy sessions.
  • Optional LDAP authentication and authorization feature is included.
    • Admin users can see and kill all of the Livy sessions.
    • Non-admin users can see and kill only their Livy sessions.
    • This feature works well with Zeppelin with LDAP authentication and the Livy interpreter.

Setup

  1. Download an executable binary file from the Releases page and deploy it to your server.
  2. Deploy a Livy Manager configuration file to your server. Please see conf/livy-manager.toml.template for its template.
  3. Run Livy Manager by executing the following command:
$ /path/to/livy-manager -c /path/to/livy-manager-configuration-file
Commit count: 30

cargo fmt