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

OpensslAesCtrCryptoCodec should log which random number generator is used.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      OpensslAesCtrCryptoCodec uses random number generator, for example, OsSecureRandom, OpensslSecureRandom or SecureRandom but it's not clear which one would be loaded at runtime.

      It would help debugging if we can print a debug message that states which one is loaded.

        Attachments

        1. HADOOP-12788.001.patch
          0.9 kB
          Wei-Chiu Chuang
        2. HADOOP-12788.002.patch
          0.9 kB
          Wei-Chiu Chuang
        3. HADOOP-12788.003.patch
          0.9 kB
          Wei-Chiu Chuang

          Activity

            People

            • Assignee:
              jojochuang Wei-Chiu Chuang
              Reporter:
              jojochuang Wei-Chiu Chuang
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: