[ 
https://issues.apache.org/jira/browse/HBASE-3299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965908#action_12965908
 ] 

Jonathan Gray commented on HBASE-3299:
--------------------------------------

+1

> 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.

Reply via email to