2023-06-10 16:49:35,935 INFO ipc.Client: Retrying connect to server: shark:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
时间: 2024-04-01 09:36:17 浏览: 144
这是一条 Hadoop YARN 的日志信息,其中 `INFO` 表示这是一条信息级别为普通的日志记录。`ipc.Client` 表示这条日志记录是由 IPC 客户端模块产生的。`Retrying connect to server: shark:8032` 表示客户端正在尝试连接到一个名为 `shark`,端口号为 `8032` 的服务器。`Already tried 0 time(s)` 表示客户端此前已经尝试连接了 0 次。`retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)` 表示客户端将采用 `RetryUpToMaximumCountWithFixedSleep` 策略,最多重试 10 次,每次重试间隔 1000 毫秒。
相关问题
hadoop dfsadmin -safemode leave 23/06/11 10:14:32 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 0 time(s). 23/06/11 10:14:33 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 1 time(s). 23/06/11 10:14:34 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 2 time(s). 23/06/11 10:14:35 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 3 time(s). 23/06/11 10:14:36 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 4 time(s). 23/06/11 10:14:37 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 5 time(s). 23/06/11 10:14:38 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 6 time(s). 23/06/11 10:14:39 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 7 time(s). 23/06/11 10:14:40 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 8 time(s). 23/06/11 10:14:41 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 9 time(s). Bad connection to DFS... command aborted.
这段信息是关于 Hadoop 的 dfsadmin 命令在执行 "safemode leave" 操作时连接到服务器失败的日志信息。根据日志信息,客户端尝试连接到服务器 /192.168.0.169:9000,但连接失败了。由于连接失败多次,最终命令被中止了。这可能是由于网络连接问题或服务器故障引起的。
hadoop dfsadmin -safemode leave 23/06/11 10:31:06 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 0 time(s). 23/06/11 10:31:07 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 1 time(s). 23/06/11 10:31:08 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 2 time(s). 23/06/11 10:31:09 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 3 time(s). 23/06/11 10:31:10 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 4 time(s). 23/06/11 10:31:11 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 5 time(s). 23/06/11 10:31:12 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 6 time(s). 23/06/11 10:31:13 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 7 time(s). 23/06/11 10:31:14 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 8 time(s). 23/06/11 10:31:15 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 9 time(s). Bad connection to DFS... command aborted.
这个问题看起来像是无法连接到Hadoop的NameNode。您可以尝试以下步骤来解决这个问题:
1. 检查NameNode是否正在运行。您可以使用jps命令检查是否有NameNode进程运行。
2. 检查防火墙设置。如果Hadoop集群使用防火墙,请确保防火墙允许与NameNode通信的端口。
3. 检查Hadoop配置文件中的NameNode地址是否正确。
4. 检查集群中其他节点的网络连接是否正常。如果其他节点无法连接到NameNode,则可能是网络问题。
如果您尝试了这些步骤后仍然无法解决问题,请提供更多的错误信息以及您的Hadoop配置文件,以便我们进一步帮助您解决问题。
阅读全文