First, I changed all the ports that appear in the tomcat/server.xml to avoid conflicts Second, changed kylin.rest.servers to the same as that of the tomcat for this instance in conf/kylin.properties
however, when starting the 2nd tomcat instance, it throws error information as below: [Thread-9]:[2015-04-28 15:44:34,366][INFO][org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:438)] - Initiating client connection, c onnectString=localhost:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@68702fc0 [Thread-9-SendThread(localhost:2181)]:[2015-04-28 15:44:34,405][INFO][org.apache.zookeeper.ClientCnxn$SendThread.logStartConnect(Client Cnxn.java:975)] - Opening socket connection to server localhost/ 127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown er ror) [Thread-9-SendThread(localhost:2181)]:[2015-04-28 15:44:34,409][INFO][org.apache.zookeeper.ClientCnxn$SendThread.primeConnection(Client Cnxn.java:852)] - Socket connection established to localhost/127.0.0.1:2181, initiating session [Thread-9-SendThread(localhost:2181)]:[2015-04-28 15:44:34,423][INFO][org.apache.zookeeper.ClientCnxn$SendThread.onConnected(ClientCnxn .java:1235)] - Session establishment complete on server localhost/ 127.0.0.1:2181, sessionid = 0x14cf8ec32bb0081, negotiated timeout = 4 0000 [Thread-9-EventThread]:[2015-04-28 15:44:34,441][INFO][org.apache.curator.framework.state.ConnectionStateManager.postState(ConnectionSt ateManager.java:228)] - State change: CONNECTED [Thread-9]:[2015-04-28 15:44:37,451][WARN][org.apache.kylin.job.impl.threadpool.DefaultScheduler.init(DefaultScheduler.java:205)] - fai l to acquire lock, scheduler has not been started [Thread-9]:[2015-04-28 15:44:37,456][INFO][org.apache.zookeeper.ZooKeeper.close(ZooKeeper.java:684)] - Session: 0x14cf8ec32bb0081 close d [Thread-9-EventThread]:[2015-04-28 15:44:37,456][INFO][org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:512)] - EventThr ead shut down [Thread-9]:[2015-04-28 15:44:37,459][ERROR][org.apache.kylin.rest.controller.JobController$1.run(JobController.java:87)] - scheduler ha s not been started
