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] Created: (HBASE-2317) NSRE in lockRow is thrown as an ERROR
Date Fri, 12 Mar 2010 18:44:27 GMT
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.4, 0.21.0

HRS.lockRow doesn't manage exceptions like all the other methods: 

    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 + ")"));

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.

View raw message