Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
HAWQ-1788. set default value for dfs.domain.socket.path
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
zhouyuan authored and chiyang10000 committed Mar 17, 2021
1 parent 5ca27b0 commit 74ce659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion depends/libhdfs3/src/common/SessionConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
};
Expand Down

0 comments on commit 74ce659

Please sign in to comment.