You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Laszlo Gaal (Code Review)" <ge...@cloudera.org> on 2021/04/08 23:06:32 UTC

[Impala-ASF-CR] IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap

Laszlo Gaal has uploaded this change for review. ( http://gerrit.cloudera.org:8080/17292


Change subject: IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap
......................................................................

IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap

Recent Red Hat Enterprise Linux 8.x version return a shorter release
name string from `lsb_release -si` than earlier versions. This shorter
string was not recognized in the OS mapper logic in
bin/bootstrap_toolchain.py, makig it -- and the build process -- break
on Red Hat 8.2

The patch adds the shorter signature as a point fix.

Test: run bin/bootstrap_toolchain.py manually on Red Hat 8.2, then run
a complete build on the same OS.

Change-Id: Icb1a6c215b1b5a65691042bb7d94fb034392d135
---
M bin/bootstrap_toolchain.py
1 file changed, 3 insertions(+), 2 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb1a6c215b1b5a65691042bb7d94fb034392d135
Gerrit-Change-Number: 17292
Gerrit-PatchSet: 1
Gerrit-Owner: Laszlo Gaal <la...@cloudera.com>

[Impala-ASF-CR] IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/17292 )

Change subject: IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap
......................................................................


Patch Set 1:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/8526/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/17292
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icb1a6c215b1b5a65691042bb7d94fb034392d135
Gerrit-Change-Number: 17292
Gerrit-PatchSet: 1
Gerrit-Owner: Laszlo Gaal <la...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Laszlo Gaal <la...@cloudera.com>
Gerrit-Comment-Date: Thu, 08 Apr 2021 23:28:21 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/17292 )

Change subject: IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap
......................................................................


Patch Set 1: Verified+1


-- 
To view, visit http://gerrit.cloudera.org:8080/17292
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icb1a6c215b1b5a65691042bb7d94fb034392d135
Gerrit-Change-Number: 17292
Gerrit-PatchSet: 1
Gerrit-Owner: Laszlo Gaal <la...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Laszlo Gaal <la...@cloudera.com>
Gerrit-Comment-Date: Fri, 09 Apr 2021 05:30:43 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/17292 )

Change subject: IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/17292/1/bin/bootstrap_toolchain.py
File bin/bootstrap_toolchain.py:

http://gerrit.cloudera.org:8080/#/c/17292/1/bin/bootstrap_toolchain.py@369
PS1, Line 369: p
flake8: F402 import 'platform' from line 60 shadowed by loop variable



-- 
To view, visit http://gerrit.cloudera.org:8080/17292
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icb1a6c215b1b5a65691042bb7d94fb034392d135
Gerrit-Change-Number: 17292
Gerrit-PatchSet: 1
Gerrit-Owner: Laszlo Gaal <la...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Thu, 08 Apr 2021 23:07:29 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/17292 )

Change subject: IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap
......................................................................


Patch Set 4: Verified+1


-- 
To view, visit http://gerrit.cloudera.org:8080/17292
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icb1a6c215b1b5a65691042bb7d94fb034392d135
Gerrit-Change-Number: 17292
Gerrit-PatchSet: 4
Gerrit-Owner: Laszlo Gaal <la...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Laszlo Gaal <la...@cloudera.com>
Gerrit-Comment-Date: Fri, 09 Apr 2021 23:23:46 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap

Posted by "Laszlo Gaal (Code Review)" <ge...@cloudera.org>.
Hello Joe McDonnell, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

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

to look at the new patch set (#3).

Change subject: IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap
......................................................................

IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap

Recent Red Hat Enterprise Linux 8.x version return a shorter release
name string from `lsb_release -si` than earlier versions. This shorter
string was not recognized in the OS mapper logic in
bin/bootstrap_toolchain.py, makig it -- and the build process -- break
on Red Hat 8.2

The patch adds the shorter signature as a point fix.

Fixes an unrelated name conflict (shadowing) found by pylint.

Test: run bin/bootstrap_toolchain.py manually on Red Hat 8.2, then run
a complete build on the same OS.
Regression-tested (build and dataload only) on the following versions:
- Centos 8.2 (as opposed to Red Hat 8.2)
- Centos 7.9
- Ubuntu 18.04

Change-Id: Icb1a6c215b1b5a65691042bb7d94fb034392d135
---
M bin/bootstrap_toolchain.py
1 file changed, 4 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/92/17292/3
-- 
To view, visit http://gerrit.cloudera.org:8080/17292
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Icb1a6c215b1b5a65691042bb7d94fb034392d135
Gerrit-Change-Number: 17292
Gerrit-PatchSet: 3
Gerrit-Owner: Laszlo Gaal <la...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Laszlo Gaal <la...@cloudera.com>

[Impala-ASF-CR] IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap

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

Change subject: IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap
......................................................................


Patch Set 1:

Tested with successful builds on the following platforms (all on private infrastructure):
- CentOS 7.9 Docker container
- Centos 8.2 Docker container
- Ubuntu 18 Docker container


-- 
To view, visit http://gerrit.cloudera.org:8080/17292
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icb1a6c215b1b5a65691042bb7d94fb034392d135
Gerrit-Change-Number: 17292
Gerrit-PatchSet: 1
Gerrit-Owner: Laszlo Gaal <la...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Laszlo Gaal <la...@cloudera.com>
Gerrit-Comment-Date: Fri, 09 Apr 2021 08:53:00 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/17292 )

Change subject: IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap
......................................................................


Patch Set 1:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/7057/ DRY_RUN=false


-- 
To view, visit http://gerrit.cloudera.org:8080/17292
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icb1a6c215b1b5a65691042bb7d94fb034392d135
Gerrit-Change-Number: 17292
Gerrit-PatchSet: 1
Gerrit-Owner: Laszlo Gaal <la...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Laszlo Gaal <la...@cloudera.com>
Gerrit-Comment-Date: Thu, 08 Apr 2021 23:49:02 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/17292 )

Change subject: IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap
......................................................................


Patch Set 3:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/8530/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/17292
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icb1a6c215b1b5a65691042bb7d94fb034392d135
Gerrit-Change-Number: 17292
Gerrit-PatchSet: 3
Gerrit-Owner: Laszlo Gaal <la...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Laszlo Gaal <la...@cloudera.com>
Gerrit-Comment-Date: Fri, 09 Apr 2021 12:56:23 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/17292 )

Change subject: IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap
......................................................................

IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap

Recent Red Hat Enterprise Linux 8.x version return a shorter release
name string from `lsb_release -si` than earlier versions. This shorter
string was not recognized in the OS mapper logic in
bin/bootstrap_toolchain.py, makig it -- and the build process -- break
on Red Hat 8.2

The patch adds the shorter signature as a point fix.

Rename a local variable to fix an unrelated name conflict (shadowing)
found by flake8.

Tests: run bin/bootstrap_toolchain.py manually on Red Hat 8.2, then run
  a complete build on the same OS.

Regression-tested (build and dataload only) on the following versions:
- Centos 8.2 (as opposed to Red Hat 8.2)
- Centos 7.9
- Ubuntu 18.04

Change-Id: Icb1a6c215b1b5a65691042bb7d94fb034392d135
Reviewed-on: http://gerrit.cloudera.org:8080/17292
Reviewed-by: Joe McDonnell <jo...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
M bin/bootstrap_toolchain.py
1 file changed, 4 insertions(+), 3 deletions(-)

Approvals:
  Joe McDonnell: Looks good to me, approved
  Impala Public Jenkins: Verified

-- 
To view, visit http://gerrit.cloudera.org:8080/17292
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Icb1a6c215b1b5a65691042bb7d94fb034392d135
Gerrit-Change-Number: 17292
Gerrit-PatchSet: 5
Gerrit-Owner: Laszlo Gaal <la...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Laszlo Gaal <la...@cloudera.com>

[Impala-ASF-CR] IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap

Posted by "Laszlo Gaal (Code Review)" <ge...@cloudera.org>.
Hello Joe McDonnell, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

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

to look at the new patch set (#4).

Change subject: IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap
......................................................................

IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap

Recent Red Hat Enterprise Linux 8.x version return a shorter release
name string from `lsb_release -si` than earlier versions. This shorter
string was not recognized in the OS mapper logic in
bin/bootstrap_toolchain.py, makig it -- and the build process -- break
on Red Hat 8.2

The patch adds the shorter signature as a point fix.

Rename a local variable to fix an unrelated name conflict (shadowing)
found by flake8.

Tests: run bin/bootstrap_toolchain.py manually on Red Hat 8.2, then run
  a complete build on the same OS.

Regression-tested (build and dataload only) on the following versions:
- Centos 8.2 (as opposed to Red Hat 8.2)
- Centos 7.9
- Ubuntu 18.04

Change-Id: Icb1a6c215b1b5a65691042bb7d94fb034392d135
---
M bin/bootstrap_toolchain.py
1 file changed, 4 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/92/17292/4
-- 
To view, visit http://gerrit.cloudera.org:8080/17292
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Icb1a6c215b1b5a65691042bb7d94fb034392d135
Gerrit-Change-Number: 17292
Gerrit-PatchSet: 4
Gerrit-Owner: Laszlo Gaal <la...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Laszlo Gaal <la...@cloudera.com>

[Impala-ASF-CR] IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/17292 )

Change subject: IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap
......................................................................


Patch Set 4:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/7059/ DRY_RUN=false


-- 
To view, visit http://gerrit.cloudera.org:8080/17292
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icb1a6c215b1b5a65691042bb7d94fb034392d135
Gerrit-Change-Number: 17292
Gerrit-PatchSet: 4
Gerrit-Owner: Laszlo Gaal <la...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Laszlo Gaal <la...@cloudera.com>
Gerrit-Comment-Date: Fri, 09 Apr 2021 17:36:37 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap

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

Change subject: IMPALA-10646: Add non-server RHEL 8 signature to toolchain bootstrap
......................................................................


Patch Set 4: Code-Review+2


-- 
To view, visit http://gerrit.cloudera.org:8080/17292
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icb1a6c215b1b5a65691042bb7d94fb034392d135
Gerrit-Change-Number: 17292
Gerrit-PatchSet: 4
Gerrit-Owner: Laszlo Gaal <la...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Laszlo Gaal <la...@cloudera.com>
Gerrit-Comment-Date: Fri, 09 Apr 2021 16:28:08 +0000
Gerrit-HasComments: No