Skip to content

[#1826] fix(build): Fix multiple '--without' options and correct Hadoop profile usage #1827

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

rickyma
Copy link
Contributor

@rickyma rickyma commented Jun 24, 2024

What changes were proposed in this pull request?

Fix two compilation issues:

  1. Ineffectiveness of specifying multiple --without options.
  2. Correct Hadoop profile not being used despite being specified, with default profile being used instead.

Why are the changes needed?

For: #1826.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing UTs.

@rickyma rickyma requested review from jerqi, zuston and EnricoMi June 24, 2024 13:43
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.19%. Comparing base (dddcced) to head (19332d0).
Report is 20 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1827      +/-   ##
============================================
- Coverage     53.53%   53.19%   -0.35%     
- Complexity     2356     2844     +488     
============================================
  Files           368      431      +63     
  Lines         16852    22806    +5954     
  Branches       1540     2134     +594     
============================================
+ Hits           9022    12132    +3110     
- Misses         7303     9902    +2599     
- Partials        527      772     +245     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rickyma rickyma closed this Jun 24, 2024
@rickyma rickyma reopened this Jun 24, 2024
Copy link

github-actions bot commented Jun 24, 2024

Test Results

 2 640 files   - 1   2 640 suites   - 1   5h 27m 11s ⏱️ -59s
   944 tests ±0     942 ✅ ±0   1 💤 ±0  1 ❌ ±0 
11 772 runs   - 1  11 756 ✅  - 1  15 💤 ±0  1 ❌ ±0 

For more details on these failures, see this check.

Results for commit 19332d0. ± Comparison against base commit 1482804.

♻️ This comment has been updated with latest results.

Copy link
Member

@zuston zuston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch.

@rickyma rickyma merged commit a16184a into apache:master Jun 25, 2024
80 of 85 checks passed
@@ -81,22 +81,28 @@ while (( "$#" )); do
;;
--without-mr)
WITH_MR="false"
shift
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These shift is needn't. Please to revert this.

rickyma added a commit that referenced this pull request Jun 25, 2024
…ion in build_distribution.sh (#1830)

### What changes were proposed in this pull request?

Revert the incorrect shift shell statements deletion in #1827.

### Why are the changes needed?

A follow-up PR for #1827.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Existing UTs.
zhengchenyu pushed a commit that referenced this pull request Aug 2, 2024
…op profile usage (#1827)

### What changes were proposed in this pull request?

Fix two compilation issues: 
1) Ineffectiveness of specifying multiple `--without` options.
2) Correct Hadoop profile not being used despite being specified, with default profile being used instead.

### Why are the changes needed?

For: #1826.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Existing UTs.
zhengchenyu pushed a commit that referenced this pull request Aug 2, 2024
…ion in build_distribution.sh (#1830)

### What changes were proposed in this pull request?

Revert the incorrect shift shell statements deletion in #1827.

### Why are the changes needed?

A follow-up PR for #1827.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Existing UTs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants