This is an automated email from the ASF dual-hosted git repository.
bharat pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new b88b682 HDDS-2136. OM block allocation metric not paired with its
failures (#1460)
b88b682 is described below
commit b88b6826c9a31554233b6ca69dc065a001253f30
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Wed Sep 18 02:31:08 2019 +0200
HDDS-2136. OM block allocation metric not paired with its failures (#1460)
---
.../src/main/java/org/apache/hadoop/ozone/om/OMMetrics.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMMetrics.java
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMMetrics.java
index a9a76b3..198e931 100644
---
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMMetrics.java
+++
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMMetrics.java
@@ -60,7 +60,7 @@ public class OMMetrics {
private @Metric MutableCounterLong numKeyLists;
private @Metric MutableCounterLong numVolumeLists;
private @Metric MutableCounterLong numKeyCommits;
- private @Metric MutableCounterLong numAllocateBlockCalls;
+ private @Metric MutableCounterLong numBlockAllocations;
private @Metric MutableCounterLong numGetServiceLists;
private @Metric MutableCounterLong numListS3Buckets;
private @Metric MutableCounterLong numInitiateMultipartUploads;
@@ -90,7 +90,7 @@ public class OMMetrics {
private @Metric MutableCounterLong numKeyListFails;
private @Metric MutableCounterLong numVolumeListFails;
private @Metric MutableCounterLong numKeyCommitFails;
- private @Metric MutableCounterLong numBlockAllocateCallFails;
+ private @Metric MutableCounterLong numBlockAllocationFails;
private @Metric MutableCounterLong numGetServiceListFails;
private @Metric MutableCounterLong numListS3BucketsFails;
private @Metric MutableCounterLong numInitiateMultipartUploadFails;
@@ -474,11 +474,11 @@ public class OMMetrics {
}
public void incNumBlockAllocateCalls() {
- numAllocateBlockCalls.incr();
+ numBlockAllocations.incr();
}
public void incNumBlockAllocateCallFails() {
- numBlockAllocateCallFails.incr();
+ numBlockAllocationFails.incr();
}
public void incNumBucketListFails() {
@@ -702,12 +702,12 @@ public class OMMetrics {
@VisibleForTesting
public long getNumBlockAllocates() {
- return numAllocateBlockCalls.value();
+ return numBlockAllocations.value();
}
@VisibleForTesting
public long getNumBlockAllocateFails() {
- return numBlockAllocateCallFails.value();
+ return numBlockAllocationFails.value();
}
@VisibleForTesting
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]