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");
}
Aggregations