HBASE-1866 Scan(Scan) copy constructor does not copy value of cacheBlocks
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@818656 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8525e1ee23
commit
ebb08cddcf
|
@ -45,6 +45,8 @@ Release 0.21.0 - Unreleased
|
|||
HBASE-1809 NPE thrown in BoundedRangeFileInputStream
|
||||
HBASE-1859 Misc shell fixes patch (Kyle Oba via Stack)
|
||||
HBASE-1865 0.20.0 TableInputFormatBase NPE
|
||||
HBASE-1866 Scan(Scan) copy constructor does not copy value of
|
||||
cacheBlocks
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-1760 Cleanup TODOs in HTable
|
||||
|
|
|
@ -124,6 +124,7 @@ public class Scan implements Writable {
|
|||
stopRow = scan.getStopRow();
|
||||
maxVersions = scan.getMaxVersions();
|
||||
caching = scan.getCaching();
|
||||
cacheBlocks = scan.getCacheBlocks();
|
||||
filter = scan.getFilter(); // clone?
|
||||
TimeRange ctr = scan.getTimeRange();
|
||||
tr = new TimeRange(ctr.getMin(), ctr.getMax());
|
||||
|
@ -380,6 +381,8 @@ public class Scan implements Writable {
|
|||
sb.append("" + this.maxVersions);
|
||||
sb.append(", caching=");
|
||||
sb.append("" + this.caching);
|
||||
sb.append(", cacheBlocks=");
|
||||
sb.append("" + this.cacheBlocks);
|
||||
sb.append(", timeRange=");
|
||||
sb.append("[" + this.tr.getMin() + "," + this.tr.getMax() + ")");
|
||||
sb.append(", families=");
|
||||
|
|
Loading…
Reference in New Issue