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/24 11:48:38 UTC

[jira] [Updated] (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:all-tabpanel ]

Gabriel Reid updated PHOENIX-908:
---------------------------------

    Affects Version/s:     (was: 5.0.0)
                           (was: 4.0.0)
        Fix Version/s:     (was: 5.0.0)
                           (was: 4.0.0)
                           (was: 3.0.0)
                       3.1

Updating affected versions and fix versions

> 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)