HADOOP-15110. Gauges are getting logged in exceptions from AutoRenewalThreadForUserCreds.
Contributed by LiXin Ge.
This commit is contained in:
parent
c741109522
commit
3c9d97b8f7
|
@ -77,4 +77,11 @@ public class MutableGaugeFloat extends MutableGauge {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the value of the metric
|
||||
*/
|
||||
public String toString() {
|
||||
return value.toString();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -87,4 +87,11 @@ public class MutableGaugeInt extends MutableGauge {
|
|||
clearChanged();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the value of the metric
|
||||
*/
|
||||
public String toString() {
|
||||
return value.toString();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -88,4 +88,10 @@ public class MutableGaugeLong extends MutableGauge {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the value of the metric
|
||||
*/
|
||||
public String toString() {
|
||||
return value.toString();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue