You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2010/12/02 00:00:18 UTC

[jira] Resolved: (HBASE-3299) If failed open, we don't output the IOE

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

stack resolved HBASE-3299.
--------------------------

    Resolution: Fixed

Committed trunk and branch.

> If failed open, we don't output the IOE
> ---------------------------------------
>
>                 Key: HBASE-3299
>                 URL: https://issues.apache.org/jira/browse/HBASE-3299
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.90.0
>
>
> Jon found this one.... Here's fix:
> {code}
> Index: src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java
> ===================================================================
> --- src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java   (revision 1040359)
> +++ src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java   (working copy)
> @@ -111,8 +111,8 @@
>            }
>          });
>      } catch (IOException e) {
> -      LOG.error("IOException instantiating region for " + regionInfo +
> -        "; resetting state of transition node from OPENING to OFFLINE");
> +      LOG.error("Failed open of " + regionInfo +
> +        "; resetting state of transition node from OPENING to OFFLINE", e);
>        try {
>          // TODO: We should rely on the master timing out OPENING instead of this
>          // TODO: What if this was a split open?  The RS made the OFFLINE
> @@ -216,4 +216,4 @@
>      }
>      return openingVersion;
>    }
> -}
> \ No newline at end of file
> +}
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.