You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by gr...@apache.org on 2019/02/16 22:16:21 UTC
[kudu] branch master updated: KUDU-2508: [DOCS] Recommend nscd even
for static name resolutions
This is an automated email from the ASF dual-hosted git repository.
granthenke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new 2be0087 KUDU-2508: [DOCS] Recommend nscd even for static name resolutions
2be0087 is described below
commit 2be008763cda5eb28c0dfa8863e396575fce91ab
Author: Alex Rodoni <ar...@cloudera.com>
AuthorDate: Thu Feb 14 17:36:41 2019 -0800
KUDU-2508: [DOCS] Recommend nscd even for static name resolutions
Change-Id: I93b192a2c664262477200f34f3819e48bcbbfc26
Reviewed-on: http://gerrit.cloudera.org:8080/12493
Reviewed-by: Adar Dembo <ad...@cloudera.com>
Tested-by: Adar Dembo <ad...@cloudera.com>
Reviewed-by: Grant Henke <gr...@apache.org>
---
docs/troubleshooting.adoc | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/docs/troubleshooting.adoc b/docs/troubleshooting.adoc
index c3f8fbf..670c355 100644
--- a/docs/troubleshooting.adoc
+++ b/docs/troubleshooting.adoc
@@ -662,14 +662,20 @@ confidential or sensitive data.
[[slow_dns_nscd]]
=== Slow DNS Lookups and `nscd`
-If the logs contain messages about slow name resolution like
+For better scalability on nodes hosting many replicas, we recommend that you use
+`nscd` (name service cache daemon) to cache both DNS name resolution and static name resolution (via `/etc/hosts`).
+
+When DNS lookups are slow, you will see a log message similar to the following:
----
W0926 11:19:01.339553 27231 net_util.cc:129] Time spent resolving address for kudu-tserver.example.com: real 4.647s user 0.000s sys 0.000s
----
-then it may help to run `nscd` (the name service cache daemon). Consult your
-operating system's documentation for how to install and enable `nscd`.
+`nscd` (name service cache daemon) can alleviate slow name resolution by providing
+a cache for the most common name service requests, such as for passwords, groups,
+and hosts.
+
+Refer to your operating system documentation for how to install and enable `nscd`.
== Issues using Kudu