Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7202

DbTxnManager deadlocks in hcatalog.cli.TestSematicAnalysis.testAlterTblFFpart()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.1
    • 0.14.0
    • Locking
    • None

    Description

      select * from HIVE_LOCKS produces

      6                   |1                   |0                   |default                                                                                                                         |junit_sem_analysis                                                                                                              |NULL                                                                                                                            |w|r|1402354627716       |NULL                |unknown                                                                                                                         |ekoifman.local                                                                                                                  
      6                   |2                   |0                   |default                                                                                                                         |junit_sem_analysis                                                                                                              |b=2010-10-10                                                                                                                    |w|e|1402354627716       |NULL                |unknown                                                                                                                         |ekoifman.local                                                                                                                  
      
      2 rows selected
      

      easiest way to repro this is to add
      hiveConf.setBoolVar(HiveConf.ConfVars.HIVE_SUPPORT_CONCURRENCY, true);
      hiveConf.setVar(HiveConf.ConfVars.HIVE_TXN_MANAGER, "org.apache.hadoop.hive.ql.lockmgr.DbTxnManager");

      in HCatBaseTest.setUpHiveConf()

      Attachments

        1. HIVE-7202.patch
          6 kB
          Alan Gates

        Issue Links

          Activity

            People

              gates Alan Gates
              ekoifman Eugene Koifman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: