Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.1.0
-
None
-
None
-
docs
Description
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
Attachments
Issue Links
- links to