Skip to content

trencube/SchPark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SchPark - Web Scheduler for Spark

SchPark is a Scheduler for Spark with a web interface for manage all jobs. It uses spark-submit program for send jobs to Spark Master.

1. Requeriments

2. Installation

Check wiki: https://github.com/trencube/SchPark/wiki

3. Configuration

Config variables in SchPark/settings.py

SPARK_BIN_DIR = '/opt/spark/bin'
Is the spark binary directory

SPARK_MASTER = '127.0.0.1:7077'
Is the ip and port of spark master

Vhost example for apache

<VirtualHost *:80>

    ServerName serverdomain.com
    WSGIScriptAlias / /var/www/SchPark/SchPark/wsgi.py

    Alias /static/ /var/www/SchPark/static/

    <Directory />
            Options FollowSymLinks
            AllowOverride None
            Order deny,allow
            Allow from all
    </Directory>

</VirtualHost>