-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[feat][cli] Add command line option for configuring the memory limit #20663
Merged
tisonkun
merged 23 commits into
apache:master
from
JooHyukKim:15912-Add-command-line-option-for-configuring-the-memory-limit
Oct 10, 2023
Merged
Changes from 22 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
ebbe45a
Putback memory limit
JooHyukKim e8b262d
Fix check style
JooHyukKim c82e923
Implement perfUtil and test
JooHyukKim 4062954
Add JavaDoc to memory limit
JooHyukKim 2c2275e
Minimize PerformanceProducer change
JooHyukKim daae661
Implement perf testclients with memory unit
JooHyukKim 979eaec
Fix check style
JooHyukKim aa7fe74
Minimize changes
JooHyukKim f3891af
Add license header
JooHyukKim 2579fed
Merge remote-tracking branch 'upstream/master' into 15912-Add-command…
JooHyukKim 5c1eec3
Refactor to have default value inline
JooHyukKim 7618b99
Merge remote-tracking branch 'upstream/master' into 15912-Add-command…
JooHyukKim 756134f
Merge remote-tracking branch 'upstream/master' into 15912-Add-command…
JooHyukKim 99172b3
Merge branch 'master' into 15912-Add-command-line-option-for-configur…
JooHyukKim b24f4e0
Import CLI utils
JooHyukKim d95a36f
Replace temporary converter
JooHyukKim 9f18bc7
Minimize changes by using existing module
JooHyukKim 9525de1
.
JooHyukKim c1de7c2
Merge remote-tracking branch 'upstream/master' into 15912-Add-command…
JooHyukKim 7c0e29e
Update PerfClientUtils.java
JooHyukKim 18b2099
Merge branch 'master' into 15912-Add-command-line-option-for-configur…
tisonkun 2502f04
fix license check
tisonkun dc5eed4
Merge branch 'master' into 15912-Add-command-line-option-for-configur…
tisonkun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ if [ -z $TARBALL ]; then | |
exit 1 | ||
fi | ||
|
||
JARS=$(tar -tf $TARBALL | grep '\.jar' | grep -v 'trino/' | grep -v '/examples/' | grep -v '/instances/' | grep -v pulsar-client | grep -v pulsar-common | grep -v pulsar-package | grep -v pulsar-websocket | grep -v bouncy-castle-bc | sed 's!.*/!!' | sort) | ||
JARS=$(tar -tf $TARBALL | grep '\.jar' | grep -v 'trino/' | grep -v '/examples/' | grep -v '/instances/' | grep -v pulsar-client | grep -v pulsar-cli-utils | grep -v pulsar-common | grep -v pulsar-package | grep -v pulsar-websocket | grep -v bouncy-castle-bc | sed 's!.*/!!' | sort) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh... this was it. Thank you @tisonkun ! 😭 |
||
|
||
LICENSEPATH=$(tar -tf $TARBALL | awk '/^[^\/]*\/LICENSE/') | ||
LICENSE=$(tar -O -xf $TARBALL "$LICENSEPATH") | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this one we might be able to utilize over at PR #20646