You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2016/09/22 01:24:20 UTC

[jira] [Commented] (HIVE-14814) metastoreClient is used directly in Hive cause NPE

    [ 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)