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:
Xiang Yang
2024-01-19 15:44:41 +00:00
committed by Impala Public Jenkins
parent fb3c379f39
commit 07218588a6
4 changed files with 35 additions and 5 deletions

View File

@@ -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."

View 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