You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Chaoyu Tang (JIRA)" <ji...@apache.org> on 2015/01/09 19:23:34 UTC

[jira] [Created] (HIVE-9330) DummyTxnManager will throw NPE if WriteEntity writeType has not been set

Chaoyu Tang created HIVE-9330:
---------------------------------

             Summary: DummyTxnManager will throw NPE if WriteEntity writeType has not been set
                 Key: HIVE-9330
                 URL: https://issues.apache.org/jira/browse/HIVE-9330
             Project: Hive
          Issue Type: Bug
            Reporter: Chaoyu Tang
            Assignee: Chaoyu Tang
            Priority: Minor


DummyTxnManager line 259:
{code}
    switch (we.getWriteType()) {
      case DDL_EXCLUSIVE:
        return HiveLockMode.EXCLUSIVE;
      case DDL_SHARED:
        return HiveLockMode.SHARED;
...
{code}
will throw out NPE in case the WriteEntity(we) writeType has not been set.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)