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 2020/12/09 10:45:12 UTC

[Impala-ASF-CR] IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3

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


Change subject: IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3
......................................................................

IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3

Centos 8.3 changed package repo ID capitalization from MixedCase
to all lowercase. On Centos 8 snappy-devel is installed from the
PowerTools repo, which is not enabled by default, so the install command
has to enable is temporarily using the repo ID.
The capitalization change broke bootstrap_system.sh, failing builds
on Centos 8.

The patch changes the `dnf install` call to use a glob pattern
for the PowerTools repo ID to cover the naming conventions in all
Centos 8.x releases.

Change-Id: I224beb1189ce25ae66ecd78d70757537e117805a
---
M bin/bootstrap_system.sh
M bin/impala-config.sh
2 files changed, 4 insertions(+), 2 deletions(-)



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

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

[Impala-ASF-CR] IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3

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

Change subject: IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/16844/1/bin/impala-config.sh
File bin/impala-config.sh:

http://gerrit.cloudera.org:8080/#/c/16844/1/bin/impala-config.sh@71
PS1, Line 71: 69-7644f7fe9c
> On a related note: toolchain build #68-xxxx was a mistake: I forgot to publ
https://gerrit.cloudera.org/#/c/16843/ was merged with 68, so we can't delete it.

https://github.com/apache/impala/blob/master/bin/impala-config.sh#L71

So, now I get it, this change intentionally goes to 69-7644f7fe9c, and that is fine.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I224beb1189ce25ae66ecd78d70757537e117805a
Gerrit-Change-Number: 16844
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: Wed, 09 Dec 2020 20:15:29 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3

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

Change subject: IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/16844/1/bin/impala-config.sh
File bin/impala-config.sh:

http://gerrit.cloudera.org:8080/#/c/16844/1/bin/impala-config.sh@71
PS1, Line 71: 69-7644f7fe9c
> When this is rebased on top of https://gerrit.cloudera.org/#/c/16843/1 , do
It's the other way round: on Centos 8.2 you just need the toolchain fix from 69-7644f7fe9c; on Centos 8.3 you need both the toolchain fix and this patch for the repo name change. Automated builds would break on either of these problems on Centos 8.3.

https://gerrit.cloudera.org/#/c/16843/1 has just been merged so I'll rebase this patch on top of it to clean this up.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I224beb1189ce25ae66ecd78d70757537e117805a
Gerrit-Change-Number: 16844
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: Wed, 09 Dec 2020 20:06:35 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3

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

Change subject: IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3
......................................................................


Patch Set 1:

(1 comment)

> Patch Set 1:
> 
> (1 comment)

http://gerrit.cloudera.org:8080/#/c/16844/1/bin/impala-config.sh
File bin/impala-config.sh:

http://gerrit.cloudera.org:8080/#/c/16844/1/bin/impala-config.sh@71
PS1, Line 71: 69-7644f7fe9c
> It's the other way round: on Centos 8.2 you just need the toolchain fix fro
On a related note: toolchain build #68-xxxx was a mistake: I forgot to publish the rebuilt build containers before starting it, so build #68 does not contain the glibc fix. My mistake; I'll remove the bits from the S3 bucket.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I224beb1189ce25ae66ecd78d70757537e117805a
Gerrit-Change-Number: 16844
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: Wed, 09 Dec 2020 20:09:44 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3

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

Change subject: IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3
......................................................................


Patch Set 3: Verified+1


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I224beb1189ce25ae66ecd78d70757537e117805a
Gerrit-Change-Number: 16844
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, 11 Dec 2020 19:24:51 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3

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

Change subject: IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3
......................................................................


Patch Set 3:

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


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I224beb1189ce25ae66ecd78d70757537e117805a
Gerrit-Change-Number: 16844
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, 11 Dec 2020 13:57:48 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3

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

Change subject: IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3
......................................................................


Patch Set 1:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/7803/ : 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/16844
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I224beb1189ce25ae66ecd78d70757537e117805a
Gerrit-Change-Number: 16844
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: Wed, 09 Dec 2020 11:07:26 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3

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

Change subject: IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3
......................................................................


Patch Set 2:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/7809/ : 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/16844
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I224beb1189ce25ae66ecd78d70757537e117805a
Gerrit-Change-Number: 16844
Gerrit-PatchSet: 2
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: Wed, 09 Dec 2020 20:31:22 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3

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/16844 )

Change subject: IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3
......................................................................

IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3

Centos 8.3 changed package repo ID capitalization from MixedCase
to all lowercase. On Centos 8 snappy-devel is installed from the
PowerTools repo, which is not enabled by default, so the install command
has to enable is temporarily using the repo ID.
The capitalization change broke bootstrap_system.sh, failing builds
on Centos 8.

The patch changes the `dnf install` call to use a glob pattern
for the PowerTools repo ID to cover the naming conventions in all
Centos 8.x releases.

Change-Id: I224beb1189ce25ae66ecd78d70757537e117805a
Reviewed-on: http://gerrit.cloudera.org:8080/16844
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
M bin/bootstrap_system.sh
M bin/impala-config.sh
2 files changed, 4 insertions(+), 2 deletions(-)

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

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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I224beb1189ce25ae66ecd78d70757537e117805a
Gerrit-Change-Number: 16844
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-10385: Fix RPM repo ID capitalization for Centos 8.3

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

Change subject: IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3
......................................................................


Patch Set 1: Code-Review+2

(1 comment)

bootstrap_system.sh changes make sense to me. If we don't need the new toolchain, it would be nice for that to be removed. I'm going ahead with +2

http://gerrit.cloudera.org:8080/#/c/16844/1/bin/impala-config.sh
File bin/impala-config.sh:

http://gerrit.cloudera.org:8080/#/c/16844/1/bin/impala-config.sh@71
PS1, Line 71: 69-7644f7fe9c
When this is rebased on top of https://gerrit.cloudera.org/#/c/16843/1 , do you still need to go to 69-7644f7fe9c, or can this use 68-7644f7fe9c?



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I224beb1189ce25ae66ecd78d70757537e117805a
Gerrit-Change-Number: 16844
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: Wed, 09 Dec 2020 19:36:04 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3

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

Change subject: IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3
......................................................................


Patch Set 2: Verified-1

Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/6746/


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I224beb1189ce25ae66ecd78d70757537e117805a
Gerrit-Change-Number: 16844
Gerrit-PatchSet: 2
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, 10 Dec 2020 01:42:32 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3

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

Change subject: IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3
......................................................................


Patch Set 2:

> Patch Set 1:
> 
> (1 comment)

Yes, it is intentional.
You're right of course, build #68 should be kept around for the merged change.


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I224beb1189ce25ae66ecd78d70757537e117805a
Gerrit-Change-Number: 16844
Gerrit-PatchSet: 2
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: Wed, 09 Dec 2020 20:46:04 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3

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

Change subject: IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3
......................................................................


Patch Set 2:

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


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I224beb1189ce25ae66ecd78d70757537e117805a
Gerrit-Change-Number: 16844
Gerrit-PatchSet: 2
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: Wed, 09 Dec 2020 20:14:13 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3

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

Change subject: IMPALA-10385: Fix RPM repo ID capitalization for Centos 8.3
......................................................................


Patch Set 3: Code-Review+2


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I224beb1189ce25ae66ecd78d70757537e117805a
Gerrit-Change-Number: 16844
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, 11 Dec 2020 13:57:47 +0000
Gerrit-HasComments: No