From 74ce659bc0696faa8bb7f6943931f5a4f4daf2af Mon Sep 17 00:00:00 2001 From: Yuan Zhou Date: Tue, 16 Mar 2021 11:54:44 +0800 Subject: [PATCH] HAWQ-1788. set default value for dfs.domain.socket.path Instead of setting empty string, an example value from HDFS doc should be better to follow. https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/ShortCircuitLocalReads.html Signed-off-by: Yuan Zhou --- depends/libhdfs3/src/common/SessionConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depends/libhdfs3/src/common/SessionConfig.cpp b/depends/libhdfs3/src/common/SessionConfig.cpp index 569b7e98f3..a0403763a8 100644 --- a/depends/libhdfs3/src/common/SessionConfig.cpp +++ b/depends/libhdfs3/src/common/SessionConfig.cpp @@ -148,7 +148,7 @@ SessionConfig::SessionConfig(const Config & conf) { {&rpcAuthMethod, "hadoop.security.authentication", "simple" }, {&kerberosCachePath, "hadoop.security.kerberos.ticket.cache.path", "" }, {&logSeverity, "dfs.client.log.severity", "INFO" }, - {&domainSocketPath, "dfs.domain.socket.path", ""}, + {&domainSocketPath, "dfs.domain.socket.path", "/var/lib/hadoop-hdfs/dn_socket"}, {&kmsUrl, "dfs.encryption.key.provider.uri", "" }, {&kmsAuthMethod, "hadoop.kms.authentication.type", "simple" } };