Two potential bugs in Flink ML

2024-04-04 Thread Komal M
Hi Flink Dev Team, I have two possible bugs to report for Flink ML Iteration. Flink v1.17.2 Flink ML v2.3.0 Java 11 Bug # 1 Implementing a UDF KeyedRichCoProcessFunction or CoFlatMapFunction inside IterationBody yields a “java.lang.ClassCastException: org.apache.flink.iteration.IterationRecord c

Re: Two potential bugs in Flink ML

2024-04-06 Thread Yunfeng Zhou
Hi Komal, For the first question, could you please provide a simple program that could help reproduce this exception? That could help us better find out the bugs (if any) in Flink ML. For the second question, there have been Functions implementing the IterationListener interface in Flink ML[1] an

Re: Two potential bugs in Flink ML

2024-04-07 Thread Komal M
DataStreamList.of(newModelUpdate), DataStreamList.of(finalOutput)); }); result.get(0).print(); // Execute program env.execute("Flink Java API Skeleton"); } } Best, Komal From: Yunfeng Zhou Date

Re: Two potential bugs in Flink ML

2024-04-09 Thread Yunfeng Zhou
"statedescriptor", // the state > name > BasicTypeInfo.DOUBLE_TYPE_INFO, > BasicTypeInfo.STRING_TYPE_INFO > ); >

Re: Two potential bugs in Flink ML

2024-04-11 Thread Komal M
String map(Tuple2 tuple) throws Exception { System.out.println(tuple); return null; } @Override public void onEpochWatermarkIncremented(int i, Context context, Collector collector) throws Exception { System.out.println("i");