Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2803

Adding logging to LeaseRenewer for better lease expiration triage.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.24.0, 0.23.1
    • Component/s: namenode
    • Labels:
    • Hadoop Flags:
      Reviewed
    • Target Version/s:

      Description

      It will be helpful to add some logging to LeaseRenewer when the daemon is terminated (Info level),
      and when the lease is renewed (Debug level). Since lacking logging, it is hard to know
      if a DFS client doesn't renew the lease because it hangs, or the lease renewer daemon is gone somehow.

      1. hdfs-2803.txt
        3 kB
        Jimmy Xiang

        Activity

        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Todd Lipcon made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 0.24.0 [ 12317653 ]
        Fix Version/s 0.23.1 [ 12318885 ]
        Resolution Fixed [ 1 ]
        Todd Lipcon made changes -
        Assignee Jimmy Xiang [ jxiang ]
        Jimmy Xiang made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Jimmy Xiang made changes -
        Attachment hdfs-2803.txt [ 12511062 ]
        Eli Collins made changes -
        Labels newbie
        Target Version/s 0.23.1 [ 12318885 ]
        Component/s name-node [ 12312926 ]
        Jimmy Xiang made changes -
        Field Original Value New Value
        Description It be helpful to add some logging to LeaseRenewer when the daemon is terminated (Info level),
        and when the lease is renewed (Debug level). Since lacking logging, it will be hard to know
        if a DFS client doesn't renew the lease because it hangs, or the lease renewer daemon is gone somehow.
        It will be helpful to add some logging to LeaseRenewer when the daemon is terminated (Info level),
        and when the lease is renewed (Debug level). Since lacking logging, it is hard to know
        if a DFS client doesn't renew the lease because it hangs, or the lease renewer daemon is gone somehow.
        Jimmy Xiang created issue -

          People

          • Assignee:
            Jimmy Xiang
            Reporter:
            Jimmy Xiang
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development