Class ReencryptionUpdater

java.lang.Object
org.apache.hadoop.hdfs.server.namenode.ReencryptionUpdater
All Implemented Interfaces:
Runnable

@Private public final class ReencryptionUpdater extends Object implements Runnable
Class for finalizing re-encrypt EDEK operations, by updating file xattrs with edeks returned from reencryption.

The tasks are submitted by ReencryptionHandler.

It is assumed only 1 Updater will be running, since updating file xattrs requires namespace write lock, and performance gain from multi-threading is limited.

  • Field Details

    • LOG

      public static final org.slf4j.Logger LOG
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable