Hello Impala Public Jenkins,

I'd like you to do a code review. Please visit

    http://gerrit.cloudera.org:8080/21263

to review the following change.


Change subject: IMPALA-12362: (part-1/4) Refactor service management scripts.
......................................................................

IMPALA-12362: (part-1/4) Refactor service management scripts.

Uniform all service management scripts to 'bin/impala.sh', administrator
can customize environment variables based on their cluster at
'conf/impala-env.sh', as well as set flags at 'conf/impalad_flags...'.

Usually administrator can override the environment variables in
'conf/impala-env.sh' with commandline arguments.  The same is true for
flags in 'conf/impalad_flags...'. This flexibility can be used in
scenarios such as supporting multi-instance deployments.

The directory structure has been adjusted as follows:
 - put java libs to 'lib/jars' directory.
 - put native libs to 'lib/native' directory.
 - put impalad binary to 'sbin' directory.

Testing:
 - Manually deploy packages on Ubuntu22.04 and verify it.

Backport Notes:
 - Resolved trivial conflicts in CMakeLists.txt

Change-Id: I8f4dcad9cfa12d351d562e7ef8c0a8957d3ca147
Reviewed-on: http://gerrit.cloudera.org:8080/20921
Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
---
M CMakeLists.txt
M be/src/service/CMakeLists.txt
D package/bin/impala-env.sh
A package/bin/impala.sh
D package/bin/start-catalogd.sh
D package/bin/start-impalad.sh
D package/bin/start-statestored.sh
D package/bin/stop-catalogd.sh
D package/bin/stop-impalad.sh
D package/bin/stop-statestored.sh
M package/conf/catalogd_flags
A package/conf/impala-env.sh
M package/conf/impalad_flags
R package/conf/statestored_flags
14 files changed, 323 insertions(+), 290 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/63/21263/1
--
To view, visit http://gerrit.cloudera.org:8080/21263
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: branch-3.4.2
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8f4dcad9cfa12d351d562e7ef8c0a8957d3ca147
Gerrit-Change-Number: 21263
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <huangquanl...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Xiang Yang <yx91...@126.com>

Reply via email to