cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

How to remove RUNNING job in Analytics?

MinNan
11-Garnet

How to remove RUNNING job in Analytics?

hi 

 

i work with ATE on win10 via docker.

today i tried to get familir with the application,and i use some test data to create a model.

 

but after i click generate Profiles and Signals, the application got stuck,and i can't enter the composer with the browser.

i finally entered it again after the docker and sever restart. but the job sate remains RUNNING, over half an hour,it is still RUNNING.

 

i try to create a new job, but it shows that the new job was in queue.

 

how can i remove the RUNNING job?

 

Please help

Thank in advance

Minnan

3 REPLIES 3

You TWA version must be earlier than 8.3 to accept multi-task.

 

Please try if this could work (copied from a 8.3 article, not sure if things changed.):

As a workaround to remove the running job

  1. Access AnalyticsServer_DataThing
  2. Execute DataThing.GetJobStatuses() service
    • select the values infotable
    • locate the RUNNING jobs and select the jobTypesWithId infotable
    • note the jobid under fieldvalue
  3. Stop ThingWorx Analytics Server
  4. Start Zookeeper only
    • On Windows, access Control Panel > Administartive Tools > Services and start service twas-zookeeper
    • On linux execute systemctl start twas-zookeper
  5. Execute <ThingWorxAnalyticsServer>/zookeeper/bin/zkCli.sh on linux or <ThingWorxAnalyticsServer>/zookeeper/bin/zkCli.bat on Windows
  6. At the Zookeeper prompt, confirm jobs are listed with ls /twxml_job_queue/jobs
  7. get the details of each job to confirm which one has the same jobId: get /twxml_job_queue/jobs/job_<id>
    • in the output look for jobID and note the one that matches the output from DataThing.getjobstatuses()
  8. delete the identified job: delete /twxml_job_queue/jobs/job<id>
  9. stop zookeeper
    • On Windows, access Control Panel > Administartive Tools > Services and stop service twas-zookeeper
    • On linux execute systemctl stop twas-zookeper
  10. Start ThingWorx Analytics Server
  11. Access AnalyticsServer_DataThing and execute service DeleteJob and enter the jobID
  12. Confirm with DataThing.getjobStatuses that the Running job is gone
MinNan
11-Garnet
(To:zyuan1)

hi

 

i try to search AnalyticsServer_DataThing in the composer.but i can't find it.

DataThing.PNG

 

is it there is no that thing in the version 8.2?

 

Kind regards

Minnan

mgoel
17-Peridot
(To:MinNan)

Hi @MinNan 

 

Could you try to find *DataThing

May be the suffix of this Thing is different. But it should end with DataThing.

 

Regards,

Mohit

Announcements


Top Tags