예제 #1
0
def configure_zeppelin(spark):
    hookenv.status_set('maintenance', 'Setting up Zeppelin')
    zepp = Zeppelin(get_dist_config())
    zepp.setup_zeppelin()
    zepp.configure_zeppelin()
    zepp.start()
    zepp.open_ports()
    set_state('zeppelin.started')
    hookenv.status_set('active', 'Ready')
예제 #2
0
def configure_zeppelin(spark):
    hookenv.status_set('maintenance', 'Setting up Zeppelin')
    zepp = Zeppelin(get_dist_config())
    zepp.setup_zeppelin()
    zepp.configure_zeppelin()
    zepp.start()
    zepp.open_ports()
    set_state('zeppelin.started')
    hookenv.status_set('active', 'Ready')
def configure_zeppelin(spark):
    hookenv.status_set("maintenance", "Setting up Zeppelin")
    zepp = Zeppelin(get_dist_config())
    zepp.setup_zeppelin()
    zepp.configure_zeppelin()
    zepp.start()
    zepp.open_ports()
    set_state("zeppelin.started")
    hookenv.status_set("active", "Ready")
예제 #4
0
def stop_zeppelin():
    zepp = Zeppelin(get_dist_config())
    zepp.stop()
    remove_state('zepplin.started')
예제 #5
0
def install_zeppelin(hadoop):
    zepp = Zeppelin(get_dist_config())
    if zepp.verify_resources():
        hookenv.status_set('maintenance', 'Installing Zeppelin')
        zepp.install()
        set_state('zeppelin.installed')
예제 #6
0
def stop_zeppelin():
    zepp = Zeppelin(get_dist_config())
    zepp.stop()
    remove_state('zepplin.started')
예제 #7
0
def install_zeppelin(hadoop):
    zepp = Zeppelin(get_dist_config())
    if zepp.verify_resources():
        hookenv.status_set('maintenance', 'Installing Zeppelin')
        zepp.install()
        set_state('zeppelin.installed')
def install_zeppelin(hadoop):
    zepp = Zeppelin(get_dist_config())
    if zepp.verify_resources():
        hookenv.status_set("maintenance", "Installing Zeppelin")
        zepp.install()
        set_state("zeppelin.installed")