Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-1139

Hive job not starting due to error "conflicting lock present for default mode EXCLUSIVE "

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • v1.0, v1.1
    • v1.2, v1.4.0
    • None
    • None

    Description

      some kylin hive jobs are not starting due to "conflicting lock present for default mode EXCLUSIVE ", the log in the first cube build step is similar to :

      conflicting lock present for default mode EXCLUSIVE 
      conflicting lock present for default mode EXCLUSIVE 
      conflicting lock present for default mode EXCLUSIVE 
      conflicting lock present for default mode EXCLUSIVE 
      FAILED: Error in acquiring locks: Locks on the underlying objects cannot be acquired. retry after some time 
      

      This is related with Hive's concurrency model:
      https://cwiki.apache.org/confluence/display/Hive/Locking

      If the underlying table is locked by other users, Kylin will not be able to read from it. Hadoop admin suggest to set "hive.support.concurrency" as false and rerun the job.

      Attachments

        Activity

          People

            shaofengshi Shao Feng Shi
            shaofengshi Shao Feng Shi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: