![impala 查询失败](https://linux22.com/image/165485/impala%20%E6%9F%A5%E8%AF%A2%E5%A4%B1%E8%B4%A5.png)
Couldn't open transport for p1i-hdp-srv12.lnt.com:22000 (connect() failed: Connection refused)
RPC client failed to connect: Couldn't open transport for p1i-hdp-srv09.lnt.com:22000 (connect() failed: Connection refused)
ExecQueryFInstances rpc query_id=d745512ef66df60d:ced351a700000000 failed: RPC client failed to connect: Couldn't open transport for p1i-hdp-srv09.lnt.com:22000 (connect() failed: Connection refused)
Failed to create thread SenderThread(1:1) in category DataStreamSender: boost::thread_resource_error: Resource temporarily unavailable
为了防止上述错误,我被告知每个 Impala 主机应该这样配置:
echo 2000000 > /proc/sys/kernel/threads-max
echo 2000000 > /proc/sys/kernel/pid_max
echo 8000000 > /proc/sys/vm/max_map_count
在/etc/security/limits.conf
添加
impala soft nproc 262144
impala hard nproc 262144
谁能告诉我这是否安全?我需要遵守任何限制吗?有副作用吗?执行这些更改后,我需要重新启动任何东西吗?在进行这些更改之前,我还需要检查或配置任何其他内容吗?