HADOOP-14273. Azure: NativeAzureFileSystem should respect config for kerberosSupportEnabled flag. Contributed by Santhosh G Nayak

This commit is contained in:
Mingliang Liu 2017-04-04 11:10:28 -07:00
parent 27a44b60c1
commit 56ab02eed9
1 changed files with 2 additions and 0 deletions

View File

@ -1287,6 +1287,8 @@ public class NativeAzureFileSystem extends FileSystem {
this.azureAuthorization = useSecureMode &&
conf.getBoolean(KEY_AZURE_AUTHORIZATION, DEFAULT_AZURE_AUTHORIZATION);
this.kerberosSupportEnabled =
conf.getBoolean(Constants.AZURE_KERBEROS_SUPPORT_PROPERTY_NAME, false);
if (this.azureAuthorization) {