Class EncryptionFaultInjector
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.EncryptionFaultInjector
Used to inject certain faults for testing.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic EncryptionFaultInjectorvoidvoidvoidvoidvoidvoid
-
Field Details
-
instance
-
-
Constructor Details
-
EncryptionFaultInjector
public EncryptionFaultInjector()
-
-
Method Details
-
getInstance
-
startFileNoKey
- Throws:
IOException
-
startFileBeforeGenerateKey
- Throws:
IOException
-
startFileAfterGenerateKey
- Throws:
IOException
-
reencryptEncryptedKeys
- Throws:
IOException
-
reencryptUpdaterProcessOneTask
- Throws:
IOException
-
reencryptUpdaterProcessCheckpoint
- Throws:
IOException
-
ensureKeyIsInitialized
- Throws:
IOException
-