Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12649 Improve Kerberos diagnostics and failure handling
  3. HADOOP-15110

Gauges are getting logged in exceptions from AutoRenewalThreadForUserCreds

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.0, 3.0.0-alpha2
    • 3.1.2
    • metrics, security
    • None

    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.

      Attachments

        1. HADOOP-15110.001.patch
          2 kB
          LiXin Ge

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            GeLiXin LiXin Ge
            Harsha1206 Harshakiran Reddy
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment