anubhav tarar created CARBONDATA-1082:
-----------------------------------------

             Summary: improve troubleshooting docs
                 Key: CARBONDATA-1082
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1082
             Project: CarbonData
          Issue Type: Bug
          Components: docs
    Affects Versions: 1.1.0
         Environment: docs
            Reporter: anubhav tarar
            Assignee: anubhav tarar


possible cause and solution for Table is locked for updation is not valid,there 
are two reasons

1 lock type is not correct.
based on your scenario set these properties in carbon.properties
##Local mode
carbon.lock.type=LOCALLOCK
##Cluster mode
carbon.lock.type=HDFSLOCK

2.both executor and driver must have the path of carbon.properties and it must 
be copied to all nodes

set properties as below

spark.executor.extraJavaOptions 
-Dcarbon.properties.filepath=/home/hduser/spark-2.1.0-bin-hadoop2.7/conf/carbon.properties

spark.driver.extraJavaOptions       
-Dcarbon.properties.filepath=/home/hduser/spark-2.1.0-bin-hadoop2.7/conf/carbon.properties

if you still have the problem simply delete temp/default/yourtablename 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to