Search in sources :

Example 1 with INimbus

use of backtype.storm.scheduler.INimbus in project jstorm by alibaba.

the class NimbusServer method main.

public static void main(String[] args) throws Exception {
    Thread.setDefaultUncaughtExceptionHandler(new DefaultUncaughtExceptionHandler());
    // read configuration files
    @SuppressWarnings("rawtypes") Map config = Utils.readStormConfig();
    JStormServerUtils.startTaobaoJvmMonitor();
    NimbusServer instance = new NimbusServer();
    INimbus iNimbus = new DefaultInimbus();
    instance.launchServer(config, iNimbus);
}
Also used : DefaultUncaughtExceptionHandler(com.alibaba.jstorm.utils.DefaultUncaughtExceptionHandler) INimbus(backtype.storm.scheduler.INimbus) Map(java.util.Map)

Aggregations

INimbus (backtype.storm.scheduler.INimbus)1 DefaultUncaughtExceptionHandler (com.alibaba.jstorm.utils.DefaultUncaughtExceptionHandler)1 Map (java.util.Map)1