Impala Catalog Server StateStore 端口被占 无法启动问题
最新版的Impala时候关闭的时候无法关闭 Catalog Server和StateStore后台进程,导致错误如下:
--max_log_size=200 --minloglevel=0 --stderrthreshold=4 --stop_logging_if_full_disk=false --symbolize_stacktrace=true --v=1 --vmodule= I0531 19:32:42.046679 41995 init.cc:164] Cpu Info: Model: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz Cores: 24 L1 Cache: 32.00 KB L2 Cache: 256.00 KB L3 Cache: 15.00 MB Hardware Supports: ssse3 sse4_1 sse4_2 popcnt I0531 19:32:42.046690 41995 init.cc:165] Disk Info: Num disks 4: sda (rotational=true) sdb (rotational=true) sdc (rotational=true) sdd (rotational=false) I0531 19:32:42.046702 41995 init.cc:166] Physical Memory: 125.94 GB I0531 19:32:42.046710 41995 init.cc:167] OS version: Linux version 2.6.32-431.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Fri Nov 22 03:15:09 UTC 2013 Clock: clocksource: 'tsc', clockid_t: CLOCK_MONOTONIC I0531 19:32:42.046715 41995 init.cc:168] Process ID: 41995 I0531 19:32:42.046762 41995 webserver.cc:216] Starting webserver on 0.0.0.0:25010 I0531 19:32:42.046772 41995 webserver.cc:230] Document root: /opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/impala I0531 19:32:42.046862 41995 webserver.cc:349] Webserver: set_ports_option: cannot bind to 0.0.0.0:25010: 98 (Address already in use) I0531 19:32:42.048094 41995 status.cc:112] Webserver: Could not start on address 0.0.0.0:25010 @ 0x79e469 (unknown) @ 0xb031a6 (unknown) @ 0xa7d15e (unknown) @ 0x76986c (unknown) @ 0x3d5701ed1d (unknown) @ 0x769589 (unknown) E0531 19:32:42.048121 41995 statestored-main.cc:57] Webserver: Could not start on address 0.0.0.0:25010
解决方法,各个节点 lsof -i :25010 ,kill -9 PID