Skip to content

Commit

Permalink
HADOOP-15909. KeyProvider class should implement Closeable. Contributed
Browse files Browse the repository at this point in the history
by Kuhu Shukla.
  • Loading branch information
kihwal committed Jan 10, 2019
1 parent 852701f commit 33c009a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
Expand Down Expand Up @@ -54,7 +55,7 @@
*/
@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract class KeyProvider {
public abstract class KeyProvider implements Closeable {
public static final String DEFAULT_CIPHER_NAME =
CommonConfigurationKeysPublic.HADOOP_SECURITY_KEY_DEFAULT_CIPHER_KEY;
public static final String DEFAULT_CIPHER =
Expand Down

0 comments on commit 33c009a

Please sign in to comment.