Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11891

OsSecureRandom should lazily fill its reservoir

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0, 2.7.1, 3.0.0-alpha1
    • Component/s: security
    • Labels:
      None
    • Target Version/s:

      Description

      The OsSecureRandom class that is initialized by on the the CryptoCodec implementations eagerly fills its reservoir of random bits. This will result in too many file descriptors being opened simply and is not really required if the client already has a random IV and key needed for decryption.

        Attachments

        1. HADOOP-11891.1.patch
          0.7 kB
          Arun Suresh
        2. HADOOP-11891.2.patch
          1 kB
          Arun Suresh

          Activity

            People

            • Assignee:
              asuresh Arun Suresh
              Reporter:
              asuresh Arun Suresh
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: