Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-1082

improve troubleshooting docs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.0
    • None
    • docs
    • 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

          Activity

            People

              anubhavtarar anubhav tarar
              anubhavtarar anubhav tarar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h