HADOOP-15110. Gauges are getting logged in exceptions from AutoRenewalThreadForUserCreds.

Contributed by LiXin Ge.

(cherry picked from commit 3c9d97b8f7)
This commit is contained in:
Steve Loughran 2018-11-12 12:59:15 +00:00
parent 5ec0a34151
commit 29752ed580
No known key found for this signature in database
GPG Key ID: D22CF846DBB162A0
3 changed files with 20 additions and 0 deletions

View File

@ -77,4 +77,11 @@ public class MutableGaugeFloat extends MutableGauge {
} }
} }
} }
/**
* @return the value of the metric
*/
public String toString() {
return value.toString();
}
} }

View File

@ -87,4 +87,11 @@ public class MutableGaugeInt extends MutableGauge {
clearChanged(); clearChanged();
} }
} }
/**
* @return the value of the metric
*/
public String toString() {
return value.toString();
}
} }

View File

@ -88,4 +88,10 @@ public class MutableGaugeLong extends MutableGauge {
} }
} }
/**
* @return the value of the metric
*/
public String toString() {
return value.toString();
}
} }