Skip to main content
1-Visitor
September 17, 2020
Solved

Property transform not working on platform 8.5.2

  • September 17, 2020
  • 6 replies
  • 3133 views

Hello,

 

After installing Platform-Analytics, Property Transform is not working. 

 

My environment is:

- Virtual Machine 1

     - THW Platform: 8.5.2

     - SSL:443

     - Autogenerated certificate

- Virtual Machine 2

     - Analytics Server: 8.5.2

          - Connected to the platform and working

    - Platform-Analytics: 8.5.1

          - RabbitMQ and Apache Flink from the installer

          - Erlang 21.0

          - The installation summary said that everything went OK and Things were created

 

I have the following error in configuration.log: (attached)


2020-09-17 08:59:41 [pool-1-thread-1] ERROR c.t.a.d.c.FlinkStatusCheck - Error while checking status of Flink cluster
org.apache.flink.util.FlinkException: Could not connect to the leading JobManager. Please check that the JobManager is running.
at org.apache.flink.client.program.ClusterClient.getJobManagerGateway(ClusterClient.java:862)
at org.apache.flink.client.program.ClusterClient.listJobs(ClusterClient.java:700)
at com.thingworx.analytics.derived.configuration.FlinkStatusCheck.check(FlinkStatusCheck.java:45)
at com.thingworx.analytics.derived.configuration.FlinkStatusCheck.lambda$new$0(FlinkStatusCheck.java:33)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

 

In the flink1-4 log file, there is no error printed (see attached), the only thing that seems strange is the message "JAVA HOME: (not set)" because in /etc/environments 

            export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_141/

is set.

 

I can't find any reference related with the error I am getting with flink in the knowledge database.

 

Thanks in advance for your help.

 

Olatz.

Best answer by olatz

Hi @cmorfin 

 

I think that finally, I have discovered where the error is. 

I have multiple hostnames asigned to the same IP in /etc/hosts, this was causing that the flink jobmanager was listening in a hostname, and property transform was trying to connect to another hostname.

 

Anyway, thank you for your willingness to help me with the problem.

 

Olatz.

6 replies

19-Tanzanite
September 17, 2020

Hi @olatz 

 

Could you please execute TWALogCollector on the PlatformAnalytics machine and upload the gz file created

 

Thanks

Christophe

 

olatz1-VisitorAuthor
1-Visitor
September 17, 2020

Hi @cmorfin 

 

Attached the file.

 

Thanks for your help,

 

Olatz