|
@@ -373,7 +373,7 @@ public class DatanodeDescriptor extends DatanodeInfo {
|
|
/**
|
|
/**
|
|
* Updates stats from datanode heartbeat.
|
|
* Updates stats from datanode heartbeat.
|
|
*/
|
|
*/
|
|
- public void updateHeartbeat(StorageReport[] reports, long cacheCapacity,
|
|
|
|
|
|
+ void updateHeartbeat(StorageReport[] reports, long cacheCapacity,
|
|
long cacheUsed, int xceiverCount, int volFailures,
|
|
long cacheUsed, int xceiverCount, int volFailures,
|
|
VolumeFailureSummary volumeFailureSummary) {
|
|
VolumeFailureSummary volumeFailureSummary) {
|
|
updateHeartbeatState(reports, cacheCapacity, cacheUsed, xceiverCount,
|
|
updateHeartbeatState(reports, cacheCapacity, cacheUsed, xceiverCount,
|
|
@@ -384,7 +384,7 @@ public class DatanodeDescriptor extends DatanodeInfo {
|
|
/**
|
|
/**
|
|
* process datanode heartbeat or stats initialization.
|
|
* process datanode heartbeat or stats initialization.
|
|
*/
|
|
*/
|
|
- public void updateHeartbeatState(StorageReport[] reports, long cacheCapacity,
|
|
|
|
|
|
+ void updateHeartbeatState(StorageReport[] reports, long cacheCapacity,
|
|
long cacheUsed, int xceiverCount, int volFailures,
|
|
long cacheUsed, int xceiverCount, int volFailures,
|
|
VolumeFailureSummary volumeFailureSummary) {
|
|
VolumeFailureSummary volumeFailureSummary) {
|
|
updateStorageStats(reports, cacheCapacity, cacheUsed, xceiverCount,
|
|
updateStorageStats(reports, cacheCapacity, cacheUsed, xceiverCount,
|