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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Patch Available Patch Available Open Open
        3d 22h 53m 1 Kan Zhang 10/Aug/10 22:31
        Open Open Patch Available Patch Available
        21m 42s 2 Kan Zhang 10/Aug/10 22:31
        Patch Available Patch Available Resolved Resolved
        6d 4h 7m 1 Jakob Homan 17/Aug/10 02:39
        Resolved Resolved Closed Closed
        482d 3h 39m 1 Konstantin Shvachko 12/Dec/11 06:19
        Konstantin Shvachko made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        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.
        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.
        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
        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.
        Hide
        Devaraj Das added a comment -

        +1

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

        attaching a trivial patch.

        Show
        Kan Zhang added a comment - attaching a trivial patch.
        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.
        Kan Zhang created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development