Re: DUCC Java API job info

2017-04-21 Thread Lou DeGenaro
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 <
bauma...@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 <
>> bauma...@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

2017-04-20 Thread Daniel Baumartz

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 <
bauma...@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

2017-04-19 Thread Lou DeGenaro
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 <
bauma...@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
>


DUCC Java API job info

2017-04-19 Thread Daniel Baumartz

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