HBASE-1680 FilterList writable only works for HBaseObjectWritable defined types
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@796949 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c25c8fe9ea
commit
467e48e4b1
|
@ -280,6 +280,8 @@ Release 0.20.0 - Unreleased
|
||||||
HBASE-1215 0.19.0 -> 0.20.0 migration (hfile, HCD changes, HSK changes)
|
HBASE-1215 0.19.0 -> 0.20.0 migration (hfile, HCD changes, HSK changes)
|
||||||
HBASE-1689 Fix javadoc warnings and add overview on client classes to
|
HBASE-1689 Fix javadoc warnings and add overview on client classes to
|
||||||
client package
|
client package
|
||||||
|
HBASE-1680 FilterList writable only works for HBaseObjectWritable
|
||||||
|
defined types (Clint Morgan via Stack and Jon Gray)
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
HBASE-1089 Add count of regions on filesystem to master UI; add percentage
|
HBASE-1089 Add count of regions on filesystem to master UI; add percentage
|
||||||
|
|
|
@ -29,6 +29,7 @@ import org.apache.hadoop.conf.Configuration;
|
||||||
import org.apache.hadoop.hbase.HBaseConfiguration;
|
import org.apache.hadoop.hbase.HBaseConfiguration;
|
||||||
import org.apache.hadoop.hbase.KeyValue;
|
import org.apache.hadoop.hbase.KeyValue;
|
||||||
import org.apache.hadoop.hbase.io.HbaseObjectWritable;
|
import org.apache.hadoop.hbase.io.HbaseObjectWritable;
|
||||||
|
import org.apache.hadoop.io.Writable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation of {@link Filter} that represents an ordered List of Filters
|
* Implementation of {@link Filter} that represents an ordered List of Filters
|
||||||
|
@ -211,7 +212,7 @@ public class FilterList implements Filter {
|
||||||
out.writeByte(operator.ordinal());
|
out.writeByte(operator.ordinal());
|
||||||
out.writeInt(filters.size());
|
out.writeInt(filters.size());
|
||||||
for (Filter filter : filters) {
|
for (Filter filter : filters) {
|
||||||
HbaseObjectWritable.writeObject(out, filter, filter.getClass(), conf);
|
HbaseObjectWritable.writeObject(out, filter, Writable.class, conf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue