Dictionary file is locked for updation
Posted by 李寅威 on Dec 27, 2016; 4:45am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/Dictionary-file-is-locked-for-updation-tp5076.html
Hi all,
when I run the following script:
scala> cc.sql(s"load data inpath 'hdfs://master:9000/carbondata/sample.csv' into table test_table")
it turns out that:
WARN 27-12 12:37:58,044 - Lost task 1.3 in stage 2.0 (TID 13, slave1): java.lang.RuntimeException: Dictionary file name is locked for updation. Please try after some time
what I have done are:
1.in carbon.properties, set carbon.lock.type=HDFSLOCK
2.send carbon.properties & spark-defaults.conf to all nodes of the clusters
if any of you have any idea, looking forward to your replay, thx~