[jira] [Created] (CARBONDATA-1082) improve troubleshooting docs

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (CARBONDATA-1082) improve troubleshooting docs

Akash R Nilugal (Jira)
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)