You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Quanlong Huang (Code Review)" <ge...@cloudera.org> on 2024/04/09 04:58:08 UTC

[Impala-ASF-CR](branch-3.4.2) IMPALA-12362: (part-1/4) Refactor service management scripts.

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 <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@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 <hu...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Xiang Yang <yx...@126.com>

[Impala-ASF-CR](branch-3.4.2) IMPALA-12362: (part-1/4) Refactor service management scripts.

Posted by "Zihao Ye (Code Review)" <ge...@cloudera.org>.
Zihao Ye has posted comments on this change. ( http://gerrit.cloudera.org:8080/21263 )

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


Patch Set 1: Code-Review+2


-- 
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: comment
Gerrit-Change-Id: I8f4dcad9cfa12d351d562e7ef8c0a8957d3ca147
Gerrit-Change-Number: 21263
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Xiang Yang <yx...@126.com>
Gerrit-Reviewer: Zihao Ye <ey...@163.com>
Gerrit-Comment-Date: Tue, 09 Apr 2024 12:32:50 +0000
Gerrit-HasComments: No

[Impala-ASF-CR](branch-3.4.2) IMPALA-12362: (part-1/4) Refactor service management scripts.

Posted by "Quanlong Huang (Code Review)" <ge...@cloudera.org>.
Quanlong Huang has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/21263 )

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 <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-on: http://gerrit.cloudera.org:8080/21263
Reviewed-by: Xiang Yang <yx...@126.com>
Reviewed-by: Zihao Ye <ey...@163.com>
Tested-by: Quanlong Huang <hu...@gmail.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(-)

Approvals:
  Xiang Yang: Looks good to me, but someone else must approve
  Zihao Ye: Looks good to me, approved
  Quanlong Huang: Verified

-- 
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: merged
Gerrit-Change-Id: I8f4dcad9cfa12d351d562e7ef8c0a8957d3ca147
Gerrit-Change-Number: 21263
Gerrit-PatchSet: 2
Gerrit-Owner: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Xiang Yang <yx...@126.com>
Gerrit-Reviewer: Zihao Ye <ey...@163.com>

[Impala-ASF-CR](branch-3.4.2) IMPALA-12362: (part-1/4) Refactor service management scripts.

Posted by "Quanlong Huang (Code Review)" <ge...@cloudera.org>.
Quanlong Huang has posted comments on this change. ( http://gerrit.cloudera.org:8080/21263 )

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


Patch Set 1: Verified+1

Passed exhaustive tests in https://jenkins.impala.io/job/ubuntu-16.04-from-scratch/19985


-- 
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: comment
Gerrit-Change-Id: I8f4dcad9cfa12d351d562e7ef8c0a8957d3ca147
Gerrit-Change-Number: 21263
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Xiang Yang <yx...@126.com>
Gerrit-Reviewer: Zihao Ye <ey...@163.com>
Gerrit-Comment-Date: Fri, 12 Apr 2024 09:41:52 +0000
Gerrit-HasComments: No

[Impala-ASF-CR](branch-3.4.2) IMPALA-12362: (part-1/4) Refactor service management scripts.

Posted by "Xiang Yang (Code Review)" <ge...@cloudera.org>.
Xiang Yang has posted comments on this change. ( http://gerrit.cloudera.org:8080/21263 )

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


Patch Set 1: Code-Review+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: comment
Gerrit-Change-Id: I8f4dcad9cfa12d351d562e7ef8c0a8957d3ca147
Gerrit-Change-Number: 21263
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Xiang Yang <yx...@126.com>
Gerrit-Reviewer: Zihao Ye <ey...@163.com>
Gerrit-Comment-Date: Tue, 09 Apr 2024 05:36:55 +0000
Gerrit-HasComments: No