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

(cherry picked from commit ad55083f75)
This commit is contained in:
cnauroth 2015-01-29 13:07:51 -08:00
parent 6efffc9cd8
commit fa2378d866
3 changed files with 7 additions and 3 deletions

View File

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

View File

@ -789,8 +789,9 @@ public class AzureNativeFileSystemStore implements NativeFileSystemStore {
STORAGE_EMULATOR_ACCOUNT_NAME_PROPERTY_NAME, STORAGE_EMULATOR_ACCOUNT_NAME_PROPERTY_NAME,
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 @@ 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());