You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Daniel Baumartz <ba...@stud.uni-frankfurt.de> on 2017/04/19 14:26:39 UTC
DUCC Java API job info
Hi,
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?
Thanks,
Daniel
Re: DUCC Java API job info
Posted by Lou DeGenaro <lo...@gmail.com>.
I opened a Jira here https://issues.apache.org/jira/browse/UIMA-5402 and
attached a prototype Python script that provides DUCC query job capability.
Getting DuccJobMonitor to display the extra info would be possible, but a
bit more involved.
Lou.
On Thu, Apr 20, 2017 at 9:05 AM, Daniel Baumartz <
baumartz@stud.uni-frankfurt.de> wrote:
> Thanks for the json url. An addition to the DuccJobMonitor would be great!
>
> -Daniel
>
>
> On 19.04.2017 20:22, Lou DeGenaro wrote:
>
>> 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-for
>> mat-aaData-jobs
>> and parse the resulting json.
>>
>> Should there be a Jira to provide a CLI query capability equivalent of the
>> Jobs page? Either a new query or the DuccJobMonitor could be enhanced.
>>
>> Lou.
>>
>>
>>
>> On Wed, Apr 19, 2017 at 10:26 AM, Daniel Baumartz <
>> baumartz@stud.uni-frankfurt.de> wrote:
>>
>> Hi,
>>>
>>> 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?
>>>
>>> Thanks,
>>> Daniel
>>>
>>>
>>
Re: DUCC Java API job info
Posted by Daniel Baumartz <ba...@stud.uni-frankfurt.de>.
Thanks for the json url. An addition to the DuccJobMonitor would be great!
-Daniel
On 19.04.2017 20:22, Lou DeGenaro wrote:
> 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.
>
> Should there be a Jira to provide a CLI query capability equivalent of the
> Jobs page? Either a new query or the DuccJobMonitor could be enhanced.
>
> Lou.
>
>
>
> On Wed, Apr 19, 2017 at 10:26 AM, Daniel Baumartz <
> baumartz@stud.uni-frankfurt.de> wrote:
>
>> Hi,
>>
>> 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?
>>
>> Thanks,
>> Daniel
>>
>
Re: DUCC Java API job info
Posted by Lou DeGenaro <lo...@gmail.com>.
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.
Should there be a Jira to provide a CLI query capability equivalent of the
Jobs page? Either a new query or the DuccJobMonitor could be enhanced.
Lou.
On Wed, Apr 19, 2017 at 10:26 AM, Daniel Baumartz <
baumartz@stud.uni-frankfurt.de> wrote:
> Hi,
>
> 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?
>
> Thanks,
> Daniel
>