mosche commented on code in PR #24992:
URL: https://github.com/apache/beam/pull/24992#discussion_r1090465327
##########
runners/spark/3/src/main/java/org/apache/beam/runners/spark/structuredstreaming/translation/SparkSessionFactory.java:
##########
@@ -283,5 +283,13 @@ public void registerClasses(Kryo kryo) {
kryo.register(TupleTag.class);
kryo.register(TupleTagList.class);
}
+
+ private void tryToRegister(Kryo kryo, String className) {
+ try {
+ kryo.register(Class.forName(className));
+ } catch (ClassNotFoundException e) {
+ LOG.warn("Class {}} was not found on classpath", className);
Review Comment:
Nit, just log these as info? It's kind of expected that these are missing.
--
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]