hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cw (JIRA)" <>
Subject [jira] [Created] (HIVE-8192) Check DDL's writetype in DummyTxnManager
Date Fri, 19 Sep 2014 20:26:33 GMT
cw created HIVE-8192:

             Summary: Check DDL's writetype in DummyTxnManager
                 Key: HIVE-8192
             Project: Hive
          Issue Type: Bug
          Components: Locking
    Affects Versions: 0.13.1, 0.13.0
         Environment: hive0.13.1
            Reporter: cw
            Priority: Minor
             Fix For: 0.14.0

The patch of HIVE-6734 added some DDL writetypes and checked DDL writetype in
We use DummyTxnManager as the default value of hive.txn.manager in hive-site.xml. We noticed
that the operation of CREATE TEMPORARY FUNCTION has a DLL_NO_LOCK writetype but it requires
a EXCLUSIVE lock. If we try to create a temporary function while there's a SELECT is processing
at the same database, then the console will print 'conflicting lock present for default mode
EXCLUSIVE' and the CREATE TEMPORARY FUNCTION operation won't get the lock until the SELECT
is done. Maybe it's a good idea to check the DDL's writetype in DummyTxnManager too.

This message was sent by Atlassian JIRA

View raw message