HADOOP-14273. Azure: NativeAzureFileSystem should respect config for kerberosSupportEnabled flag. Contributed by Santhosh G Nayak
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/0edd758c Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/0edd758c Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/0edd758c Branch: refs/heads/HDFS-10467 Commit: 0edd758cdfc20aed55e7de5470092d3ce23c8f0e Parents: c5e97cf Author: Mingliang Liu <[email protected]> Authored: Tue Apr 4 11:10:28 2017 -0700 Committer: Inigo <[email protected]> Committed: Thu Apr 6 18:58:21 2017 -0700 ---------------------------------------------------------------------- .../java/org/apache/hadoop/fs/azure/NativeAzureFileSystem.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/0edd758c/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/NativeAzureFileSystem.java ---------------------------------------------------------------------- diff --git a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/NativeAzureFileSystem.java b/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/NativeAzureFileSystem.java index 1e6f00e..5469944 100644 --- a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/NativeAzureFileSystem.java +++ b/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/NativeAzureFileSystem.java @@ -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) { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
