Search in sources :

Example 1 with SmartZeppelinServer

use of org.apache.zeppelin.server.SmartZeppelinServer in project SSM by Intel-bigdata.

the class SmartServer method initWith.

public void initWith() throws Exception {
    LOG.info("Start Init Smart Server");
    HadoopUtil.setSmartConfByHadoop(conf);
    MetaStore metaStore = MetaStoreUtils.getDBAdapter(conf);
    context = new ServerContext(conf, metaStore);
    initServiceMode(conf);
    engine = new SmartEngine(context);
    rpcServer = new SmartRpcServer(this, conf);
    zeppelinServer = new SmartZeppelinServer(conf, engine);
    LOG.info("Finish Init Smart Server");
}
Also used : MetaStore(org.smartdata.metastore.MetaStore) SmartZeppelinServer(org.apache.zeppelin.server.SmartZeppelinServer) ServerContext(org.smartdata.server.engine.ServerContext)

Aggregations

SmartZeppelinServer (org.apache.zeppelin.server.SmartZeppelinServer)1 MetaStore (org.smartdata.metastore.MetaStore)1 ServerContext (org.smartdata.server.engine.ServerContext)1