You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2008/10/16 01:29:49 UTC

svn commit: r705098 - /hadoop/hbase/branches/0.18/src/java/org/apache/hadoop/hbase/regionserver/FailedLogCloseException.java

Author: stack
Date: Wed Oct 15 16:29:48 2008
New Revision: 705098

URL: http://svn.apache.org/viewvc?rev=705098&view=rev
Log:
HBASE-930 RegionServer stuck: HLog: Could not append. Requesting close of log java.io.IOException: Could not get block locations. Aborting...

Added:
    hadoop/hbase/branches/0.18/src/java/org/apache/hadoop/hbase/regionserver/FailedLogCloseException.java

Added: hadoop/hbase/branches/0.18/src/java/org/apache/hadoop/hbase/regionserver/FailedLogCloseException.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.18/src/java/org/apache/hadoop/hbase/regionserver/FailedLogCloseException.java?rev=705098&view=auto
==============================================================================
--- hadoop/hbase/branches/0.18/src/java/org/apache/hadoop/hbase/regionserver/FailedLogCloseException.java (added)
+++ hadoop/hbase/branches/0.18/src/java/org/apache/hadoop/hbase/regionserver/FailedLogCloseException.java Wed Oct 15 16:29:48 2008
@@ -0,0 +1,46 @@
+/**
+ * Copyright 2008 The Apache Software Foundation
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.hadoop.hbase.regionserver;
+
+import java.io.IOException;
+
+/**
+ * Thrown when we fail close of the write-ahead-log file.
+ * Package private.  Only used inside this package.
+ */
+class FailedLogCloseException extends IOException {
+  private static final long serialVersionUID = 1759152841462990925L;
+
+  public FailedLogCloseException() {
+    super();
+  }
+
+  public FailedLogCloseException(String arg0) {
+    super(arg0);
+  }
+
+  public FailedLogCloseException(Throwable arg0) {
+    super(arg0);
+  }
+
+  public FailedLogCloseException(String arg0, Throwable arg1) {
+    super(arg0, arg1);
+  }
+}
\ No newline at end of file