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

Typo: soft-limit for hard-limit in DFSClient

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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".

        Attachments

        1. HDFS-5800.patch
          0.9 kB
          Kousuke Saruta

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: