impala 查询失败

impala 查询失败
  1. Couldn't open transport for p1i-hdp-srv12.lnt.com:22000 (connect() failed: Connection refused)
  2. RPC client failed to connect: Couldn't open transport for p1i-hdp-srv09.lnt.com:22000 (connect() failed: Connection refused)
  3. 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)
  4. 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

谁能告诉我这是否安全?我需要遵守任何限制吗?有副作用吗?执行这些更改后,我需要重新启动任何东西吗?在进行这些更改之前,我还需要检查或配置任何其他内容吗?

相关内容