Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-8065 Support HDFS encryption functionality on Hive
  3. HIVE-9232

We should throw an error on Hadoop23Shims.createKey() if the key already exists

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: encryption-branch
    • Component/s: None
    • Labels:
      None

      Description

      We should throw an error when creating an encryption key if the key already exists.

      Developers might forget to delete the keys during the q-tests, and the next q-test that creates the same key name with a different bit-length will not fail, causing the test to run successfully (but not correctly).

      Let's just throw an error on Hadoop23Shims.createKey()

        Attachments

        1. HIVE-9232.1.patch
          1 kB
          Sergio Peña

          Activity

            People

            • Assignee:
              spena Sergio Peña
              Reporter:
              spena Sergio Peña
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: