-
Notifications
You must be signed in to change notification settings - Fork 86
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
Generate flink-conf.yaml
file automatically to set optimum conf values
#874
Generate flink-conf.yaml
file automatically to set optimum conf values
#874
Conversation
b31e84a
to
5dfb2c7
Compare
@bashir2 The build is failing currently, I am looking into it. |
0f173f4
to
ab8d8f5
Compare
@bashir2 The PR is ready for review. Since changes were made to create target jars compatible with jdk 17, the docker images had to be updated for streaming module. |
Thanks @chandrashekar-s for the updates. I'll review this by tomorrow. |
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.
Thanks @chandrashekar-s for this change.
pipelines/batch/src/main/java/com/google/fhir/analytics/ParquetMerger.java
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/ParquetMerger.java
Show resolved
Hide resolved
pipelines/controller/src/main/java/com/google/fhir/analytics/FlinkConfiguration.java
Outdated
Show resolved
Hide resolved
pipelines/controller/src/main/java/com/google/fhir/analytics/PipelineManager.java
Show resolved
Hide resolved
pipelines/controller/src/main/java/com/google/fhir/analytics/FlinkConfiguration.java
Show resolved
Hide resolved
pipelines/controller/src/test/java/com/google/fhir/analytics/FlinkConfigurationTest.java
Show resolved
Hide resolved
pipelines/controller/src/test/java/com/google/fhir/analytics/FlinkConfigurationTest.java
Show resolved
Hide resolved
pipelines/controller/src/test/java/com/google/fhir/analytics/FlinkConfigurationTest.java
Outdated
Show resolved
Hide resolved
pipelines/controller/src/test/java/com/google/fhir/analytics/FlinkConfigurationTest.java
Show resolved
Hide resolved
ab8d8f5
to
28d214e
Compare
@bashir2 Thanks for reviewing the changes. I have addressed/responded to the comments. Can you please have a look. Also, for few cases where unit test cases could not be written, I feel we need few more tests for e2e or performance to avoid regressions. |
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.
Thanks @chandrashekar-s the remaining comments are all questions or minor suggestions. Please feel free to merge after addressing them.
pipelines/batch/src/main/java/com/google/fhir/analytics/ParquetMerger.java
Show resolved
Hide resolved
pipelines/batch/src/main/java/com/google/fhir/analytics/ParquetMerger.java
Outdated
Show resolved
Hide resolved
pipelines/controller/src/main/java/com/google/fhir/analytics/FlinkConfiguration.java
Show resolved
Hide resolved
pipelines/controller/src/main/java/com/google/fhir/analytics/FlinkConfiguration.java
Show resolved
Hide resolved
pipelines/controller/src/main/java/com/google/fhir/analytics/FlinkConfiguration.java
Show resolved
Hide resolved
pipelines/controller/src/main/java/com/google/fhir/analytics/PipelineManager.java
Show resolved
Hide resolved
pipelines/controller/src/main/java/com/google/fhir/analytics/PipelineManager.java
Show resolved
Hide resolved
pipelines/controller/src/main/java/com/google/fhir/analytics/FlinkConfiguration.java
Show resolved
Hide resolved
c692ec0
to
4a11dde
Compare
4a11dde
to
9cad1ef
Compare
The performance results have been attached in the PR description. No noticeable changes for the |
Description of what I changed
Fixes #823
flink-conf.yaml
based on thenumThreads
inapplication.yaml
file and the number ofcores
available in the machine.flink-conf.yaml
directed by the env. varFLINK_CONF_DIR
will be used. If var is empty, then default conf will be used.E2E test
Tested
Full Run
andIncremental Run
by enabling and disabling the flags. Also tested for differentnumThread
configurations.TESTED:
Load tested the application on a 48 core machine. Given below are the results
After fixing the regression the time taken for incremental run has significantly reduced
Checklist: I completed these to help reviewers :)
I have read and will follow the review process.
I am familiar with Google Style Guides for the language I have coded in.
No? Please take some time and review Java and Python style guides.
My IDE is configured to follow the Google code styles.
No? Unsure? -> configure your IDE.
I have added tests to cover my changes. (If you refactored existing code that was well tested you do not have to add tests)
I ran
mvn clean package
right before creating this pull request and added all formatting changes to my commit.All new and existing tests passed.
My pull request is based on the latest changes of the master branch.
No? Unsure? -> execute command
git pull --rebase upstream master