[ 
https://issues.apache.org/jira/browse/PHOENIX-7433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Istvan Toth updated PHOENIX-7433:
---------------------------------
    Fix Version/s:     (was: 5.2.1)

> Phoenix RowLock should print rowkey and table name in readable format
> ---------------------------------------------------------------------
>
>                 Key: PHOENIX-7433
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7433
>             Project: Phoenix
>          Issue Type: Task
>    Affects Versions: 5.2.0
>            Reporter: Viraj Jasani
>            Priority: Major
>             Fix For: 5.3.0
>
>
> Phoenix has its own RowLock implementation. When the lock cannot be acquired 
> in the given time duration, something like this gets printed:
> {code:java}
> coprocessor.MetaDataEndpointImpl - getTable failed
> org.apache.hadoop.hbase.exceptions.TimeoutIOException: Timed out waiting for 
> lock for row: 00 41 2e 41 3c 59 54 49 43 53 40 52 45 50 4f 12 54 5f 49 4e 53 
> 54 41 4e 43 45 0f 44 41 54 41 50 50 55 4d 4d 41
>       at 
> org.apache.phoenix.hbase.index.LockManager.lockRow(LockManager.java:90)
>       at 
> org.apache.phoenix.hbase.index.LockManager.lockRow(LockManager.java:112)
>       at 
> org.apache.phoenix.coprocessor.MetaDataEndpointImpl.doGetTable(MetaDataEndpointImpl.java:3684)
>       at 
> org.apache.phoenix.coprocessor.MetaDataEndpointImpl.getTable(MetaDataEndpointImpl.java:685){code}
>  
> Proposal:
>  * Print the rowkey in human readable format using HBase Bytes utility
>  * Print table name on which the RowLock acquisition failed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to