[
https://issues.apache.org/jira/browse/GOBBLIN-1588?focusedWorklogId=691906&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-691906
]
ASF GitHub Bot logged work on GOBBLIN-1588:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 07/Dec/21 17:36
Start Date: 07/Dec/21 17:36
Worklog Time Spent: 10m
Work Description: ZihanLi58 commented on a change in pull request #3441:
URL: https://github.com/apache/gobblin/pull/3441#discussion_r764218925
##########
File path:
gobblin-iceberg/src/main/java/org/apache/gobblin/iceberg/writer/GobblinMCEWriter.java
##########
@@ -420,4 +434,22 @@ public static State setHiveRegProperties(State state,
GobblinMetadataChangeEvent
}
return tmpState;
}
+
+ /**
+ * Submit event indicating that a specific set of GMCEs have been skipped,
so there is a gap in the registration
+ */
+ private void submitFailureEvent(GobblinMetadataException exception) {
+ log.warn(String.format("Sending GTE to indicate table flush failure for
%s", exception.tableName));
Review comment:
also include the db information?
##########
File path:
gobblin-iceberg/src/main/java/org/apache/gobblin/iceberg/writer/GobblinMCEWriter.java
##########
@@ -420,4 +434,22 @@ public static State setHiveRegProperties(State state,
GobblinMetadataChangeEvent
}
return tmpState;
}
+
+ /**
+ * Submit event indicating that a specific set of GMCEs have been skipped,
so there is a gap in the registration
+ */
+ private void submitFailureEvent(GobblinMetadataException exception) {
+ log.warn(String.format("Sending GTE to indicate table flush failure for
%s", exception.tableName));
+
+ GobblinEventBuilder gobblinTrackingEvent = new
GobblinEventBuilder(IcebergMCEMetadataKeys.ICEBERG_COMMIT_EVENT_NAME);
Review comment:
Do we want to use the same event name when we successfully commit one
snapshot? Should we use another event name like METADATA_WRITER_FAILURE_EVENT?
--
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 691906)
Time Spent: 40m (was: 0.5h)
> Send failure events for write failures when watermark is advanced in MCE
> writer
> -------------------------------------------------------------------------------
>
> Key: GOBBLIN-1588
> URL: https://issues.apache.org/jira/browse/GOBBLIN-1588
> Project: Apache Gobblin
> Issue Type: Improvement
> Reporter: Jack Moseley
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)