Re: DUCC Java API job info
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
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:Re: Questions abuot RUTA list building objects
Hi, I think maybe there is something wrong with my own configuration,IDE or something else, becase it won't output anything evenif I use the script like this: >//Find the patient problems >LOG("find the patient problems"); I'm trying to download another jar file and change the souce file if necessary. Best, Ding Haoqi At 2017-04-19 20:43:42, "Peter Klügl"wrote: >Hi, > > >Can you provide an minimal example so I can reproduce it. I use these >comments all the time but oberved no problems. > > >Maybe the rules simply do nothing? (The example in your first mail won't >do anything) > > >Best, > > >Peter > > > > >Am 19.04.2017 um 14:39 schrieb Ding Haoqi: >> Hi,It seems the the IDE(Eclipse) can recognise the comment if I >> open the RUTA script file with the UIMA Ruta source Editor ,line 2 satrt >> with // will change to light green like the other normal comment,but all the >> scripts after this line will not take effect when I run these scripts by the >> ruta-core-2.4.0.jar.There is no error exception during the >> runtime.Thanks :) >> At 2017-04-19 19:52:31, "Peter Klügl" wrote: >>> Hi, >>> >>> >>> StringLists as any other List Feature Structure are currently not >>> supported by Ruta. You are welcome to open a request for it. >>> >>> Right now, only Arrays like uima.cas.StringArray are supported. Is that >>> an option for you? >>> >>> >>> A double backslash (\\) will probably cause a parse error. A double >>> slash (//) should work just fine. >>> >>> Is there an exception? >>> >>> >>> Best, >>> >>> Peter >>> >>> >>> >>> Am 19.04.2017 um 13:42 schrieb Ding Haoqi: Hi all, I defined a Annotation class with a feature named probList who's rangetype is StringList in my type system,but what shoul I do to set the value of the feature probList in RUTA script?By ADD action or SETFEATURE action?If the name of Annotation is Diag,it has the feature probList,I have try the following scripts: > STRINGLIST PROBLIST; > //add some elements to the list PROBLIST > ADD(PROLIST,"stringexpression1"); > ADD(PROLIST,"stringexpression2"); > Diag{->SETFEATURE("probList",PROBLIST)}; > Document{->Diag.probList = PROBLIST}; but is seems doesn't work, the value of the feature probList is null and there is no ERROR message. by the way,if I use the double backslash(//) as the comment marker, all the scripts behind the comment marker will be ignore evenif I have started a new line.for the prior example, only the line 1 script will acturelly work. Is there anything I can do to run the scripts right? Best, Ding Haoqi >
Re: Questions abuot RUTA list building objects
Hi, Can you provide an minimal example so I can reproduce it. I use these comments all the time but oberved no problems. Maybe the rules simply do nothing? (The example in your first mail won't do anything) Best, Peter Am 19.04.2017 um 14:39 schrieb Ding Haoqi: > Hi,It seems the the IDE(Eclipse) can recognise the comment if I > open the RUTA script file with the UIMA Ruta source Editor ,line 2 satrt with > // will change to light green like the other normal comment,but all the > scripts after this line will not take effect when I run these scripts by the > ruta-core-2.4.0.jar.There is no error exception during the > runtime.Thanks :) > At 2017-04-19 19:52:31, "Peter Klügl"wrote: >> Hi, >> >> >> StringLists as any other List Feature Structure are currently not >> supported by Ruta. You are welcome to open a request for it. >> >> Right now, only Arrays like uima.cas.StringArray are supported. Is that >> an option for you? >> >> >> A double backslash (\\) will probably cause a parse error. A double >> slash (//) should work just fine. >> >> Is there an exception? >> >> >> Best, >> >> Peter >> >> >> >> Am 19.04.2017 um 13:42 schrieb Ding Haoqi: >>> Hi all, >>> >>> I defined a Annotation class with a feature named probList who's >>> rangetype is StringList in my type system,but what shoul I do to set the >>> value of the feature probList in RUTA script?By ADD action or SETFEATURE >>> action?If the name of Annotation is Diag,it has the feature probList,I have >>> try the following scripts: >>> STRINGLIST PROBLIST; //add some elements to the list PROBLIST ADD(PROLIST,"stringexpression1"); ADD(PROLIST,"stringexpression2"); Diag{->SETFEATURE("probList",PROBLIST)}; Document{->Diag.probList = PROBLIST}; >>> but is seems doesn't work, the value of the feature probList is null and >>> there is no ERROR message. >>> by the way,if I use the double backslash(//) as the comment marker, all the >>> scripts behind the comment marker will be ignore evenif I have started a >>> new line.for the prior example, only the line 1 script will acturelly work. >>> >>> Is there anything I can do to run the scripts right? >>> >>> Best, >>> >>> Ding Haoqi
Questions abuot RUTA list building objects
Hi all, I defined a Annotation class with a feature named probList who's rangetype is StringList in my type system,but what shoul I do to set the value of the feature probList in RUTA script?By ADD action or SETFEATURE action?If the name of Annotation is Diag,it has the feature probList,I have try the following scripts: >STRINGLIST PROBLIST; >//add some elements to the list PROBLIST >ADD(PROLIST,"stringexpression1"); >ADD(PROLIST,"stringexpression2"); >Diag{->SETFEATURE("probList",PROBLIST)}; >Document{->Diag.probList = PROBLIST}; but is seems doesn't work, the value of the feature probList is null and there is no ERROR message. by the way,if I use the double backslash(//) as the comment marker, all the scripts behind the comment marker will be ignore evenif I have started a new line.for the prior example, only the line 1 script will acturelly work. Is there anything I can do to run the scripts right? Best, Ding Haoqi