[
https://issues.apache.org/jira/browse/PHOENIX-908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jay wong updated PHOENIX-908:
-----------------------------
Attachment: PHOENIX-908-v2.patch
change to
List<Integer> lids = Lists.newArrayListWithExpectedSize(5);
In multiple scene
> At MetaDataEndpointImpl createTable, print large of Release unknown lockId: 5
> -----------------------------------------------------------------------------
>
> Key: PHOENIX-908
> URL: https://issues.apache.org/jira/browse/PHOENIX-908
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 3.0.0, 4.0.0, 5.0.0
> Reporter: jay wong
> Priority: Critical
> Fix For: 3.0.0, 4.0.0, 5.0.0
>
> Attachments: PHOENIX-908-v2.patch, PHOENIX-908.patch
>
>
> when create table
> region server print large of log like:
> 2014-03-31 15:52:40,774 WARN org.apache.hadoop.hbase.regionserver.HRegion:
> Release unknown lockId: 5
> The code tell me
> List<Integer> lids = Lists.newArrayList(5);
> long clientTimeStamp =
> MetaDataUtil.getClientTimeStamp(tableMetadata);
> try {
> acquireLock(region, lockKey, lids);
> if (key != lockKey) {
> acquireLock(region, key, lids);
> }
> .......
> finally {
> releaseLocks(region, lids);
> }
> as put a 5 element in lids .so when releaseLocks always have a lockId which
> is 5.
--
This message was sent by Atlassian JIRA
(v6.2#6252)