Details
-
Wish
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
If the user mistypes the master address, then he gets a very long error message. It definitely contains the useful part ("Could not connect to the cluster: unable to resolve address for localhosta: nodename nor servname provided, or not known") , but there are so many lines it's kind of hard to find:
adambakai@abakai-MBP16 examples % ./example localhosta:8764 Running with Kudu client version: kudu 1.17.0-SNAPSHOT (rev 244b21efb87927de795206b6825b64eb76cacfd9-dirty) Long version info: kudu 1.17.0-SNAPSHOT revision 244b21efb87927de795206b6825b64eb76cacfd9-dirty build type FASTDEBUG built by adambakai at 31 Jan 2023 11:06:55 CET on abakai-MBP16 Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/util/openssl_util.cc Line number: 109 Time: Tue Jan 31 11:15:39 2023 Message: FIPS mode is disabled. Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/security/tls_context.cc Line number: 297 Time: Tue Jan 31 11:15:39 2023 Message: OpenSSL security level is 1 Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/util/thread.cc Line number: 658 Time: Tue Jan 31 11:15:39 2023 Message: Started thread 740961 - kernel-watchdog: kernel-watcher Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/util/thread.cc Line number: 658 Time: Tue Jan 31 11:15:39 2023 Message: Started thread 740962 - reactor: rpc reactor Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/util/thread.cc Line number: 658 Time: Tue Jan 31 11:15:39 2023 Message: Started thread 740963 - reactor: rpc reactor Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/util/thread.cc Line number: 658 Time: Tue Jan 31 11:15:39 2023 Message: Started thread 740964 - reactor: rpc reactor Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/util/thread.cc Line number: 658 Time: Tue Jan 31 11:15:39 2023 Message: Started thread 740965 - reactor: rpc reactor Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/util/cache.cc Line number: 541 Time: Tue Jan 31 11:15:39 2023 Message: Will use 16 shards for recency list cache. Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/util/mem_tracker.cc Line number: 83 Time: Tue Jan 31 11:15:39 2023 Message: Creating tracker root Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/util/mem_tracker.cc Line number: 83 Time: Tue Jan 31 11:15:39 2023 Message: Creating tracker ttl-cache-sharded_fifo_cache->root Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/util/ttl_cache.h Line number: 134 Time: Tue Jan 31 11:15:39 2023 Message: constructed TTL cache 'ttl-cache' with capacity of 1048576 Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/util/mem_tracker.cc Line number: 87 Time: Tue Jan 31 11:15:39 2023 Message: Destroying tracker ttl-cache-sharded_fifo_cache->root Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/rpc/messenger.cc Line number: 185 Time: Tue Jan 31 11:15:39 2023 Message: shutting down messenger client Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/rpc/reactor.cc Line number: 236 Time: Tue Jan 31 11:15:39 2023 Message: client_R000: shutting down Reactor thread. Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/rpc/reactor.cc Line number: 236 Time: Tue Jan 31 11:15:39 2023 Message: client_R001: shutting down Reactor thread. Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/rpc/reactor.cc Line number: 251 Time: Tue Jan 31 11:15:39 2023 Message: client_R000: tearing down outbound TCP connections... Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/rpc/reactor.cc Line number: 236 Time: Tue Jan 31 11:15:39 2023 Message: client_R002: shutting down Reactor thread. Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/rpc/reactor.cc Line number: 260 Time: Tue Jan 31 11:15:39 2023 Message: client_R000: tearing down inbound TCP connections... Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/rpc/reactor.cc Line number: 251 Time: Tue Jan 31 11:15:39 2023 Message: client_R001: tearing down outbound TCP connections... Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/rpc/reactor.cc Line number: 236 Time: Tue Jan 31 11:15:39 2023 Message: client_R003: shutting down Reactor thread. Check failed: _s.ok() Bad status: Received log message from Kudu client library Severity: Network error: Could not connect to the cluster: unable to resolve address for localhosta: nodename nor servname provided, or not known 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/rpc/reactor.cc Line number: 251 Time: Tue Jan 31 11:15:39 2023 Message: client_R002: tearing down outbound TCP connections... Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/rpc/reactor.cc Line number: 504 Time: Tue Jan 31 11:15:39 2023 Message: client_R000 thread exiting. Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/rpc/reactor.cc Line number: 260 Time: Tue Jan 31 11:15:39 2023 Message: client_R001: tearing down inbound TCP connections... Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/rpc/reactor.cc Line number: 251 Time: Tue Jan 31 11:15:39 2023 Message: client_R003: tearing down outbound TCP connections... Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/rpc/reactor.cc Line number: 260 Time: Tue Jan 31 11:15:39 2023 Message: client_R002: tearing down inbound TCP connections... Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/util/thread.cc Line number: 709 Time: Tue Jan 31 11:15:39 2023 Message: Ended thread 740962 - reactor:rpc reactor Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/rpc/reactor.cc Line number: 504 Time: Tue Jan 31 11:15:39 2023 Message: client_R001 thread exiting. Received log message from Kudu client library Severity: 0 Filename: /Users/adambakai/CLionProjects/kudu/src/kudu/util/mem_tracker.cc Line number: 87 Time: Tue Jan 31 11:15:39 2023 Message: Destroying tracker root zsh: abort ./example localhosta:8764