Details
Description
scenario:
-----------------
While Running the renewal command for principal it's printing the direct objects for renewalFailures *and *renewalFailuresTotal
bin> ./hdfs dfs -ls / 2017-12-12 12:31:50,910 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 2017-12-12 12:31:52,312 WARN security.UserGroupInformation: Exception encountered while running the renewal command for principal_name. (TGT end time:1513070122000, renewalFailures: org.apache.hadoop.metrics2.lib.MutableGaugeInt@1bbb43eb,renewalFailuresTotal: org.apache.hadoop.metrics2.lib.MutableGaugeLong@424a0549) ExitCodeException exitCode=1: kinit: KDC can't fulfill requested option while renewing credentials at org.apache.hadoop.util.Shell.runCommand(Shell.java:994) at org.apache.hadoop.util.Shell.run(Shell.java:887) at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:1212) at org.apache.hadoop.util.Shell.execCommand(Shell.java:1306) at org.apache.hadoop.util.Shell.execCommand(Shell.java:1288) at org.apache.hadoop.security.UserGroupInformation$1.run(UserGroupInformation.java:1067) at java.lang.Thread.run(Thread.java:745)
Expected Result:
it's should be user understandable value.