Hadoop Common
  1. Hadoop Common
  2. HADOOP-6905

Better logging messages when a delegation token is invalid

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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

        Kan Zhang created issue -
        Hide
        Allen Wittenauer added a comment -

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

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

        attaching a trivial patch.

        Show
        Kan Zhang added a comment - attaching a trivial patch.
        Kan Zhang made changes -
        Field Original Value New Value
        Attachment c6905-01.patch [ 12451478 ]
        Kan Zhang made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        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
        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.
        Kan Zhang made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Kan Zhang made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Devaraj Das added a comment -

        +1

        Show
        Devaraj Das added a comment - +1
        Hide
        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
        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.
        Jakob Homan made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Incompatible change, Reviewed]
        Fix Version/s 0.22.0 [ 12314296 ]
        Resolution Fixed [ 1 ]
        Hide
        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 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 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 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.
        Konstantin Shvachko made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development