mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
IMPALA-12362: (part-3/4) Add more binaries to packaging module.
Add admissiond service and impala-profile-tool to packaging module. Testing: - Manually deploy packages on Ubuntu22.04 and verify it. Change-Id: I594742037a05d4d74d6a2bc011619713f7ca12e4 Reviewed-on: http://gerrit.cloudera.org:8080/20929 Reviewed-by: Quanlong Huang <huangquanlong@gmail.com> Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
This commit is contained in:
committed by
Impala Public Jenkins
parent
fb3c379f39
commit
07218588a6
@@ -120,6 +120,7 @@ target_link_libraries(impalad
|
||||
|
||||
install(FILES ${STATESTORED_SYMLINK} DESTINATION ${IMPALA_INSTALLDIR}/sbin)
|
||||
install(FILES ${CATALOGD_SYMLINK} DESTINATION ${IMPALA_INSTALLDIR}/sbin)
|
||||
install(FILES ${ADMISSIOND_SYMLINK} DESTINATION ${IMPALA_INSTALLDIR}/sbin)
|
||||
install(TARGETS impalad DESTINATION ${IMPALA_INSTALLDIR}/sbin)
|
||||
|
||||
if (BUILD_WITH_NO_TESTS)
|
||||
|
||||
@@ -159,6 +159,8 @@ add_library(loggingsupport SHARED
|
||||
add_executable(parquet-reader parquet-reader.cc)
|
||||
add_executable(impala-profile-tool impala-profile-tool.cc)
|
||||
|
||||
install(TARGETS impala-profile-tool DESTINATION ${IMPALA_INSTALLDIR}/util)
|
||||
|
||||
target_link_libraries(parquet-reader ${IMPALA_LINK_LIBS})
|
||||
target_link_libraries(impala-profile-tool ${IMPALA_LINK_LIBS})
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ status() {
|
||||
local service=
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case ${1} in
|
||||
impalad|catalogd|statestored) service=${1} && shift && break ;;
|
||||
impalad|catalogd|admissiond|statestored) service=${1} && shift && break ;;
|
||||
*) usage && exit 1 ;;
|
||||
esac
|
||||
done
|
||||
@@ -89,7 +89,7 @@ stop() {
|
||||
case ${1} in
|
||||
-c) counts=${2} && shift 2 ;;
|
||||
-p) period=${2} && shift 2 ;;
|
||||
impalad|catalogd|statestored) service=${1} && shift && break ;;
|
||||
impalad|catalogd|admissiond|statestored) service=${1} && shift && break ;;
|
||||
*) usage && exit 1 ;;
|
||||
esac
|
||||
done
|
||||
@@ -147,7 +147,7 @@ start() {
|
||||
case ${1} in
|
||||
-c) counts=${2} && shift 2 ;;
|
||||
-p) period=${2} && shift 2 ;;
|
||||
impalad|catalogd|statestored) service=${1} && shift && break ;;
|
||||
impalad|catalogd|admissiond|statestored) service=${1} && shift && break ;;
|
||||
*) usage && exit 1 ;;
|
||||
esac
|
||||
done
|
||||
@@ -178,7 +178,7 @@ health() {
|
||||
case ${1} in
|
||||
-c) counts=${2} && shift 2 ;;
|
||||
-p) period=${2} && shift 2 ;;
|
||||
impalad|catalogd|statestored) service=${1} && shift ;;
|
||||
impalad|catalogd|admissiond|statestored) service=${1} && shift ;;
|
||||
*) usage && exit 1 ;;
|
||||
esac
|
||||
done
|
||||
@@ -200,6 +200,7 @@ health() {
|
||||
case ${service} in
|
||||
impalad) port=25000;;
|
||||
catalogd) port=25020;;
|
||||
admissiond) port=25030;;
|
||||
statestored) port=25010;;
|
||||
esac
|
||||
fi
|
||||
@@ -225,7 +226,7 @@ usage() {
|
||||
echo " $0 --version"
|
||||
echo " $0 --help"
|
||||
echo " command: {start|stop|restart|status|health}"
|
||||
echo " service: {impalad|catalogd|statestored}"
|
||||
echo " service: {impalad|catalogd|admissiond|statestored}"
|
||||
echo " flags: in pattern '-key=val...'."
|
||||
echo
|
||||
echo " start: start an Impala daemon service, wait until service is ready."
|
||||
|
||||
26
package/conf/admissiond_flags
Normal file
26
package/conf/admissiond_flags
Normal file
@@ -0,0 +1,26 @@
|
||||
# Licensed to the Apache Software Foundation (ASF) under one
|
||||
# or more contributor license agreements. See the NOTICE file
|
||||
# distributed with this work for additional information
|
||||
# regarding copyright ownership. The ASF licenses this file
|
||||
# to you under the Apache License, Version 2.0 (the
|
||||
# "License"); you may not use this file except in compliance
|
||||
# with the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing,
|
||||
# software distributed under the License is distributed on an
|
||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
# Specify flags for admissiond.
|
||||
|
||||
# -hostname=localhost
|
||||
# -log_dir=/var/log/impala
|
||||
# -minidump_path=/var/log/impala/minidumps
|
||||
-v=1
|
||||
-log_filename=admissiond
|
||||
-max_log_files=10
|
||||
-max_log_size=200
|
||||
Reference in New Issue
Block a user