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

Improve DelegationTokenIdentifier.toString() for better logging

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.2
    • 3.0.0-alpha1
    • None
    • 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.003.patch
          9 kB
          Yongjun Zhang
        5. HDFS-9732.004.patch
          10 kB
          Yongjun Zhang
        6. HDFS-9732-000.patch
          1 kB
          Steve Loughran

        Issue Links

          Activity

            People

              yzhangal Yongjun Zhang
              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