#livy #livy-manager

bin+lib livy_manager

Livy Manager - Web UI for Managing Apache Livy Sessions

3 releases (breaking)

Uses old Rust 2015

0.2.0 Dec 7, 2017
0.1.0 Dec 7, 2017
0.0.0 Dec 2, 2017

#887 in HTTP server

Download history 3/week @ 2023-11-06 1/week @ 2023-11-13 4/week @ 2023-11-20 11/week @ 2023-11-27 4/week @ 2023-12-04 6/week @ 2023-12-11 6/week @ 2023-12-25 4/week @ 2024-01-01 4/week @ 2024-01-15 2/week @ 2024-01-22 6/week @ 2024-01-29 1/week @ 2024-02-05 16/week @ 2024-02-12 62/week @ 2024-02-19

85 downloads per month

MIT/Apache

120KB
682 lines

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

Dependencies

~27–38MB
~617K SLoC