技术文章 - CS373384
如果未安装在 C: 上,Property Transform 事物未连接到 ThingWorx 中
已修改: 16-Mar-2023
适用于
- ThingWorx Analytics 9.3.0
说明
- 属性转换事物未连接
- Flink 服务在控制面板 > 服务中显示为已启动,但不存在 java 进程
- 事件查看器中的多个事件显示服务twpas-property-transform-service正在重新启动
- <PlatformAnalytics>/logs/configuration.log有
INFO c.t.a.d.c.s.FlinkConfigurationService - connecting to the flink cluster at: localhost:8086 ERROR c.t.a.d.c.s.FlinkConfigurationService - Unable to connect to Flink at the following location: localhost:8086 WARN o.s.c.s.ClassPathXmlApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterClient' defined in class path resource [spring/service-config.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.thingworx.analytics.derived.configuration.service.rest.FlinkRestJobSubmitClient]: Factory method 'initFlink' threw exception; nested exception is java.lang.RuntimeException: Unable to connect to Flink.
- 手动执行<PlatformAnalytics>/bin/flink_service.bat结果
Starting cluster. [ERROR] The execution result is empty. [ERROR] Could not get JVM parameters and dynamic configurations properly. [ERROR] Raw output from BashJavaUtils: Error: Could not find or load main class org.apache.flink.runtime.util.bash.BashJavaUtils Caused by: java.lang.ClassNotFoundException: org.apache.flink.runtime.util.bash.BashJavaUtils
这是文章 373384 的 PDF 版本,可能已过期。最新版本 CS373384