hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15110) Objects are getting logged when we got exception from AutoRenewalThreadForUserCreds
Date Wed, 10 Jan 2018 10:34:00 GMT

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

Steve Loughran commented on HADOOP-15110:
-----------------------------------------

OH see: hidden off the side off the trace. Sorry!

Why not fix the gauges to log their values in toString()? You'd get what you want here, and
so will everyone else.

I don't see any open JIRAs here, so this can be the one; just change the tilte

Tests: create the gauges, set them to known counters, use assertEquals on the toString values

> 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message