You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jim Huang (Jira)" <ji...@apache.org> on 2021/02/25 07:17:00 UTC
[jira] [Commented] (HADOOP-13986)
UGI.UgiMetrics.renewalFailureTotal is not printable
[ https://issues.apache.org/jira/browse/HADOOP-13986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17290735#comment-17290735 ]
Jim Huang commented on HADOOP-13986:
------------------------------------
Hi,
I am running into this exact same error message with this version of Hadoop:
{code:java}
$ hadoop version
Hadoop 2.7.3.2.6.5.4-1
Subversion git@github.com:hortonworks/hadoop.git -r 3091053c59a62c82d82c9f778c48bde5ef0a89a1
Compiled by jenkins on 2018-05-16T11:28Z
Compiled with protoc 2.5.0
From source with checksum abed71da5bc89062f6f6711179f2058
This command was run using /usr/hdp/2.6.5.4-1/hadoop/hadoop-common-2.7.3.2.6.5.4-1.jar{code}
It seems this ticket has been open for awhile. Is there any work around (or additional references) for this issue while a patch is being planned?
For reference, I am also getting the same WARN messages (retries) and finally an ERROR:
{code:java}
21/02/25 05:09:01 WARN security.UserGroupInformation: Exception encountered while running the renewal command for foo@EXAMPLE.COM. (TGT end time:1484252600000, renewalFailures: org.apache.hadoop.metrics2.lib.MutableGaugeInt@7b84d23f,renewalFailuresTotal: org.apache.hadoop.metrics2.lib.MutableGaugeLong@3e86532b)
ExitCodeException exitCode=1: kinit: Ticket expired while renewing credentials
21/02/25 05:09:01 ERROR security.UserGroupInformation: TGT is expired. Aborting renew thread for foo@EXAMPLE.COM.
{code}
> UGI.UgiMetrics.renewalFailureTotal is not printable
> ---------------------------------------------------
>
> Key: HADOOP-13986
> URL: https://issues.apache.org/jira/browse/HADOOP-13986
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.8.0, 3.0.0-alpha2
> Reporter: Wei-Chiu Chuang
> Priority: Minor
>
> The metrics (renewalFailures and renewalFailuresTotal) in the following code snippet are not printable.
> {code:title=UserGroupInformation.java}
> metrics.renewalFailuresTotal.incr();
> final long tgtEndTime = tgt.getEndTime().getTime();
> LOG.warn("Exception encountered while running the renewal "
> + "command for {}. (TGT end time:{}, renewalFailures: {},"
> + "renewalFailuresTotal: {})", getUserName(), tgtEndTime,
> metrics.renewalFailures, metrics.renewalFailuresTotal, ie);
> {code}
> The output of the code is like the following:
> {quote}
> 2017-01-12 12:23:14,062 WARN security.UserGroupInformation (UserGroupInformation.java:run(1012)) - Exception encountered while running the renewal command for foo@EXAMPLE.COM. (TGT end time:1484252600000, renewalFailures: org.apache.hadoop.metrics2.lib.MutableGaugeInt@323aa7f9,renewalFailuresTotal: org.apache.hadoop.metrics2.lib.MutableGaugeLong@c8af058)
> ExitCodeException exitCode=1: kinit: krb5_cc_get_principal: No credentials cache file found
> {quote}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org