[ https://issues.apache.org/jira/browse/HIVE-14814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15511780#comment-15511780 ]
Prasanth Jayachandran commented on HIVE-14814: ---------------------------------------------- Yeah. Updated. Will backport them. > 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: 1.3.0, 2.1.0, 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)