[GOBBLIN-1846] Validate Multi-active Scheduler with Logs#3707
Merged
Will-Lo merged 4 commits intoapache:masterfrom Jun 22, 2023
Merged
[GOBBLIN-1846] Validate Multi-active Scheduler with Logs#3707Will-Lo merged 4 commits intoapache:masterfrom
Will-Lo merged 4 commits intoapache:masterfrom
Conversation
* Adds logging at 3 critical points to ensure no scheduled events are missed - when jobs are first rescheduled (or updated) - each trigger of a new job - when jobs are unscheduled
phet
reviewed
Jun 20, 2023
Contributor
phet
left a comment
There was a problem hiding this comment.
couple Qs toward clarifying naming
gobblin-runtime/src/main/java/org/apache/gobblin/scheduler/JobScheduler.java
Outdated
Show resolved
Hide resolved
gobblin-runtime/src/main/java/org/apache/gobblin/scheduler/JobScheduler.java
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #3707 +/- ##
============================================
- Coverage 46.83% 46.82% -0.01%
+ Complexity 10802 10801 -1
============================================
Files 2141 2141
Lines 84410 84429 +19
Branches 9383 9383
============================================
+ Hits 39530 39533 +3
- Misses 41276 41294 +18
+ Partials 3604 3602 -2
... and 10 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Will-Lo
requested changes
Jun 21, 2023
gobblin-runtime/src/main/java/org/apache/gobblin/scheduler/JobScheduler.java
Outdated
Show resolved
Hide resolved
gobblin-runtime/src/main/java/org/apache/gobblin/scheduler/JobScheduler.java
Outdated
Show resolved
Hide resolved
84c3717 to
c7f3c84
Compare
phet
reviewed
Jun 21, 2023
gobblin-runtime/src/main/java/org/apache/gobblin/scheduler/JobScheduler.java
Outdated
Show resolved
Hide resolved
...e/src/main/java/org/apache/gobblin/service/modules/scheduler/GobblinServiceJobScheduler.java
Outdated
Show resolved
Hide resolved
...e/src/main/java/org/apache/gobblin/service/modules/scheduler/GobblinServiceJobScheduler.java
Outdated
Show resolved
Hide resolved
phet
reviewed
Jun 22, 2023
Comment on lines
+595
to
+599
| properties.getProperty(ConfigurationKeys.JOB_NAME_KEY), | ||
| properties.getProperty(ConfigurationKeys.JOB_GROUP_KEY)); | ||
| _log.info(jobSchedulerTracePrefixBuilder(properties) + "Unscheduled Spec"); |
Contributor
There was a problem hiding this comment.
I definitely support the reuse between these... but also see the prefix builder using FLOW_GROUP_KEY, while the prior revision had used JOB_GROUP_KEY. can the former stand in for the latter... or was it incorrect previously to use JOB_GROUP_KEY?
Contributor
Author
There was a problem hiding this comment.
Previously was incorrectly using JOB_GROUP_KEY, we should track at FLOW level
phet
approved these changes
Jun 22, 2023
Will-Lo
approved these changes
Jun 22, 2023
phet
added a commit
to phet/gobblin
that referenced
this pull request
Aug 15, 2023
* upstream/master: Fix bug with total count watermark whitelist (apache#3724) [GOBBLIN-1858] Fix logs relating to multi-active lease arbiter (apache#3720) [GOBBLIN-1838] Introduce total count based completion watermark (apache#3701) Correct num of failures (apache#3722) [GOBBLIN- 1856] Add flow trigger handler leasing metrics (apache#3717) [GOBBLIN-1857] Add override flag to force generate a job execution id based on gobbl… (apache#3719) [GOBBLIN-1855] Metadata writer tests do not work in isolation after upgrading to Iceberg 1.2.0 (apache#3718) Remove unused ORC writer code (apache#3710) [GOBBLIN-1853] Reduce # of Hive calls during schema related updates (apache#3716) [GOBBLIN-1851] Unit tests for MysqlMultiActiveLeaseArbiter with Single Participant (apache#3715) [GOBBLIN-1848] Add tags to dagmanager metrics for extensibility (apache#3712) [GOBBLIN-1849] Add Flow Group & Name to Job Config for Job Scheduler (apache#3713) [GOBBLIN-1841] Move disabling of current live instances to the GobblinClusterManager startup (apache#3708) [GOBBLIN-1840] Helix Job scheduler should not try to replace running workflow if within configured time (apache#3704) [GOBBLIN-1847] Exceptions in the JobLauncher should try to delete the existing workflow if it is launched (apache#3711) [GOBBLIN-1842] Add timers to GobblinMCEWriter (apache#3703) [GOBBLIN-1844] Ignore workflows marked for deletion when calculating container count (apache#3709) [GOBBLIN-1846] Validate Multi-active Scheduler with Logs (apache#3707) [GOBBLIN-1845] Changes parallelstream to stream in DatasetsFinderFilteringDecorator to avoid classloader issues in spark (apache#3706) [GOBBLIN-1843] Utility for detecting non optional unions should convert dataset urn to hive compatible format (apache#3705) [GOBBLIN-1837] Implement multi-active, non blocking for leader host (apache#3700) [GOBBLIN-1835]Upgrade Iceberg Version from 0.11.1 to 1.2.0 (apache#3697) Update CHANGELOG to reflect changes in 0.17.0 Reserving 0.18.0 version for next release [GOBBLIN-1836] Ensuring Task Reliability: Handling Job Cancellation and Graceful Exits for Error-Free Completion (apache#3699) [GOBBLIN-1805] Check watermark for the most recent hour for quiet topics (apache#3698) [GOBBLIN-1825]Hive retention job should fail if deleting underlying files fail (apache#3687) [GOBBLIN-1823] Improving Container Calculation and Allocation Methodology (apache#3692) [GOBBLIN-1830] Improving Container Transition Tracking in Streaming Data Ingestion (apache#3693) [GOBBLIN-1833]Emit Completeness watermark information in snapshotCommitEvent (apache#3696)
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA
Description
Follow up to previous PR GOBBLIN-1837 to add validation via logging statements that we will query to ensure no scheduled trigger events are missed during host downtime. Also moves
Flowspecific logic fromJobSchedulertoGobblinServiceJobScheduler.Tests
N/A to be added in the future but will be validated using these statements and local deploy
Commits