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

LeaseChecker thread name trace not that useful

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.23.0
    • 0.23.0
    • hdfs-client
    • 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.

      Attachments

        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

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: