hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <>
Subject [jira] [Commented] (HIVE-17669) Cache to optimize SearchArgument deserialization
Date Tue, 03 Oct 2017 23:40:01 GMT


Prasanth Jayachandran commented on HIVE-17669:

I think replacing cache expiration with weight based eviction could be a better approach (weight
can be length of string). Also cutting down on the configs, would be better to disable the
cache for any values <= 0. 
With weight based eviction, you can drop MD5 as long strings will get evicted eventually.

> Cache to optimize SearchArgument deserialization
> ------------------------------------------------
>                 Key: HIVE-17669
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: ORC, Query Processor
>    Affects Versions: 2.2.0, 3.0.0
>            Reporter: Mithun Radhakrishnan
>            Assignee: Mithun Radhakrishnan
>         Attachments: HIVE-17699.1.patch, HIVE-17699.2.patch
> And another, from [~selinazh] and [~cdrome]. (YHIVE-927)
> When a mapper needs to process multiple ORC files, it might land up having use essentially
the same {{SearchArgument}} over several files. It would be good not to have to deserialize
from string, over and over again. Caching the object against the string-form should speed
things up.

This message was sent by Atlassian JIRA

View raw message