-
Notifications
You must be signed in to change notification settings - Fork 0
Bump Flink Task Manager direct memory #370
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
Conversation
WalkthroughA new configuration property is introduced in the Changes
Sequence Diagram(s)sequenceDiagram
participant C as Client
participant D as DataprocSubmitter
participant F as Flink Config
C->>D: Submit Flink job
D->>F: Build job configuration (off-heap = "1G")
F-->>D: Return configuration
D-->>C: Confirm job submission
Possibly related PRs
Suggested reviewers
Poem
Warning Review ran into problems🔥 ProblemsGitHub Actions and Pipeline Checks: Resource not accessible by integration - https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository. Please grant the required permissions to the CodeRabbit GitHub App under the organization or repository settings. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (3)
🔇 Additional comments (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
## Summary While running our Flink jobs we do see periodic restarts as we're low on direct memory. Direct mem is required by Kafka consumer clients as well as BigTable's client sdk. Flink's default seems to be [0 bytes](https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/deployment/config/). Bumping this a bit to 1G seems to result in the jobs running without restarting every hour. Before:  After:  ## Checklist - [ ] Added Unit Tests - [ ] Covered by existing CI - [X] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Improved memory allocation for job processing, allocating additional off-heap memory to enhance performance and reliability for applications with high memory demands. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Summary While running our Flink jobs we do see periodic restarts as we're low on direct memory. Direct mem is required by Kafka consumer clients as well as BigTable's client sdk. Flink's default seems to be [0 bytes](https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/deployment/config/). Bumping this a bit to 1G seems to result in the jobs running without restarting every hour. Before:  After:  ## Checklist - [ ] Added Unit Tests - [ ] Covered by existing CI - [X] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Improved memory allocation for job processing, allocating additional off-heap memory to enhance performance and reliability for applications with high memory demands. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Summary While running our Flink jobs we do see periodic restarts as we're low on direct memory. Direct mem is required by Kafka consumer clients as well as BigTable's client sdk. Flink's default seems to be [0 bytes](https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/deployment/config/). Bumping this a bit to 1G seems to result in the jobs running without restarting every hour. Before:  After:  ## Checklist - [ ] Added Unit Tests - [ ] Covered by existing CI - [X] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Improved memory allocation for job processing, allocating additional off-heap memory to enhance performance and reliability for applications with high memory demands. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Summary While running our Flink jobs we do see periodic restarts as we're low on direct memory. Direct mem is required by Kafka consumer clients as well as BigTable's client sdk. Flink's default seems to be [0 bytes](https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/deployment/config/). Bumping this a bit to 1G seems to result in the jobs running without restarting every hour. Before:  After:  ## Checklist - [ ] Added Unit Tests - [ ] Covered by existing CI - [X] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Improved memory allocation for job processing, allocating additional off-heap memory to enhance performance and reliability for applications with high memory demands. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Summary While running our Flink jobs we do see periodic restarts as we're low on direct memory. Direct mem is required by Kafka consumer clients as well as BigTable's client sdk. Flink's default seems to be [0 bytes](https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/deployment/config/). Bumping this a bit to 1G seems to result in the jobs running without restarting every hour. Before:  After:  ## Cheour clientslist - [ ] Added Unit Tests - [ ] Covered by existing CI - [X] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Improved memory allocation for job processing, allocating additional off-heap memory to enhance performance and reliability for applications with high memory demands. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Summary
While running our Flink jobs we do see periodic restarts as we're low on direct memory. Direct mem is required by Kafka consumer clients as well as BigTable's client sdk. Flink's default seems to be 0 bytes. Bumping this a bit to 1G seems to result in the jobs running without restarting every hour.
Before:

After:

Checklist
Summary by CodeRabbit