public class CredentialsSerde
extends java.lang.Object
| Constructor and Description |
|---|
CredentialsSerde() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanupOldCredentials(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path storageLocation) |
static com.amazonaws.auth.AWSCredentials |
read(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.Path storageLocation) |
static void |
write(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path storageLocation,
com.amazonaws.auth.AWSCredentials credentials,
java.lang.String filename) |
public static void write(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path storageLocation,
com.amazonaws.auth.AWSCredentials credentials,
java.lang.String filename)
public static com.amazonaws.auth.AWSCredentials read(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.Path storageLocation)
throws java.io.IOException
java.io.IOExceptionpublic static void cleanupOldCredentials(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path storageLocation)
throws java.io.IOException
java.io.IOException