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

Improve DelegationTokenIdentifier.toString() for better logging

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.2
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      HDFS DelegationTokenIdentifier.toString() adds some diagnostics info, owner, sequence number. But its superclass, AbstractDelegationTokenIdentifier contains a lot more information, including token issue and expiry times.

      Because DelegationTokenIdentifier.toString() doesn't include this data,
      information that is potentially useful for kerberos diagnostics is lost.

        Attachments

        1. HADOOP-12752-001.patch
          3 kB
          Steve Loughran
        2. HDFS-9732.001.patch
          8 kB
          Yongjun Zhang
        3. HDFS-9732.002.patch
          9 kB
          Yongjun Zhang
        4. HDFS-9732-000.patch
          1 kB
          Steve Loughran
        5. HDFS-9732.003.patch
          9 kB
          Yongjun Zhang
        6. HDFS-9732.004.patch
          10 kB
          Yongjun Zhang

          Issue Links

            Activity

              People

              • Assignee:
                yzhangal Yongjun Zhang
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0.5h
                  0.5h
                  Remaining:
                  Remaining Estimate - 0.5h
                  0.5h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified