Amend HBASE-10213. Spelling fix for method o.a.h.h.replication.regionserver.MetricsSource#incrLogReadInBytes

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1554361 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2013-12-31 02:59:02 +00:00
parent f2f316db1f
commit 0277f56616
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ public class MetricsSource {
}
/** increase the byte number read by source from log file */
public void incrLogReadInByes(long readInBytes) {
public void incrLogReadInBytes(long readInBytes) {
rms.incCounters(logReadInBytesKey, readInBytes);
rms.incCounters(SOURCE_LOG_READ_IN_BYTES, readInBytes);
}

View File

@ -414,7 +414,7 @@ public class ReplicationSource extends Thread
break;
}
}
metrics.incrLogReadInByes(this.repLogReader.getPosition() - positionBeforeRead);
metrics.incrLogReadInBytes(this.repLogReader.getPosition() - positionBeforeRead);
if (currentWALisBeingWrittenTo) {
return false;
}