Login  Register

Re: Dictionary file is locked for updation

Posted by kumarvishal09 on Dec 27, 2016; 7:25am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/Dictionary-file-is-locked-for-updation-tp5076p5083.html

Hi,
can you please find *"HDFS lock path"* string in executor log and let me
know the complete log message.

-Regards
Kumar Vishal

On Tue, Dec 27, 2016 at 12:45 PM, 251469031 <[hidden email]> wrote:

> 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~
kumar vishal