Re: Error while loading - Table is locked for updation. Please try after some time ( Spark 1.6.2 )
Posted by
Liang Chen on
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/Error-while-loading-Table-is-locked-for-updation-Please-try-after-some-time-Spark-1-6-2-tp7335p9270.html
Hi
Please try the solution provided by li yinwei.
Because you using cluster mode and the data will be saved to hdfs, so please specify storePath with <HDFS path>
scala> val storePath = "hdfs://localohst:9000/home/hadoop/carbondata/bin/carbonshellstore"
scala> val cc = new CarbonContext(sc, storePath)
Regards
Liang
mryqc wrote
I have encountered the same problem. How to resolve it except by installing carbondata in another cluster?