[
https://issues.apache.org/jira/browse/BEAM-5638?focusedWorklogId=153251&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-153251
]
ASF GitHub Bot logged work on BEAM-5638:
----------------------------------------
Author: ASF GitHub Bot
Created on: 10/Oct/18 19:25
Start Date: 10/Oct/18 19:25
Worklog Time Spent: 10m
Work Description: jklukas commented on issue #6586: [BEAM-5638] Exception
handling for Java single message transforms
URL: https://github.com/apache/beam/pull/6586#issuecomment-428699957
I pushed a new commit that adds an `ExceptionT` type parameter to `Failure`
and uses `AvroCoder` for encoding `Exception` subclasses. This is still
vulnerable to the fact that `Exception` subclasses are only transcodable with
`AvroCoder` if they have a no-arg constructor, but I try to mitigate that by
failing fast with a friendly error message that suggests a workaround.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 153251)
Time Spent: 3h 40m (was: 3.5h)
Remaining Estimate: 164h 20m (was: 164.5h)
> Add exception handling to single message transforms in Java SDK
> ---------------------------------------------------------------
>
> Key: BEAM-5638
> URL: https://issues.apache.org/jira/browse/BEAM-5638
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Reporter: Jeff Klukas
> Assignee: Jeff Klukas
> Priority: Minor
> Original Estimate: 168h
> Time Spent: 3h 40m
> Remaining Estimate: 164h 20m
>
> Add methods to MapElements, FlatMapElements, and Filter that allow users to
> specify expected exceptions and tuple tags to associate with the with
> collections of the successfully and unsuccessfully processed elements.
> See discussion on dev list:
> https://lists.apache.org/thread.html/936ed2a5f2c01be066fd903abf70130625e0b8cf4028c11b89b8b23f@%3Cdev.beam.apache.org%3E
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)