[
https://issues.apache.org/jira/browse/CARBONDATA-614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Liang Chen resolved CARBONDATA-614.
-----------------------------------
Resolution: Fixed
> Fix dictionary locked issue
> ---------------------------
>
> Key: CARBONDATA-614
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-614> Project: CarbonData
> Issue Type: Bug
> Components: data-load
> Affects Versions: 1.0.0-incubating
> Reporter: QiangCai
> Assignee: QiangCai
> Fix For: 1.0.0-incubating
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> When carbon.properties.filepath is configured exactly, still show the following exception.
> Error: org.apache.spark.SparkException: Job aborted due to stage failure:
> Task 0 in stage 2.0 failed 4 times, most recent failure: Lost task 0.3 in
> stage 2.0 (TID 8, hadoop-slave-2): java.lang.RuntimeException: Dictionary
> file name is locked for updation. Please try after some time
> at scala.sys.package$.error(package.scala:27)
> at
> org.apache.carbondata.spark.rdd.CarbonGlobalDictionaryGenerateRDD$$anon$1.<init>(CarbonGlobalDictionaryRDD.scala:364)
> at
> org.apache.carbondata.spark.rdd.CarbonGlobalDictionaryGenerateRDD.compute(CarbonGlobalDictionaryRDD.scala:302)
> at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306)
> at org.apache.spark.rdd.RDD.iterator(RDD.scala:270)
> at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
> at org.apache.spark.scheduler.Task.run(Task.scala:89)
> at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)