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

SocketCache should use monotonic time

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.3-alpha
    • Fix Version/s: 2.0.3-alpha
    • Component/s: None
    • Labels:
      None

      Description

      SocketCache should use monotonic time, not wall-clock time. Otherwise, if the time is adjusted by ntpd or a system administrator, sockets could be either abrupbtly expired, or left in the cache indefinitely.

        Attachments

        1. HDFS-4307.001.patch
          2 kB
          Colin P. McCabe
        2. HDFS-4307.002.patch
          2 kB
          Colin P. McCabe

          Activity

            People

            • Assignee:
              cmccabe Colin P. McCabe
              Reporter:
              cmccabe Colin P. McCabe
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: