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

Provide a default value for AES/CTR/NoPadding CryptoCodec classes

    Details

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

      Description

      Users can configure the desired class to use for a given codec via a property like hadoop.security.crypto.codec.classes.aes.ctr.nopadding. However, even though we provide a default value for this codec in core-default.xml, this default is not also done in the code.

      As a result, client deployments that do not include core-default.xml cannot resolve any codecs, and get an NPE.

        Attachments

        1. hadoop-11711.001.patch
          8 kB
          Andrew Wang
        2. hadoop-11711.002.patch
          8 kB
          Andrew Wang

          Activity

            People

            • Assignee:
              andrew.wang Andrew Wang
              Reporter:
              andrew.wang Andrew Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: