Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4780

Use the correct relogin method for services

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0-beta, 0.23.8, 3.0.0-alpha1
    • Fix Version/s: 2.1.0-beta
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      A number of components call reloginFromKeytab() before making requests. For StandbyCheckpointer and SecondaryNameNode, where this can be called frequently, it generates many WARN messages like this:

      WARN security.UserGroupInformation: Not attempting to re-login since the last re-login was attempted less than 600 seconds before.

      Other than these messages, it doesn't do anything wrong. But it will be nice if it is changed to call checkTGTAndReloginFromKeytab() to avoid the potentially misleading WARN messages.

        Attachments

        1. HDFS-4780v1.patch
          4 kB
          Robert Parker
        2. HDFS-4780-branch0.23v1.patch
          2 kB
          Robert Parker

          Activity

            People

            • Assignee:
              robsparker Robert Parker
              Reporter:
              kihwal Kihwal Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: