hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaoyu Tang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-9330) DummyTxnManager will throw NPE if WriteEntity writeType has not been set
Date Fri, 09 Jan 2015 18:29:35 GMT

     [ https://issues.apache.org/jira/browse/HIVE-9330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chaoyu Tang updated HIVE-9330:
------------------------------
    Status: Patch Available  (was: Open)

> 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
>         Attachments: HIVE-9330.patch
>
>
> 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)

Mime
View raw message