Login  Register

Re: Dictionary file is locked for Updation, unable to Load

Posted by David CaiQiang on Jan 04, 2017; 3:22am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/Dictionary-file-is-locked-for-Updation-unable-to-Load-tp5359p5422.html

I think you can have a look this maillist.
http://apache-carbondata-mailing-list-archive.1130556.n5.nabble.com/Dictionary-file-is-locked-for-updation-td5076.html

Have a look the following guide and pay attention to carbon.properties file.

https://cwiki.apache.org/confluence/display/CARBONDATA/Cluster+deployment+guide


For spark yarn cluster mode,
1. both driver side and executor side need same carbon.properties file.
2. set carbon.lock.type=HDFSLOCK
3. set carbon.properties.filepath
spark.executor.extraJavaOptions                 -Dcarbon.properties.filepath=<absolute path carbon.properties>
spark.driver.extraJavaOptions                   -Dcarbon.properties.filepath=<absolute path carbon.properties>
Best Regards
David Cai