Karthik Manamcheri created HIVE-20986:
-----------------------------------------

             Summary: Add TransactionalValidationListener to HMS preListeners 
only when ACID support is enabled
                 Key: HIVE-20986
                 URL: https://issues.apache.org/jira/browse/HIVE-20986
             Project: Hive
          Issue Type: Improvement
            Reporter: Karthik Manamcheri
            Assignee: Adam Holley


We add the TransactionalValidationListener to the preListeners in HMS 
unconditionally.
{code:java}
public void init() throws MetaException {
  ..
  preListeners.add(0, new TransactionalValidationListener(conf));
  ..
}{code}

This causes some performance issues because the listener is called even when 
not needed. Lets add a condition around this and add this listener only if the 
transactional support is enabled.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to