Mr-Smart-guy opened a new issue, #11698:
URL: https://github.com/apache/incubator-gluten/issues/11698

   ### Backend
   
   VL (Velox)
   
   ### Bug description
   
   I successfully compiled gluten-flink1.7 on Centos7
   Then run the “bin/flink run examples/table/ChangelogSocketExample.jar” 
command to test the code 
   Then an exception was reported:
   
   
   org.apache.flink.client.program.ProgramInvocationException: The main method 
caused an error: class 
org.apache.flink.streaming.api.transformations.SourceTransformation cannot be 
cast to class 
org.apache.flink.streaming.api.transformations.OneInputTransformation 
(org.apache.flink.streaming.api.transformations.SourceTransformation and 
org.apache.flink.streaming.api.transformations.OneInputTransformation are in 
unnamed module of loader 'app')
           at 
org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:373)
           at 
org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:223)
           at 
org.apache.flink.client.ClientUtils.executeProgram(ClientUtils.java:113)
           at 
org.apache.flink.client.cli.CliFrontend.executeProgram(CliFrontend.java:1026)
           at org.apache.flink.client.cli.CliFrontend.run(CliFrontend.java:247)
           at 
org.apache.flink.client.cli.CliFrontend.parseAndRun(CliFrontend.java:1270)
           at 
org.apache.flink.client.cli.CliFrontend.lambda$mainInternal$10(CliFrontend.java:1367)
           at 
org.apache.flink.runtime.security.contexts.NoOpSecurityContext.runSecured(NoOpSecurityContext.java:28)
           at 
org.apache.flink.client.cli.CliFrontend.mainInternal(CliFrontend.java:1367)
           at 
org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:1335)
   Caused by: java.lang.ClassCastException: class 
org.apache.flink.streaming.api.transformations.SourceTransformation cannot be 
cast to class 
org.apache.flink.streaming.api.transformations.OneInputTransformation 
(org.apache.flink.streaming.api.transformations.SourceTransformation and 
org.apache.flink.streaming.api.transformations.OneInputTransformation are in 
unnamed module of loader 'app')
           at 
org.apache.flink.table.planner.plan.nodes.exec.stream.StreamExecExchange.translateToPlanInternal(StreamExecExchange.java:141)
           at 
org.apache.flink.table.planner.plan.nodes.exec.ExecNodeBase.translateToPlan(ExecNodeBase.java:168)
           at 
org.apache.flink.table.planner.plan.nodes.exec.ExecEdge.translateToPlan(ExecEdge.java:259)
           at 
org.apache.flink.table.planner.plan.nodes.exec.stream.StreamExecGroupAggregate.translateToPlanInternal(StreamExecGroupAggregate.java:182)
           at 
org.apache.flink.table.planner.plan.nodes.exec.ExecNodeBase.translateToPlan(ExecNodeBase.java:168)
           at 
org.apache.flink.table.planner.plan.nodes.exec.ExecEdge.translateToPlan(ExecEdge.java:259)
           at 
org.apache.flink.table.planner.plan.nodes.exec.stream.StreamExecSink.translateToPlanInternal(StreamExecSink.java:177)
           at 
org.apache.flink.table.planner.plan.nodes.exec.ExecNodeBase.translateToPlan(ExecNodeBase.java:168)
           at 
org.apache.flink.table.planner.delegation.StreamPlanner.$anonfun$translateToPlan$1(StreamPlanner.scala:85)
           at 
scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:233)
           at scala.collection.Iterator.foreach(Iterator.scala:937)
           at scala.collection.Iterator.foreach$(Iterator.scala:937)
           at scala.collection.AbstractIterator.foreach(Iterator.scala:1425)
           at scala.collection.IterableLike.foreach(IterableLike.scala:70)
           at scala.collection.IterableLike.foreach$(IterableLike.scala:69)
           at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
           at scala.collection.TraversableLike.map(TraversableLike.scala:233)
           at scala.collection.TraversableLike.map$(TraversableLike.scala:226)
           at scala.collection.AbstractTraversable.map(Traversable.scala:104)
           at 
org.apache.flink.table.planner.delegation.StreamPlanner.translateToPlan(StreamPlanner.scala:84)
           at 
org.apache.flink.table.planner.delegation.PlannerBase.translate(PlannerBase.scala:180)
           at 
org.apache.flink.table.api.bridge.internal.AbstractStreamTableEnvironmentImpl.toStreamInternal(AbstractStreamTableEnvironmentImpl.java:224)
           at 
org.apache.flink.table.api.bridge.internal.AbstractStreamTableEnvironmentImpl.toStreamInternal(AbstractStreamTableEnvironmentImpl.java:219)
           at 
org.apache.flink.table.api.bridge.java.internal.StreamTableEnvironmentImpl.toChangelogStream(StreamTableEnvironmentImpl.java:315)
           at 
org.apache.flink.table.examples.java.connectors.ChangelogSocketExample.main(ChangelogSocketExample.java:98)
           at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.base/java.lang.reflect.Method.invoke(Method.java:566)
           at 
org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:356)
           ... 9 more
   
   
   How should I solve this problem?
   
   ### Gluten version
   
   main branch
   
   ### Spark version
   
   None
   
   ### Spark configurations
   
   _No response_
   
   ### System information
   
   centos7
   
   ### Relevant logs
   
   ```bash
   
   ```


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to