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

(cherry picked from commit 56ab02eed9)
This commit is contained in:
Mingliang Liu 2017-04-04 11:10:28 -07:00
parent ce8cdc109b
commit 8ee3e7e4b1
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) {