You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alexander Pivovarov (JIRA)" <ji...@apache.org> on 2015/05/06 05:55:59 UTC
[jira] [Created] (HIVE-10619) Fix ConcurrentHashMap.get in
MetadataListStructObjectInspector.getInstance (52)
Alexander Pivovarov created HIVE-10619:
------------------------------------------
Summary: Fix ConcurrentHashMap.get in MetadataListStructObjectInspector.getInstance (52)
Key: HIVE-10619
URL: https://issues.apache.org/jira/browse/HIVE-10619
Project: Hive
Issue Type: Bug
Components: Serializers/Deserializers
Reporter: Alexander Pivovarov
Assignee: Alexander Pivovarov
Priority: Minor
cached.get(columnNames) should be replaced with cached.get(key) in the code block below
{code}
cached = new ConcurrentHashMap<List<List<String>>, MetadataListStructObjectInspector>();
public static MetadataListStructObjectInspector getInstance(
List<String> columnNames) {
ArrayList<List<String>> key = new ArrayList<List<String>>(1);
key.add(columnNames);
MetadataListStructObjectInspector result = cached.get(columnNames);
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)