[ 
https://issues.apache.org/jira/browse/UIMA-5402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lou DeGenaro updated UIMA-5402:
-------------------------------
    Attachment: ducc_qjob

ducc_qjob is a prototype Python script that can be placed with executable 
permissions in the ducc_runtime/bin directory of a version 2.2.0 DUCC and used 
to query a specified DUCC job.

> DUCC (API) should provide means to query jobs (and reservations and services 
> too?)
> ----------------------------------------------------------------------------------
>
>                 Key: UIMA-5402
>                 URL: https://issues.apache.org/jira/browse/UIMA-5402
>             Project: UIMA
>          Issue Type: Improvement
>          Components: DUCC
>            Reporter: Lou DeGenaro
>            Assignee: Lou DeGenaro
>             Fix For: future-DUCC
>
>         Attachments: ducc_qjob
>
>
> Inquiry:
> I am trying to get the job info (start, duration and time until completion, 
> basically the data from the web server jobs page) with the DUCC Java API. I 
> was able to get some of the data (total, done...) using DuccJobMonitor, but I 
> can't figure out how to get the others. Is there a way to access these?
> Reply:
> There is no CLI query that gives the desired results.  One could write a 
> python script to visit 
> http://uima-ducc-demo.apache.org:42133/ducc-servlet/json-format-aaData-jobs 
> and parse the resulting json.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to