adithya2754 commented on code in PR #4174:
URL: https://github.com/apache/gobblin/pull/4174#discussion_r2916784687
##########
gobblin-temporal/src/main/java/org/apache/gobblin/temporal/ddm/activity/impl/ProcessWorkUnitImpl.java:
##########
@@ -91,7 +94,16 @@ public int processWorkUnit(WorkUnitClaimCheck wu) {
troubleshooter =
AutomaticTroubleshooterFactory.createForJob(jobState.getProperties());
troubleshooter.start();
return execute(workUnits, wu, jobState, fs,
troubleshooter.getIssueRepository(), jobState.getProperties());
- } catch (IOException | InterruptedException e) {
+ } catch (IOException e) {
+ Throwable cause = e.getCause();
+ if (cause instanceof DSQuotaExceededException || cause instanceof
NSQuotaExceededException) {
Review Comment:
yes that would be better ✅
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]