アーティクル - CS373384
C にインストールされていない場合、ThingWorx でプロパティ変換 Thing が接続されない:
修正日: 16-Mar-2023
適用対象
- ThingWorx Analytics 9.3.0
説明
- プロパティ トランスフォーム Thing が接続されていません
- 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
最新バージョンはこちらを参照ください CS373384