oakad commented on issue #23206: URL: https://github.com/apache/beam/issues/23206#issuecomment-1245525890
The problem in my case appears to originate from here: https://github.com/apache/beam/blob/ebacef90771d3fbc83f2c17e517e3f2195f746d0/sdks/java/io/amazon-web-services2/src/main/java/org/apache/beam/sdk/io/aws2/options/AwsModule.java#L162-L164 Clearly, it's a very bad design to "support" serialization of objects having non-trivial internal state while actually breaking the said state on serialization. It would be much nicer to plug the yet unsupported classes with appropriate exceptions instead of breaking apps the way it is happening right now. -- 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]
