[
https://issues.apache.org/jira/browse/HBASE-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack updated HBASE-2317:
-------------------------
Fix Version/s: (was: 0.20.4)
0.20.5
> NSRE in lockRow is thrown as an ERROR
> -------------------------------------
>
> Key: HBASE-2317
> URL: https://issues.apache.org/jira/browse/HBASE-2317
> Project: Hadoop HBase
> Issue Type: Bug
> Components: regionserver
> Affects Versions: 0.20.3
> Reporter: Jean-Daniel Cryans
> Priority: Minor
> Fix For: 0.20.5, 0.21.0
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.