HADOOP-15110. Gauges are getting logged in exceptions from AutoRenewalThreadForUserCreds.
Contributed by LiXin Ge. (cherry picked from commit 3c9d97b8f7d6eb75f08fc6d37cee37c22760bb86)
This commit is contained in:
parent
5ec0a34151
commit
29752ed580
@ -77,4 +77,11 @@ private void incr(float delta) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the value of the metric
|
||||||
|
*/
|
||||||
|
public String toString() {
|
||||||
|
return value.toString();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -87,4 +87,11 @@ public void snapshot(MetricsRecordBuilder builder, boolean all) {
|
|||||||
clearChanged();
|
clearChanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the value of the metric
|
||||||
|
*/
|
||||||
|
public String toString() {
|
||||||
|
return value.toString();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -88,4 +88,10 @@ public void snapshot(MetricsRecordBuilder builder, boolean all) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the value of the metric
|
||||||
|
*/
|
||||||
|
public String toString() {
|
||||||
|
return value.toString();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user