[ 
https://issues.apache.org/jira/browse/HIVE-1910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mac Yang updated HIVE-1910:
---------------------------

    Attachment: HIVE-1910.2.patch.txt

The combination of line 244 and the comma in the key of the map (line 115) was 
intended to handle the case where an object type is a substring of the other 
(for example, foo and foobar). However, looking at the code again, it offers no 
benefit over a straight forward split. I am attaching a new patch that uses 
split instead.

> Provide config parameters to control cache object pinning
> ---------------------------------------------------------
>
>                 Key: HIVE-1910
>                 URL: https://issues.apache.org/jira/browse/HIVE-1910
>             Project: Hive
>          Issue Type: Improvement
>          Components: Configuration
>    Affects Versions: 0.6.0
>            Reporter: Mac Yang
>            Priority: Minor
>         Attachments: HIVE-1910.1.patch.txt, HIVE-1910.2.patch.txt
>
>
> The metastore currently pin instances of the following classes in the 
> secondary cache,
> MTable, MStorageDescriptor, MSerDeInfo, MPartition, MDatabase, MType, 
> MFieldSchema, MOrder.class
> It would be better if this behavior is configurable instead of hard coded.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to