HADOOP-11441. Hadoop-azure: Change few methods scope to public. Contributed by Shashank Khandelwal.

This commit is contained in:
cnauroth 2015-01-29 13:07:51 -08:00
parent 7acce7d364
commit ad55083f75
3 changed files with 7 additions and 3 deletions

View File

@ -516,6 +516,9 @@ Release 2.7.0 - UNRELEASED
HADOOP-10574. Bump the maven plugin versions too -moving the numbers into
properties. (aajisaka)
HADOOP-11441. Hadoop-azure: Change few methods scope to public.
(Shashank Khandelwal via cnauroth)
OPTIMIZATIONS
HADOOP-11323. WritableComparator#compare keeps reference to byte array.

View File

@ -789,8 +789,9 @@ public class AzureNativeFileSystemStore implements NativeFileSystemStore {
STORAGE_EMULATOR_ACCOUNT_NAME_PROPERTY_NAME,
DEFAULT_STORAGE_EMULATOR_ACCOUNT_NAME));
}
static String getAccountKeyFromConfiguration(String accountName,
@VisibleForTesting
public static String getAccountKeyFromConfiguration(String accountName,
Configuration conf) throws KeyProviderException {
String key = null;
String keyProviderClass = conf.get(KEY_ACCOUNT_KEYPROVIDER_PREFIX

View File

@ -482,7 +482,7 @@ public final class AzureBlobStorageTestAccount {
return conf;
}
static CloudStorageAccount createTestAccount()
public static CloudStorageAccount createTestAccount()
throws URISyntaxException, KeyProviderException
{
return createTestAccount(createTestConfiguration());