You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2014/07/25 11:42:38 UTC
[jira] [Commented] (PHOENIX-908) At MetaDataEndpointImpl
createTable, print large of Release unknown lockId: 5
[ https://issues.apache.org/jira/browse/PHOENIX-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14074239#comment-14074239 ]
Gabriel Reid commented on PHOENIX-908:
--------------------------------------
The V2 patch was actually a continuation of the original patch (i.e. they both needed to be applied), so I've just applied the original patch as well.
> 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
> Reporter: jay wong
> Priority: Critical
> Fix For: 3.1
>
> 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)