hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-14814) metastoreClient is used directly in Hive cause NPE
Date Thu, 22 Sep 2016 01:24:20 GMT

    [ https://issues.apache.org/jira/browse/HIVE-14814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15511757#comment-15511757
] 

Eugene Koifman commented on HIVE-14814:
---------------------------------------

+1 patch 1
but since HIVE-13622 this would have to go into 2.1.1 and 1.3, right?

> metastoreClient is used directly in Hive cause NPE
> --------------------------------------------------
>
>                 Key: HIVE-14814
>                 URL: https://issues.apache.org/jira/browse/HIVE-14814
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Dileep Kumar Chiguruvada
>            Assignee: Prasanth Jayachandran
>         Attachments: HIVE-14814.1.patch
>
>
> Changes introduced by HIVE-13622 uses metastoreClient directly in Hive.java which may
be null causing NPE. Instead it should use getMSC() which will initialize metastoreClient
variable when null.



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

Mime
View raw message