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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.6.0
    • 2.8.0, 3.0.0-alpha1
    • None
    • None

    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.002.patch
          8 kB
          Andrew Wang
        2. hadoop-11711.001.patch
          8 kB
          Andrew Wang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: