hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-2317) NSRE in lockRow is thrown as an ERROR
Date Tue, 07 May 2013 22:47:16 GMT

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

Jean-Daniel Cryans resolved HBASE-2317.
---------------------------------------

    Resolution: Invalid

We stopped doing row locks.
                
> NSRE in lockRow is thrown as an ERROR
> -------------------------------------
>
>                 Key: HBASE-2317
>                 URL: https://issues.apache.org/jira/browse/HBASE-2317
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.20.3
>            Reporter: Jean-Daniel Cryans
>            Priority: Minor
>              Labels: moved_from_0_20_5
>
> HRS.lockRow doesn't manage exceptions like all the other methods: 
> {code}
>     try {
>       HRegion region = getRegion(regionName);
>       Integer r = region.obtainRowLock(row);
>       long lockId = addRowLock(r,region);
>       LOG.debug("Row lock " + lockId + " explicitly acquired by client");
>       return lockId;
>     } catch (Throwable t) {
>       throw convertThrowableToIOE(cleanup(t,
>         "Error obtaining row lock (fsOk: " + this.fsOk + ")"));
>     }
> {code}
> Also it throws a special message and shows if fs is ok, although it already calls checkOpen()
at the beginning of that method.
> Fix by making it behaving like all the other calls.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message