Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1573

LeaseChecker thread name trace not that useful

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: hdfs-client
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      The LeaseChecker thread in DFSClient will put a stack trace in its thread name, theoretically to help debug cases where these threads get leaked. However it just shows the stack trace of whoever is asking for the thread's name, not the stack trace of when the thread was allocated. I'd like to fix this so that you can see where the thread got started, which was presumably its original intent.

      1. hdfs-1573.txt
        12 kB
        Todd Lipcon
      2. hdfs-1573.txt
        12 kB
        Todd Lipcon
      3. hdfs-1573.txt
        12 kB
        Todd Lipcon
      4. hdfs-1573.txt
        12 kB
        Todd Lipcon

        Activity

        Todd Lipcon created issue -
        Todd Lipcon made changes -
        Field Original Value New Value
        Labels newbie
        Todd Lipcon made changes -
        Attachment hdfs-1573.txt [ 12479217 ]
        Todd Lipcon made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Eli Collins made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Eli Collins made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hadoop Flags [Reviewed]
        Todd Lipcon made changes -
        Attachment hdfs-1573.txt [ 12479351 ]
        Todd Lipcon made changes -
        Attachment hdfs-1573.txt [ 12479400 ]
        Todd Lipcon made changes -
        Attachment hdfs-1573.txt [ 12479402 ]
        Todd Lipcon made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Todd Lipcon
            Reporter:
            Todd Lipcon
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development