-
Notifications
You must be signed in to change notification settings - Fork 751
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
[GOBBLIN-2110]Made retry_exception_predicate configurable in RetryerFactory #4001
[GOBBLIN-2110]Made retry_exception_predicate configurable in RetryerFactory #4001
Conversation
gobblin-utility/src/main/java/org/apache/gobblin/util/retry/RetryerFactory.java
Outdated
Show resolved
Hide resolved
gobblin-utility/src/main/java/org/apache/gobblin/util/retry/RetryerFactory.java
Outdated
Show resolved
Hide resolved
gobblin-utility/src/main/java/org/apache/gobblin/util/retry/RetryerFactory.java
Outdated
Show resolved
Hide resolved
gobblin-utility/src/main/java/org/apache/gobblin/util/retry/RetryerFactory.java
Outdated
Show resolved
Hide resolved
gobblin-utility/src/main/java/org/apache/gobblin/util/retry/RetryerFactory.java
Outdated
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4001 +/- ##
============================================
+ Coverage 45.48% 47.05% +1.56%
- Complexity 3222 8072 +4850
============================================
Files 705 1553 +848
Lines 27558 61574 +34016
Branches 2777 6977 +4200
============================================
+ Hits 12535 28973 +16438
- Misses 13960 29925 +15965
- Partials 1063 2676 +1613 ☔ View full report in Codecov by Sentry. |
gobblin-utility/src/main/java/org/apache/gobblin/util/retry/RetryerFactory.java
Outdated
Show resolved
Hide resolved
gobblin-utility/src/test/java/org/apache/gobblin/util/retry/RetryerFactoryTest.java
Outdated
Show resolved
Hide resolved
95fc419
to
d64067f
Compare
@@ -1061,6 +1061,8 @@ public class ConfigurationKeys { | |||
// describes a comma separated list of non transient errors that may come in a gobblin job | |||
// e.g. "invalid_grant,CredentialStoreException" | |||
public static final String GOBBLIN_NON_TRANSIENT_ERRORS = "gobblin.errorMessages.nonTransientErrors"; | |||
// Key to store a comma-separated list of exception class names that should be retried | |||
public static final String EXCEPTION_LIST_FOR_RETRY_CONFIG_KEY = "EXCEPTION_LIST_FOR_RETRY"; |
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.
approving for now, but lets change the RHS to small case in the next commit and future prs
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
RetryerFactory does not give option to set retry_exception_predicate.Made it configurable
Tests
Commits