HBASE-1180 Add missing import statements to SampleUploader and remove unnecessary @Overrides

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@741669 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2009-02-06 18:45:03 +00:00
parent 554932bf63
commit b741d8940c
5 changed files with 4 additions and 7 deletions

View File

@ -44,6 +44,8 @@ Release 0.20.0 - Unreleased
HBASE-1178 Add shutdown command to shell HBASE-1178 Add shutdown command to shell
HBASE-1184 HColumnDescriptor is too restrictive with family names HBASE-1184 HColumnDescriptor is too restrictive with family names
(Toby White via Andrew Purtell) (Toby White via Andrew Purtell)
HBASE-1180 Add missing import statements to SampleUploader and remove
unnecessary @Overrides (Ryan Smith via Andrew Purtell)
Release 0.19.0 - 01/21/2009 Release 0.19.0 - 01/21/2009
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -9,6 +9,8 @@ import org.apache.hadoop.fs.Path;
import org.apache.hadoop.hbase.io.BatchUpdate; import org.apache.hadoop.hbase.io.BatchUpdate;
import org.apache.hadoop.hbase.io.HbaseMapWritable; import org.apache.hadoop.hbase.io.HbaseMapWritable;
import org.apache.hadoop.hbase.io.ImmutableBytesWritable; import org.apache.hadoop.hbase.io.ImmutableBytesWritable;
import org.apache.hadoop.hbase.mapred.TableMapReduceUtil;
import org.apache.hadoop.hbase.mapred.TableReduce;
import org.apache.hadoop.hbase.util.Bytes; import org.apache.hadoop.hbase.util.Bytes;
import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text; import org.apache.hadoop.io.Text;

View File

@ -161,8 +161,6 @@ public class HServerLoad implements WritableComparable<HServerLoad> {
} }
// Writable // Writable
@Override
public void readFields(DataInput in) throws IOException { public void readFields(DataInput in) throws IOException {
int namelen = in.readInt(); int namelen = in.readInt();
this.name = new byte[namelen]; this.name = new byte[namelen];
@ -173,7 +171,6 @@ public class HServerLoad implements WritableComparable<HServerLoad> {
this.storefileIndexSizeMB = in.readInt(); this.storefileIndexSizeMB = in.readInt();
} }
@Override
public void write(DataOutput out) throws IOException { public void write(DataOutput out) throws IOException {
out.writeInt(name.length); out.writeInt(name.length);
out.write(name); out.write(name);

View File

@ -464,7 +464,6 @@ class RegionManager implements HConstants {
static class TableDirFilter implements PathFilter { static class TableDirFilter implements PathFilter {
@Override
public boolean accept(Path path) { public boolean accept(Path path) {
// skip the region servers' log dirs && version file // skip the region servers' log dirs && version file
// HBASE-1112 want to sperate the log dirs from table's data dirs by a special character. // HBASE-1112 want to sperate the log dirs from table's data dirs by a special character.
@ -476,7 +475,6 @@ class RegionManager implements HConstants {
static class RegionDirFilter implements PathFilter { static class RegionDirFilter implements PathFilter {
@Override
public boolean accept(Path path) { public boolean accept(Path path) {
return !path.getName().equals(HREGION_COMPACTIONDIR_NAME); return !path.getName().equals(HREGION_COMPACTIONDIR_NAME);
} }
@ -1324,7 +1322,6 @@ class RegionManager implements HConstants {
return Bytes.toString(getRegionName()).hashCode(); return Bytes.toString(getRegionName()).hashCode();
} }
@Override
public int compareTo(RegionState o) { public int compareTo(RegionState o) {
if (o == null) { if (o == null) {
return 1; return 1;

View File

@ -40,7 +40,6 @@ public class WatcherWrapper implements Watcher {
/** /**
* @param event WatchedEvent from ZooKeeper. * @param event WatchedEvent from ZooKeeper.
*/ */
@Override
public void process(WatchedEvent event) { public void process(WatchedEvent event) {
if (otherWatcher != null) { if (otherWatcher != null) {
otherWatcher.process(event); otherWatcher.process(event);