carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cen yuhai (JIRA)" <>
Subject [jira] [Created] (CARBONDATA-1153) Can not add column because it is aborted
Date Sun, 11 Jun 2017 14:14:18 GMT
cen yuhai created CARBONDATA-1153:

             Summary: Can not add column because it is aborted
                 Key: CARBONDATA-1153
             Project: CarbonData
          Issue Type: Bug
          Components: spark-integration
    Affects Versions: 1.2.0
            Reporter: cen yuhai

why can't I add column? no one are altering the table...
scala> carbon.sql("alter table temp.yuhai_carbon add columns(test1 string)")
17/06/11 22:09:13 AUDIT [org.apache.spark.sql.execution.command.AlterTableAddColumns(207)
-- main]: [][master][Thread-1]Alter table add columns
request has been received for temp.yuhai_carbon
17/06/11 22:10:22 ERROR [org.apache.spark.scheduler.TaskSetManager(70) -- task-result-getter-3]:
Task 0 in stage 0.0 failed 4 times; aborting job
17/06/11 22:10:22 ERROR [org.apache.spark.sql.execution.command.AlterTableAddColumns(141)
-- main]: main Alter table add columns failed :Job aborted due to stage failure: Task 0 in
stage 0.0 failed 4 times, most recent failure: Lost task 0.3 in stage 0.0 (TID 3,,
executor 7): java.lang.RuntimeException: Dictionary file test1 is locked for updation. Please
try after some time
        at scala.sys.package$.error(package.scala:27)
        at org.apache.carbondata.spark.util.GlobalDictionaryUtil$.loadDefaultDictionaryValueForNewColumn(GlobalDictionaryUtil.scala:857)
        at org.apache.carbondata.spark.rdd.AlterTableAddColumnRDD$$anon$1.<init>(AlterTableAddColumnRDD.scala:83)
        at org.apache.carbondata.spark.rdd.AlterTableAddColumnRDD.compute(AlterTableAddColumnRDD.scala:68)
        at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:331)
        at org.apache.spark.rdd.RDD.iterator(RDD.scala:295)
        at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:88)
        at org.apache.spark.executor.Executor$
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$

This message was sent by Atlassian JIRA

View raw message