Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6905

Better logging messages when a delegation token is invalid

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.22.0
    • Component/s: security
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed

      Description

      From our production logs, we see some logging messages of "token is expired or doesn't exist". It would be helpful to know whose token it was.

      1. c6905-01.patch
        1.0 kB
        Kan Zhang

        Activity

        Hide
        aw Allen Wittenauer added a comment -

        Maybe you can fix some of the other issues from HADOOP-6586 while you're at it.

        Show
        aw Allen Wittenauer added a comment - Maybe you can fix some of the other issues from HADOOP-6586 while you're at it.
        Hide
        kzhang Kan Zhang added a comment -

        attaching a trivial patch.

        Show
        kzhang Kan Zhang added a comment - attaching a trivial patch.
        Hide
        kzhang Kan Zhang added a comment -

        Allen, I think that's a different issue (format rather than content), and I suggest you open a new JIRA so that you can make the format consistent in all the places you care.

        Show
        kzhang Kan Zhang added a comment - Allen, I think that's a different issue (format rather than content), and I suggest you open a new JIRA so that you can make the format consistent in all the places you care.
        Hide
        devaraj Devaraj Das added a comment -

        +1

        Show
        devaraj Devaraj Das added a comment - +1
        Hide
        jghoman Jakob Homan added a comment -

        I've committed this, although I just noticed that Hudson hadn't run. Wandered off again, apparently. It's a trivial patch, so this should be ok. Resolving as fixed. Thanks, Kan.

        Show
        jghoman Jakob Homan added a comment - I've committed this, although I just noticed that Hudson hadn't run. Wandered off again, apparently. It's a trivial patch, so this should be ok. Resolving as fixed. Thanks, Kan.
        Hide
        hudson Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #358 (See https://hudson.apache.org/hudson/job/Hadoop-Common-trunk-Commit/358/)
        HADOOP-6905. Better logging messages when a delegation token is invalid. Contributed by Kan Zhang.

        Show
        hudson Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #358 (See https://hudson.apache.org/hudson/job/Hadoop-Common-trunk-Commit/358/ ) HADOOP-6905 . Better logging messages when a delegation token is invalid. Contributed by Kan Zhang.
        Hide
        hudson Hudson added a comment -

        Integrated in Hadoop-Common-trunk #426 (See https://hudson.apache.org/hudson/job/Hadoop-Common-trunk/426/)
        HADOOP-6905. Better logging messages when a delegation token is invalid. Contributed by Kan Zhang.

        Show
        hudson Hudson added a comment - Integrated in Hadoop-Common-trunk #426 (See https://hudson.apache.org/hudson/job/Hadoop-Common-trunk/426/ ) HADOOP-6905 . Better logging messages when a delegation token is invalid. Contributed by Kan Zhang.

          People

          • Assignee:
            kzhang Kan Zhang
            Reporter:
            kzhang Kan Zhang
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development