Re: DUCC 1.1.0- How to Run two DUCC version on same machines with different user

2014-11-17 Thread Simon Hafner
2014-11-17 0:00 GMT-06:00 reshu.agarwal reshu.agar...@orkash.com: I want to run two DUCC version i.e. 1.0.0 and 1.1.0 on same machines with different user. Can this be possible? Yes, that should be possible. You'll have to make sure there are no port conflicts, I'd guess the ActiveMQ port is

Re: DUCC-1.1.0: Machines are going down very frequently

2014-11-17 Thread reshu.agarwal
Lou, I tried to find any sign of error and exception but didn't find any. Reshu. On 11/17/2014 05:18 PM, Lou DeGenaro wrote: Reshu, Have you tried looking at the log files in DUCC's log directory for signs of errors or exceptions? Are any daemons producing core dumps? Lou. On Mon, Nov 17,

Re: DUCC-1.1.0: Machines are going down very frequently

2014-11-17 Thread Lou DeGenaro
Also, do all the daemons on the System - Daemons page show status up? Have a look at the Broker page for live demo on Apache here: http://uima-ducc-vm.apache.org:42133/system.broker.jsp and compare with yours. Do all of the Topics appear with consumers 0 ? On Mon, Nov 17, 2014 at 6:48 AM, Lou

Re: DUCC 1.1.0- How to Run two DUCC version on same machines with different user

2014-11-17 Thread reshu.agarwal
Lou, I have changed the broker port and ws port too but still faced a problem in starting the ducc1.1.0 version simultaneously. Reshu. On 11/17/2014 05:34 PM, Lou DeGenaro wrote: The broker port is specifiable in ducc.properties. The default is ducc.broker.port = 61617. Lou. On Mon, Nov

Re: DUCC 1.1.0- How to Run two DUCC version on same machines with different user

2014-11-17 Thread Lou DeGenaro
Are these problems related? That is, are you having the node down problem and the multiple DUCC's problem together on the same set of nodes? Can you run the either configuration alone without issue? Lou. On Mon, Nov 17, 2014 at 7:41 AM, reshu.agarwal reshu.agar...@orkash.com wrote: Lou, I

can't remove duplicate Annotations with Java Set Collection

2014-11-17 Thread Kameron Cole
Hello, I am trying to get rid of duplicates in the FSIndex. I thought a very clever way to do this would be to just push them into a Set Collection in Java, which does not allow duplicates. This is very (very) standard Java: ArrayList al = new ArrayList(); // add elements to al, including

Re: DUCC doesn't use all available machines

2014-11-17 Thread Jim Challenger
It is also possible that RM prediction has decided that additional processes are not needed. It appears that there were likely 64 work items dispatched, plus the 6 completed, leaving only 30 that were idle. If these work items appeared to be completing quickly, the RM would decide that

Re: can't remove duplicate Annotations with Java Set Collection

2014-11-17 Thread Marshall Schor
Hi, Two Feature Structures are considered equal in the sense used by HashSet, if fs1.equals(fs2). The definition of equals for feature structures is: they are equal if they refer to the same underlying CAS, and the same spot in the the CAS Heap. How did you create the Annotations that you

Re: can't remove duplicate Annotations with Java Set Collection

2014-11-17 Thread Kameron Cole
Input text: -- bird, cat, bush, cat Create the Annotations: --- docText = aJCas.getDocumentText(); int index = docText.indexOf(cat); while(index = 0) {

Re: DUCC 1.1.0- How to Run two DUCC version on same machines with different user

2014-11-17 Thread Jim Challenger
An excellent question by Lou. Been wracking my brains over what would cause the agent instability and this would absolutely do it. What will likely happen if you try to run 2 DUCCs on the same machines if you don't change the broker port, is the second DUCC will see the broker alive and

Re: DUCC 1.1.0- How to Run two DUCC version on same machines with different user

2014-11-17 Thread reshu.agarwal
Dear Lou, These both problems are different but nodes are same. DUCC 1.0.0 is running perfectly on same nodes. When I was trying to configure DUCC 1.1.0 singly, I faced node down problem. Due to this I thought why don't I try to run DUCC 1.0.0 and DUCC 1.1.0 simultaneously on same node to

Re: DUCC 1.1.0- How to Run two DUCC version on same machines with different user

2014-11-17 Thread reshu.agarwal
Dear Jim, When I was trying DUCC 1.1.0 on the nodes on which DUCC 1.0.0 was running perfectly, I first stopped DUCC 1.0.0 using ./check_ducc -k . My Broker ports were different that time as well as I made changes in duccling path. When I started DUCC 1.1.0. It looks like working fine. But

DUCC-Un-managed Reservation??

2014-11-17 Thread reshu.agarwal
Hi, I am bit confused. Why we need un-managed reservation? Suppose we give 5GB Memory size to this reservation. Can this RAM be consumed by any process if required? In my scenario, when all RAMs of Nodes was consumed by JOBs, all processes went in waiting state. I need some reservation of

Re: DUCC 1.1.0- How to Run two DUCC version on same machines with different user

2014-11-17 Thread reshu.agarwal
Hi, I am getting this error on job process as well as on login. arg[14]: org.apache.uima.ducc.common.main.DuccService 1001 Command launching... /usr/java/jdk1.7.0_17/jre/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory How

Re: can't remove duplicate Annotations with Java Set Collection

2014-11-17 Thread Richard Eckart de Castilho
On 17.11.2014, at 20:59, Kameron Cole kameronc...@us.ibm.com wrote: I am trying to get rid of duplicates in the FSIndex. I thought a very clever way to do this would be to just push them into a Set Collection in Java, which does not allow duplicates. This is very (very) standard Java: