Skip to content

[CELEBORN-1559]Fix make distribution script failed to recognize specific profile#2682

Closed
zhaohehuhu wants to merge 2 commits intoapache:mainfrom
zhaohehuhu:dev-0814
Closed

[CELEBORN-1559]Fix make distribution script failed to recognize specific profile#2682
zhaohehuhu wants to merge 2 commits intoapache:mainfrom
zhaohehuhu:dev-0814

Conversation

@zhaohehuhu
Copy link
Contributor

@zhaohehuhu zhaohehuhu commented Aug 14, 2024

What changes were proposed in this pull request?

as title

Why are the changes needed?

When I run the command(./build/make-distribution.sh -Pflink-1.16), the profiles can be resolved and built.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Yes

@zhaohehuhu zhaohehuhu changed the title Fix make distribution shell to include client jars Fix make distribution shell to build client jars Aug 14, 2024
@zhaohehuhu
Copy link
Contributor Author

plz review this PR. Thanks @FMX

@SteNicholas
Copy link
Member

@zhaohehuhu, please update the title of this pull request to link with ticket.

@zhaohehuhu
Copy link
Contributor Author

@zhaohehuhu, please update the title of this pull request to link with ticket.

Got it. Thanks.

@zhaohehuhu zhaohehuhu changed the title Fix make distribution shell to build client jars [CELEBORN-1559]Fix make distribution script failed to recognize specific profile Aug 15, 2024
if [[ "$HADOOP_AWS_ENABLED" == "true" ]]; then

if [[ $@ == *"hadoop-aws"* ]]; then
export SBT_MAVEN_PROFILES="hadoop-aws"
Copy link
Contributor

Choose a reason for hiding this comment

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

There is no need to export this variable. Just setting this variable should be enough.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. Thanks

Copy link
Contributor

@FMX FMX left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks. Merged into main(v0.6.0).

@FMX FMX closed this in 879f8cd Aug 15, 2024
zaynt4606 pushed a commit to zaynt4606/celeborn that referenced this pull request Aug 16, 2024
…ific profile

<!--
Thanks for sending a pull request!  Here are some tips for you:
  - Make sure the PR title start w/ a JIRA ticket, e.g. '[CELEBORN-XXXX] Your PR title ...'.
  - Be sure to keep the PR description updated to reflect all changes.
  - Please write your PR title to summarize what this PR proposes.
  - If possible, provide a concise example to reproduce the issue for a faster review.
-->

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

### Why are the changes needed?
When I run the command(./build/make-distribution.sh -Pflink-1.16),  the profiles can be resolved and built.

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

No

### How was this patch tested?

Yes

Closes apache#2682 from zhaohehuhu/dev-0814.

Authored-by: zhaohehuhu <luoyedeyi@163.com>
Signed-off-by: mingji <fengmingxiao.fmx@alibaba-inc.com>
wankunde pushed a commit to wankunde/celeborn that referenced this pull request Oct 11, 2024
…ific profile

<!--
Thanks for sending a pull request!  Here are some tips for you:
  - Make sure the PR title start w/ a JIRA ticket, e.g. '[CELEBORN-XXXX] Your PR title ...'.
  - Be sure to keep the PR description updated to reflect all changes.
  - Please write your PR title to summarize what this PR proposes.
  - If possible, provide a concise example to reproduce the issue for a faster review.
-->

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

### Why are the changes needed?
When I run the command(./build/make-distribution.sh -Pflink-1.16),  the profiles can be resolved and built.

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

No

### How was this patch tested?

Yes

Closes apache#2682 from zhaohehuhu/dev-0814.

Authored-by: zhaohehuhu <luoyedeyi@163.com>
Signed-off-by: mingji <fengmingxiao.fmx@alibaba-inc.com>
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