Github user xubo245 commented on a diff in the pull request: https://github.com/apache/carbondata/pull/2239#discussion_r184849996 --- Diff: integration/spark2/src/main/scala/org/apache/carbondata/store/SparkCarbonStore.scala --- @@ -110,8 +110,16 @@ class SparkCarbonStore extends MetaCachedCarbonStore { } def startSearchMode(): Unit = { + LOG.info("Search mode master start service") master = new Master(session.sparkContext.getConf) master.startService() + var count = 0 + while (!master.isStarted()) { + Thread.sleep(10) + count = count + 1; + LOG.info("Sleeping and waiting search mode master finish start " + count) --- End diff -- ok
---