[
https://issues.apache.org/jira/browse/HIVE-9693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14391215#comment-14391215
]
Alan Gates commented on HIVE-9693:
----------------------------------
HiveConf.java
{code}
METASTORE_HBASE_CACHE_MAX_READER_WAIT("hive.metastore.hbase.cache.max.reader.wait",
"1000ms", new TimeValidator(TimeUnit.MILLISECONDS)
{code}
AggregateStatsCache
{code}
long maxReaderWaitTime =
HiveConf.getTimeVar(conf,
HiveConf.ConfVars.METASTORE_HBASE_CACHE_MAX_READER_WAIT,
TimeUnit.SECONDS);
...
isLocked = candidateList.readLock.tryLock(maxReaderWaitTime,
TimeUnit.MILLISECONDS);
{code}
It's wobbling between seconds and milliseconds. Write lock has the same issue.
Let's leave the pom change out as it will create a merge conflict since that
change has already been made in trunk.
Other than that +1.
> Introduce a stats cache for aggregate stats in HBase metastore
> [hbase-metastore branch]
> ----------------------------------------------------------------------------------------
>
> Key: HIVE-9693
> URL: https://issues.apache.org/jira/browse/HIVE-9693
> Project: Hive
> Issue Type: Sub-task
> Components: Metastore
> Reporter: Vaibhav Gumashta
> Assignee: Vaibhav Gumashta
> Attachments: HIVE-9693.1.patch, HIVE-9693.2.patch, HIVE-9693.3.patch
>
>
> NO PRECOMMIT TESTS
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)