Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.16.0, 1.18.0
-
None
Description
Apr 07 20:09:45 [ERROR] Tests run: 513, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 13.125 s <<< FAILURE! - in org.apache.flink.table.planner.functions.CastFunctionITCase Apr 07 20:09:45 [ERROR] org.apache.flink.table.planner.functions.CastFunctionITCase.test(TestCase)[342] Time elapsed: 0.008 s <<< ERROR! Apr 07 20:09:45 org.apache.flink.api.common.InvalidProgramException: The LocalStreamEnvironment cannot be used when submitting a program through a client, or running in a TestEnvironment context. Apr 07 20:09:45 at org.apache.flink.streaming.api.environment.LocalStreamEnvironment.validateAndGetConfiguration(LocalStreamEnvironment.java:56) Apr 07 20:09:45 at org.apache.flink.streaming.api.environment.LocalStreamEnvironment.<init>(LocalStreamEnvironment.java:51) Apr 07 20:09:45 at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.createLocalEnvironment(StreamExecutionEnvironment.java:2320) Apr 07 20:09:45 at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.lambda$getExecutionEnvironment$15(StreamExecutionEnvironment.java:2262) Apr 07 20:09:45 at java.util.Optional.orElseGet(Optional.java:267) Apr 07 20:09:45 at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.getExecutionEnvironment(StreamExecutionEnvironment.java:2262) Apr 07 20:09:45 at org.apache.flink.table.planner.delegation.DefaultExecutorFactory.create(DefaultExecutorFactory.java:48) Apr 07 20:09:45 at org.apache.flink.table.api.internal.TableEnvironmentImpl.create(TableEnvironmentImpl.java:278) Apr 07 20:09:45 at org.apache.flink.table.api.TableEnvironment.create(TableEnvironment.java:93) Apr 07 20:09:45 at org.apache.flink.table.planner.functions.BuiltInFunctionTestBase$TestSetSpec.lambda$getTestCase$4(BuiltInFunctionTestBase.java:299) Apr 07 20:09:45 at org.apache.flink.table.planner.functions.BuiltInFunctionTestBase$TestCase.execute(BuiltInFunctionTestBase.java:113) Apr 07 20:09:45 at org.apache.flink.table.planner.functions.BuiltInFunctionTestBase.test(BuiltInFunctionTestBase.java:93) Apr 07 20:09:45 at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source) Apr 07 20:09:45 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) Apr 07 20:09:45 at java.lang.reflect.Method.invoke(Method.java:498) Apr 07 20:09:45 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725) Apr 07 20:09:45 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) Apr 07 20:09:45 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) Apr 07 20:09:45 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) Apr 07 20:09:45 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) Apr 07 20:09:45 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestTemplateMethod(TimeoutExtension.java:92) Apr 07 20:09:45 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) Apr 07 20:09:45 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) Apr 07 20:09:45 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) Apr 07 20:09:45 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) Apr 07 20:09:45 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) Apr 07 20:09:45 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) Apr 07 20:09:45 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) Apr 07 20:09:45 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) Apr 07 20:09:45 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214) Apr 07 20:09:45 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) Apr 07 20:09:45 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210) Apr 07 20:09:45 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135) Apr 07 20:09:45 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66) Apr 07 20:09:45 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) Apr 07 20:09:45 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
Attachments
Issue Links
- relates to
-
FLINK-26979 Transformation#getNewNodeId() is not thread-safe
- Closed