[
https://issues.apache.org/jira/browse/PHOENIX-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13963274#comment-13963274
]
Eli Levine commented on PHOENIX-908:
------------------------------------
This issues seems to be 3.0-only. MetaDataEndpointImpl on 4.0 and master
declares the list in question as
{code}
List<RowLock> locks = Lists.newArrayList();
{code}
See
https://git-wip-us.apache.org/repos/asf?p=incubator-phoenix.git;a=blob;f=phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java;h=dcda21e593eca6cf67e4c6f5db4dbf3b763ac27c;hb=refs/heads/master
[~jaywong], can you please verify? Thanks.
> 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)