HBASE-3900 Addendum 2: try to fix error in readFields()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1162465 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
82802e8788
commit
8400452afd
|
@ -299,7 +299,7 @@ implements WritableComparable<HServerLoad> {
|
|||
/**
|
||||
* @param totalCompactingKVs the number of kvs total in current compaction
|
||||
*/
|
||||
public void setTotalCompactingKVs(int totalCompactingKVs) {
|
||||
public void setTotalCompactingKVs(long totalCompactingKVs) {
|
||||
this.totalCompactingKVs = totalCompactingKVs;
|
||||
}
|
||||
|
||||
|
@ -307,7 +307,7 @@ implements WritableComparable<HServerLoad> {
|
|||
* @param currentCompactedKVs the number of kvs already compacted in
|
||||
* current compaction
|
||||
*/
|
||||
public void setCurrentCompactedKVs(int currentCompactedKVs) {
|
||||
public void setCurrentCompactedKVs(long currentCompactedKVs) {
|
||||
this.currentCompactedKVs = currentCompactedKVs;
|
||||
}
|
||||
|
||||
|
@ -330,8 +330,8 @@ implements WritableComparable<HServerLoad> {
|
|||
this.rootIndexSizeKB = in.readInt();
|
||||
this.totalStaticIndexSizeKB = in.readInt();
|
||||
this.totalStaticBloomSizeKB = in.readInt();
|
||||
this.totalCompactingKVs = in.readInt();
|
||||
this.currentCompactedKVs = in.readInt();
|
||||
this.totalCompactingKVs = in.readLong();
|
||||
this.currentCompactedKVs = in.readLong();
|
||||
}
|
||||
|
||||
public void write(DataOutput out) throws IOException {
|
||||
|
|
Loading…
Reference in New Issue