Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-5800

Typo: soft-limit for hard-limit in DFSClient

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: hdfs-client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In DFSClient#renewLease, there is a log message as follows.

       LOG.warn("Failed to renew lease for " + clientName + " for "
                    + (elapsed/1000) + " seconds (>= soft-limit ="
                    + (HdfsConstants.LEASE_HARDLIMIT_PERIOD/1000) + " seconds.) "
      

      This log message includes "soft-limit" but, considering the context, I think it's typo for "hard-limit".

      1. HDFS-5800.patch
        0.9 kB
        Kousuke Saruta

        Activity

          People

          • Assignee:
            Kousuke Saruta
            Reporter:
            Kousuke Saruta
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development