You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Panagiotis Garefalakis (Jira)" <ji...@apache.org> on 2021/04/23 15:20:00 UTC
[jira] [Commented] (HIVE-25051) Callers can access uninitialized
MessageBuilder instance causing NPE
[ https://issues.apache.org/jira/browse/HIVE-25051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17330853#comment-17330853 ]
Panagiotis Garefalakis commented on HIVE-25051:
-----------------------------------------------
Merged via https://github.com/apache/hive/pull/2210
> Callers can access uninitialized MessageBuilder instance causing NPE
> --------------------------------------------------------------------
>
> Key: HIVE-25051
> URL: https://issues.apache.org/jira/browse/HIVE-25051
> Project: Hive
> Issue Type: Bug
> Components: Standalone Metastore
> Reporter: Csaba Juhász
> Assignee: Csaba Juhász
> Priority: Critical
> Labels: pull-request-available
> Attachments: HIVE-25051.patch
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The creation of the singleton MessageBuilder instance is unsafe, threads can access the uninitialized instance.
> https://github.com/apache/hive/blob/326abf9685de39cf4f1b3222d84fe9cbc465710a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageBuilder.java#L154
--
This message was sent by Atlassian Jira
(v8.3.4#803005)