Index: src/java/org/apache/hadoop/hbase/WrongRegionException.java =================================================================== --- src/java/org/apache/hadoop/hbase/WrongRegionException.java (revision 673691) +++ src/java/org/apache/hadoop/hbase/WrongRegionException.java (working copy) @@ -1,42 +0,0 @@ -/** - * Copyright 2007 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 a request contains a key which is not part of this region - */ -public class WrongRegionException extends IOException { - private static final long serialVersionUID = 993179627856392526L; - - /** constructor */ - public WrongRegionException() { - super(); - } - - /** - * Constructor - * @param s message - */ - public WrongRegionException(String s) { - super(s); - } -} \ No newline at end of file Index: src/java/org/apache/hadoop/hbase/regionserver/WrongRegionException.java =================================================================== --- src/java/org/apache/hadoop/hbase/regionserver/WrongRegionException.java (revision 0) +++ src/java/org/apache/hadoop/hbase/regionserver/WrongRegionException.java (revision 0) @@ -0,0 +1,42 @@ +/** + * Copyright 2007 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 a request contains a key which is not part of this region + */ +public class WrongRegionException extends IOException { + private static final long serialVersionUID = 993179627856392526L; + + /** constructor */ + public WrongRegionException() { + super(); + } + + /** + * Constructor + * @param s message + */ + public WrongRegionException(String s) { + super(s); + } +} \ No newline at end of file Index: src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java =================================================================== --- src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java (revision 673691) +++ src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java (working copy) @@ -67,7 +67,6 @@ import org.apache.hadoop.hbase.LocalHBaseCluster; import org.apache.hadoop.hbase.NotServingRegionException; import org.apache.hadoop.hbase.RegionHistorian; -import org.apache.hadoop.hbase.RegionServerRunningException; import org.apache.hadoop.hbase.RemoteExceptionHandler; import org.apache.hadoop.hbase.UnknownScannerException; import org.apache.hadoop.hbase.Leases.LeaseStillHeldException; Index: src/java/org/apache/hadoop/hbase/regionserver/RegionServerRunningException.java =================================================================== --- src/java/org/apache/hadoop/hbase/regionserver/RegionServerRunningException.java (revision 0) +++ src/java/org/apache/hadoop/hbase/regionserver/RegionServerRunningException.java (revision 0) @@ -0,0 +1,44 @@ +/** + * Copyright 2007 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 if the region server log directory exists (which indicates another + * region server is running at the same address) + */ +public class RegionServerRunningException extends IOException { + private static final long serialVersionUID = 1L << 31 - 1L; + + /** Default Constructor */ + public RegionServerRunningException() { + super(); + } + + /** + * Constructs the exception and supplies a string as the message + * @param s - message + */ + public RegionServerRunningException(String s) { + super(s); + } + +} Index: src/java/org/apache/hadoop/hbase/regionserver/HRegion.java =================================================================== --- src/java/org/apache/hadoop/hbase/regionserver/HRegion.java (revision 673691) +++ src/java/org/apache/hadoop/hbase/regionserver/HRegion.java (working copy) @@ -52,7 +52,6 @@ import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.NotServingRegionException; import org.apache.hadoop.hbase.RegionHistorian; -import org.apache.hadoop.hbase.WrongRegionException; import org.apache.hadoop.hbase.filter.RowFilterInterface; import org.apache.hadoop.hbase.io.BatchOperation; import org.apache.hadoop.hbase.io.BatchUpdate; Index: src/java/org/apache/hadoop/hbase/RegionServerRunningException.java =================================================================== --- src/java/org/apache/hadoop/hbase/RegionServerRunningException.java (revision 673691) +++ src/java/org/apache/hadoop/hbase/RegionServerRunningException.java (working copy) @@ -1,44 +0,0 @@ -/** - * Copyright 2007 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 if the region server log directory exists (which indicates another - * region server is running at the same address) - */ -public class RegionServerRunningException extends IOException { - private static final long serialVersionUID = 1L << 31 - 1L; - - /** Default Constructor */ - public RegionServerRunningException() { - super(); - } - - /** - * Constructs the exception and supplies a string as the message - * @param s - message - */ - public RegionServerRunningException(String s) { - super(s); - } - -} Index: src/java/org/apache/hadoop/hbase/FileSystemVersionException.java =================================================================== --- src/java/org/apache/hadoop/hbase/FileSystemVersionException.java (revision 673691) +++ src/java/org/apache/hadoop/hbase/FileSystemVersionException.java (working copy) @@ -1,39 +0,0 @@ -/** - * 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; - -import java.io.IOException; - -/** Thrown when the file system needs to be upgraded */ -public class FileSystemVersionException extends IOException { - private static final long serialVersionUID = 1004053363L; - - /** default constructor */ - public FileSystemVersionException() { - super(); - } - - /** @param s message */ - public FileSystemVersionException(String s) { - super(s); - } - -} Index: src/java/org/apache/hadoop/hbase/master/ModifyColumn.java =================================================================== --- src/java/org/apache/hadoop/hbase/master/ModifyColumn.java (revision 673691) +++ src/java/org/apache/hadoop/hbase/master/ModifyColumn.java (working copy) @@ -22,7 +22,6 @@ import java.util.Map; import java.io.IOException; import org.apache.hadoop.hbase.HColumnDescriptor; -import org.apache.hadoop.hbase.InvalidColumnNameException; import org.apache.hadoop.hbase.ipc.HRegionInterface; import org.apache.hadoop.hbase.util.Bytes; import org.apache.hadoop.hbase.HRegionInfo; Index: src/java/org/apache/hadoop/hbase/master/RetryableMetaOperation.java =================================================================== --- src/java/org/apache/hadoop/hbase/master/RetryableMetaOperation.java (revision 673691) +++ src/java/org/apache/hadoop/hbase/master/RetryableMetaOperation.java (working copy) @@ -28,7 +28,6 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.ipc.RemoteException; -import org.apache.hadoop.hbase.InvalidColumnNameException; import org.apache.hadoop.hbase.RemoteExceptionHandler; import org.apache.hadoop.hbase.TableNotFoundException; import org.apache.hadoop.hbase.TableNotDisabledException; Index: src/java/org/apache/hadoop/hbase/master/InvalidColumnNameException.java =================================================================== --- src/java/org/apache/hadoop/hbase/master/InvalidColumnNameException.java (revision 0) +++ src/java/org/apache/hadoop/hbase/master/InvalidColumnNameException.java (revision 0) @@ -0,0 +1,42 @@ +/** + * Copyright 2007 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.master; + +import org.apache.hadoop.hbase.DoNotRetryIOException; + + +/** + * Thrown when an invalid column name is encountered + */ +public class InvalidColumnNameException extends DoNotRetryIOException { + private static final long serialVersionUID = 1L << 29 - 1L; + /** default constructor */ + public InvalidColumnNameException() { + super(); + } + + /** + * Constructor + * @param s message + */ + public InvalidColumnNameException(String s) { + super(s); + } +} \ No newline at end of file Index: src/java/org/apache/hadoop/hbase/InvalidColumnNameException.java =================================================================== --- src/java/org/apache/hadoop/hbase/InvalidColumnNameException.java (revision 673691) +++ src/java/org/apache/hadoop/hbase/InvalidColumnNameException.java (working copy) @@ -1,40 +0,0 @@ -/** - * Copyright 2007 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; - - -/** - * Thrown when an invalid column name is encountered - */ -public class InvalidColumnNameException extends DoNotRetryIOException { - private static final long serialVersionUID = 1L << 29 - 1L; - /** default constructor */ - public InvalidColumnNameException() { - super(); - } - - /** - * Constructor - * @param s message - */ - public InvalidColumnNameException(String s) { - super(s); - } -} \ No newline at end of file Index: src/java/org/apache/hadoop/hbase/util/FileSystemVersionException.java =================================================================== --- src/java/org/apache/hadoop/hbase/util/FileSystemVersionException.java (revision 0) +++ src/java/org/apache/hadoop/hbase/util/FileSystemVersionException.java (revision 0) @@ -0,0 +1,39 @@ +/** + * 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.util; + +import java.io.IOException; + +/** Thrown when the file system needs to be upgraded */ +public class FileSystemVersionException extends IOException { + private static final long serialVersionUID = 1004053363L; + + /** default constructor */ + public FileSystemVersionException() { + super(); + } + + /** @param s message */ + public FileSystemVersionException(String s) { + super(s); + } + +} Index: src/java/org/apache/hadoop/hbase/util/FSUtils.java =================================================================== --- src/java/org/apache/hadoop/hbase/util/FSUtils.java (revision 673691) +++ src/java/org/apache/hadoop/hbase/util/FSUtils.java (working copy) @@ -34,7 +34,6 @@ import org.apache.hadoop.fs.FSDataOutputStream; import org.apache.hadoop.fs.Path; -import org.apache.hadoop.hbase.FileSystemVersionException; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HConstants; import org.apache.hadoop.hbase.RemoteExceptionHandler; Index: src/java/org/apache/hadoop/hbase/NoServerForRegionException.java =================================================================== --- src/java/org/apache/hadoop/hbase/NoServerForRegionException.java (revision 673691) +++ src/java/org/apache/hadoop/hbase/NoServerForRegionException.java (working copy) @@ -1,42 +0,0 @@ -/** - * Copyright 2007 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 no region server can be found for a region - */ -public class NoServerForRegionException extends IOException { - private static final long serialVersionUID = 1L << 11 - 1L; - - /** default constructor */ - public NoServerForRegionException() { - super(); - } - - /** - * Constructor - * @param s message - */ - public NoServerForRegionException(String s) { - super(s); - } -} Index: src/java/org/apache/hadoop/hbase/client/HConnectionManager.java =================================================================== --- src/java/org/apache/hadoop/hbase/client/HConnectionManager.java (revision 673691) +++ src/java/org/apache/hadoop/hbase/client/HConnectionManager.java (working copy) @@ -40,7 +40,6 @@ import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.LocalHBaseCluster; import org.apache.hadoop.hbase.MasterNotRunningException; -import org.apache.hadoop.hbase.NoServerForRegionException; import org.apache.hadoop.hbase.RemoteExceptionHandler; import org.apache.hadoop.hbase.TableNotFoundException; import org.apache.hadoop.hbase.client.MetaScanner.MetaScannerVisitor; Index: src/java/org/apache/hadoop/hbase/client/NoServerForRegionException.java =================================================================== --- src/java/org/apache/hadoop/hbase/client/NoServerForRegionException.java (revision 0) +++ src/java/org/apache/hadoop/hbase/client/NoServerForRegionException.java (revision 0) @@ -0,0 +1,42 @@ +/** + * Copyright 2007 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.client; + +import java.io.IOException; + +/** + * Thrown when no region server can be found for a region + */ +public class NoServerForRegionException extends IOException { + private static final long serialVersionUID = 1L << 11 - 1L; + + /** default constructor */ + public NoServerForRegionException() { + super(); + } + + /** + * Constructor + * @param s message + */ + public NoServerForRegionException(String s) { + super(s); + } +}