impala配置
个人认为配置文件的书写要注意格式+内容,非常重要。
IMPALA_CATALOG_SERVICE_HOST=petabase1.cluster1.com
IMPALA_STATE_STORE_HOST=petabase1.cluster1.com
IMPALA_STATE_STORE_PORT=24000
IMPALA_BACKEND_PORT=22000
IMPALA_LOG_DIR=/home/pb/log/impala
IMPALA_SCRATCH_DIR=/tmp
MEM_LIMIT=30%
IMPALA_CATALOG_ARGS=" \
-log_dir=${IMPALA_LOG_DIR} \
-state_store_host=${IMPALA_STATE_STORE_HOST} \
-state_store_port=${IMPALA_STATE_STORE_PORT} \
"
IMPALA_STATE_STORE_ARGS=" \
-log_dir=${IMPALA_LOG_DIR} \
-state_store_host=${IMPALA_STATE_STORE_HOST} \
-state_store_port=${IMPALA_STATE_STORE_PORT} \
"
IMPALA_SERVER_ARGS=" \
-state_store_host=${IMPALA_STATE_STORE_HOST} \
-state_store_port=${IMPALA_STATE_STORE_PORT} \
-enable_ldap_auth=true \
-ldap_tls=false \
-ldap_passwords_in_clear_ok=true \
-ldap_uri=ldap://${IMPALA_STATE_STORE_HOST} \
-ldap_baseDN=ou=people,dc=testdomain,dc=com \
-kudu_master_hosts=petabase1 \
-fe_service_threads=200 \
-log_dir=${IMPALA_LOG_DIR} \
--scratch_dirs=${IMPALA_SCRATCH_DIR} \
-mem_limit=${MEM_LIMIT} \
-catalog_service_host=${IMPALA_CATALOG_SERVICE_HOST} \
-state_store_host=${IMPALA_STATE_STORE_HOST} \
-state_store_port=${IMPALA_STATE_STORE_PORT} \
-use_statestore=true\
-be_port=${IMPALA_BACKEND_PORT} \
"
ENABLE_CORE_DUMPS=false
LIBHDFS_OPTS=-Djava.library.path=/usr/lib/impala/lib