hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HBASE-3299) If failed open, we don't output the IOE
Date Wed, 01 Dec 2010 23:00:18 GMT

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


Mime
View raw message