Re: Getting Exception in thread "main" java.util.concurrent.ExecutionException: scala.tools.reflect.ToolBoxError: reflective compilation has failed: cannot initialize the compiler

2021-01-15 Thread Arvid Heise
>>>>> On Tue, Jan 5, 2021 at 1:53 PM Arvid Heise >>>>>>> wrote: >>>>>>> >>>>>>>> Hi Avi, >>>>>>>> >>>>>>>> without being a scala-guy, I'm guessing that you are mixing sc

Re: Getting Exception in thread "main" java.util.concurrent.ExecutionException: scala.tools.reflect.ToolBoxError: reflective compilation has failed: cannot initialize the compiler

2021-01-14 Thread Arvid Heise
the same scala version >>>>>> as Flink (1.11 or 1.12)? I have also heard of issues with different minor >>>>>> versions of scala, so make sure to use the exact same version (e.g. >>>>>> 2.11.12). >>>>>> >>>&g

Re: Getting Exception in thread "main" java.util.concurrent.ExecutionException: scala.tools.reflect.ToolBoxError: reflective compilation has failed: cannot initialize the compiler

2021-01-14 Thread Arvid Heise
Mon, Dec 28, 2020 at 3:54 PM Avi Levi wrote: >>>> >>>>> I am trying to aggregate all records in a time window. This is my >>>>> ProcessAllWindowFunction : >>>>> >>>>> case class SimpleAggregate(elms: List[String]) >>>>>

Re: Getting Exception in thread "main" java.util.concurrent.ExecutionException: scala.tools.reflect.ToolBoxError: reflective compilation has failed: cannot initialize the compiler

2021-01-12 Thread Arvid Heise
lements: Iterable[String], out: >>> Collector[SimpleAggregate]): Unit = { >>> val es: List[String] = elements.toList >>> val record = SimpleAggregate(es) >>> out.collect(record) >>> } >>> } >>> >>> But I am gettin

Re: Getting Exception in thread "main" java.util.concurrent.ExecutionException: scala.tools.reflect.ToolBoxError: reflective compilation has failed: cannot initialize the compiler

2021-01-05 Thread Arvid Heise
ut I am getting this exception why ? > > Exception in thread "main" java.util.concurrent.ExecutionException: > scala.tools.reflect.ToolBoxError: reflective compilation has failed: cannot > initialize the compiler due to java.lang.BootstrapMethodError: > java.lang.NoSuchMe

Getting Exception in thread "main" java.util.concurrent.ExecutionException: scala.tools.reflect.ToolBoxError: reflective compilation has failed: cannot initialize the compiler

2020-12-28 Thread Avi Levi
[String], out: Collector[SimpleAggregate]): Unit = { val es: List[String] = elements.toList val record = SimpleAggregate(es) out.collect(record) } } But I am getting this exception why ? Exception in thread "main" java.util.concurrent.ExecutionException: scala.tools.reflect.To

Re: java.util.concurrent.ExecutionException

2020-03-03 Thread Gary Yao
;> >> at >> org.apache.flink.client.cli.CliFrontend.parseParameters(CliFrontend.java:895) >> >> at >> org.apache.flink.client.cli.CliFrontend.lambda$main$10(CliFrontend.java:968) >> >> at >> org.apache.flink.ru

Re: java.util.concurrent.ExecutionException

2020-03-03 Thread kant kodali
ink.runtime.security.NoOpSecurityContext.runSecured(NoOpSecurityContext.java:30) > > at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:968) > > Caused by: java.util.concurrent.ExecutionException: > org.apache.flink.client.program.ProgramInvocationException: Job failed > (JobID: f57b682f5867a8bf6ff6e

Re: java.util.concurrent.ExecutionException

2020-03-03 Thread kant kodali
org.apache.flink.runtime.security.NoOpSecurityContext.runSecured(NoOpSecurityContext.java:30) at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:968) Caused by: java.util.concurrent.ExecutionException: org.apache.flink.client.program.ProgramInvocationException: Job failed (JobID: f57b682f5867a8bf6ff6e1ddce93a1ab) at

Re: java.util.concurrent.ExecutionException

2020-03-03 Thread Gary Yao
aStream of Edge Objects and > printing them. However I am getting > java.util.concurrent.ExecutionException but not sure why? > > Here is the sample code > > import org.apache.flink.api.common.typeinfo.TypeHint; > import org.apache.fli

java.util.concurrent.ExecutionException

2020-03-03 Thread kant kodali
Hi All, I am just trying to read edges which has the following format in Kafka 1,2 1,3 1,5 using the Table API and then converting to DataStream of Edge Objects and printing them. However I am getting java.util.concurrent.ExecutionException but not sure why? Here is the sample code import