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 2010/08/31 00:51:27 UTC

svn commit: r991015 - in /hbase/branches/0.90_master_rewrite: BRANCH_TODO.txt src/main/java/org/apache/hadoop/hbase/UnknownRegionException.java

Author: stack
Date: Mon Aug 30 22:51:27 2010
New Revision: 991015

URL: http://svn.apache.org/viewvc?rev=991015&view=rev
Log:
Added new exception

Added:
    hbase/branches/0.90_master_rewrite/src/main/java/org/apache/hadoop/hbase/UnknownRegionException.java
Modified:
    hbase/branches/0.90_master_rewrite/BRANCH_TODO.txt

Modified: hbase/branches/0.90_master_rewrite/BRANCH_TODO.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.90_master_rewrite/BRANCH_TODO.txt?rev=991015&r1=991014&r2=991015&view=diff
==============================================================================
--- hbase/branches/0.90_master_rewrite/BRANCH_TODO.txt (original)
+++ hbase/branches/0.90_master_rewrite/BRANCH_TODO.txt Mon Aug 30 22:51:27 2010
@@ -293,3 +293,4 @@ Later:
 
 TODO:
 + Add test to prove move region works.
++ Add test to prove enable/disable balancer works.

Added: hbase/branches/0.90_master_rewrite/src/main/java/org/apache/hadoop/hbase/UnknownRegionException.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.90_master_rewrite/src/main/java/org/apache/hadoop/hbase/UnknownRegionException.java?rev=991015&view=auto
==============================================================================
--- hbase/branches/0.90_master_rewrite/src/main/java/org/apache/hadoop/hbase/UnknownRegionException.java (added)
+++ hbase/branches/0.90_master_rewrite/src/main/java/org/apache/hadoop/hbase/UnknownRegionException.java Mon Aug 30 22:51:27 2010
@@ -0,0 +1,33 @@
+/**
+ * Copyright 2010 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;
+
+import java.io.IOException;
+
+/**
+ * Thrown when we are asked to operate on a region we know nothing about.
+ */
+public class UnknownRegionException extends IOException {
+  private static final long serialVersionUID = 1968858760475205392L;
+
+  public UnknownRegionException(String regionName) {
+    super(regionName);
+  }
+}
\ No newline at end of file