[ 
https://issues.apache.org/jira/browse/HADOOP-15110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16315677#comment-16315677
 ] 

Harshakiran Reddy commented on HADOOP-15110:
--------------------------------------------

Thanks [~steve_l] for watching this issue.

My Intention of this issue not for Exception, In that Exception objects are 
getting logged, those are not user understandable, Bellow are objects and their 
values.

 *renewalFailures* : {{org.apache.hadoop.metrics2.lib.MutableGaugeInt@1bbb43eb}}

*renewalFailuresTotal* : 
{{org.apache.hadoop.metrics2.lib.MutableGaugeLong@424a0549}}

> Objects are getting logged when we got exception from 
> AutoRenewalThreadForUserCreds
> -----------------------------------------------------------------------------------
>
>                 Key: HADOOP-15110
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15110
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: security
>    Affects Versions: 2.8.0, 3.0.0-alpha2
>            Reporter: Harshakiran Reddy
>            Priority: Minor
>
> *scenario*:
> -----------------
> While Running the renewal command for principal it's printing the direct 
> objects for *renewalFailures *and *renewalFailuresTotal*
> {noformat}
> 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)
> {noformat}
> *Expected Result*:
> it's should be user understandable value.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to