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 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.

View File

@ -790,7 +790,8 @@ private boolean isStorageEmulatorAccount(final String accountName) {
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

View File

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