HADOOP-11441. Hadoop-azure: Change few methods scope to public. Contributed by Shashank Khandelwal.
(cherry picked from commit ad55083f75
)
This commit is contained in:
parent
6efffc9cd8
commit
fa2378d866
|
@ -155,6 +155,9 @@ Release 2.7.0 - UNRELEASED
|
||||||
HADOOP-10574. Bump the maven plugin versions too -moving the numbers into
|
HADOOP-10574. Bump the maven plugin versions too -moving the numbers into
|
||||||
properties. (aajisaka)
|
properties. (aajisaka)
|
||||||
|
|
||||||
|
HADOOP-11441. Hadoop-azure: Change few methods scope to public.
|
||||||
|
(Shashank Khandelwal via cnauroth)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-11323. WritableComparator#compare keeps reference to byte array.
|
HADOOP-11323. WritableComparator#compare keeps reference to byte array.
|
||||||
|
|
|
@ -790,7 +790,8 @@ public class AzureNativeFileSystemStore implements NativeFileSystemStore {
|
||||||
DEFAULT_STORAGE_EMULATOR_ACCOUNT_NAME));
|
DEFAULT_STORAGE_EMULATOR_ACCOUNT_NAME));
|
||||||
}
|
}
|
||||||
|
|
||||||
static String getAccountKeyFromConfiguration(String accountName,
|
@VisibleForTesting
|
||||||
|
public static String getAccountKeyFromConfiguration(String accountName,
|
||||||
Configuration conf) throws KeyProviderException {
|
Configuration conf) throws KeyProviderException {
|
||||||
String key = null;
|
String key = null;
|
||||||
String keyProviderClass = conf.get(KEY_ACCOUNT_KEYPROVIDER_PREFIX
|
String keyProviderClass = conf.get(KEY_ACCOUNT_KEYPROVIDER_PREFIX
|
||||||
|
|
|
@ -482,7 +482,7 @@ public final class AzureBlobStorageTestAccount {
|
||||||
return conf;
|
return conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
static CloudStorageAccount createTestAccount()
|
public static CloudStorageAccount createTestAccount()
|
||||||
throws URISyntaxException, KeyProviderException
|
throws URISyntaxException, KeyProviderException
|
||||||
{
|
{
|
||||||
return createTestAccount(createTestConfiguration());
|
return createTestAccount(createTestConfiguration());
|
||||||
|
|
Loading…
Reference in New Issue