Return-Path: Delivered-To: apmail-uima-user-archive@www.apache.org Received: (qmail 87320 invoked from network); 20 Aug 2010 13:04:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Aug 2010 13:04:03 -0000 Received: (qmail 88502 invoked by uid 500); 20 Aug 2010 13:04:03 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 88225 invoked by uid 500); 20 Aug 2010 13:04:00 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 88211 invoked by uid 99); 20 Aug 2010 13:03:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Aug 2010 13:03:59 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of eaepstein@gmail.com designates 209.85.215.47 as permitted sender) Received: from [209.85.215.47] (HELO mail-ew0-f47.google.com) (209.85.215.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Aug 2010 13:03:53 +0000 Received: by ewy7 with SMTP id 7so2075400ewy.6 for ; Fri, 20 Aug 2010 06:03:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=8W3pWnY3y4XLvth76PGaNdbyt3uqdiTZnx8kE8IAOMk=; b=exPsILw4dQA9y7WGDc2E6hgg6LH9wuuI/mo2qdAnsQuSvO0yRzroiq/BBlVf4SYaBV 5j5YU5J5iFd+aadsWhuVHAib8JTL0UFr12KSHWIJcadDFIGz1lfc9uJpGizxtPFELRC4 aAgJp29CNa228T+GA3ujZ8svDn1nlNaVKu6E0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=dTOPByRJ++87nDmPA/h90C49BLNFPRXQiY2q2glrqiUTyjxVFAwsndvMCjVaqpNTqv 4iGWZKquMqSclCINb6HuVraaWPG/D3lOac7ZI4BYJwQ5OPSUWxcQX0iqBKCrJsKOfa2S TTYTOm5FzETnoOxWeX9RMhWomUzGcj7QHSEIs= MIME-Version: 1.0 Received: by 10.216.174.7 with SMTP id w7mr1176891wel.21.1282309412146; Fri, 20 Aug 2010 06:03:32 -0700 (PDT) Received: by 10.216.186.5 with HTTP; Fri, 20 Aug 2010 06:03:32 -0700 (PDT) In-Reply-To: <4C6D039D.4070001@orkash.com> References: <4C6D039D.4070001@orkash.com> Date: Fri, 20 Aug 2010 09:03:32 -0400 Message-ID: Subject: Re: Data read problem in UIMA-AS From: Eddie Epstein To: user@uima.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sorry, it is a bit hard to understand your scenario. Please clarify using the examples in http://uima.apache.org/doc-uimaas-what.html and identify which best fits your situation, Figure 3, 4 or 5. Thanks, Eddie On Thu, Aug 19, 2010 at 6:12 AM, lokesh chanana wrote: > Hello, > > I am deploying UIMA-AS for testing perpose by now. > > My configurations includes > > !. Broker on one system > 2. Service on one system > 3. Client on one system > > My configuration > =3D> my deployment descriptor calls the flowControlAggregate. > =3D> Flow control defines 3 delegates > =A0 =A01. collection Reader that reads data from /opt/apache-uima/example= s/data > =A0 =A02. my core analysis Engine that process the data > =A0 =A03. XmiWriterCasConsumer.xml class to generete output. > > i deployed them as > startBroker.sh > > deployAsyncService.sh /Path/to/deployment/descriptor.xml > -brokerURL tcp://:61616 > > runRemoteAsyncAE.sh tcp://:61616 MeetingFinderQueue -= c > /Path/to/collectin/reader.xml -o result.xmi > > > NOW the problems i m concerned about are... > > If I don't define collection_Reader then i get no error but it says only = one > file is processed. (I knw that it is due to fact that client send an empt= y > CAS). this means that client is sending the data in form of CAS. if so th= en > y a cas collector if compulsaryin my flowControlAggregator???i tried emov= ing > it but the service didn't started. > > =A0 =A0I found one answer to this that CAS at client is just sending the > reference for CAS at SERVICE. > =A0 =A0To test this i deleted the whole data at > SERVICE(/opt/apache-uima/examples/data). > =A0 =A0Unexpectedly my processing time got reduced to some 20 sec. (which= was > earlier 3200 sec. for 500 documents). > > =A0 =A0now i have two cases > case 1: when the data at client and service is same. >> processing is too slow. >> xmi file ganerated are of shoter length >> the XMI files are different then those created by the basic UIMA >> application >> processing at SERVICE is too high >> neglegible processing at client. > > case 2: when the data there is no data at SERVICE end >> Processing is fast >> XMI are same as those creaed by local uima. >> no much proocessiong either on client or SERVICE end. > > Now as things are not as i expected I am sure i m somewhere wrong > conceptually. As i am quite new to UIMA-As any help is apprecable. > > Regards > Lokesh > >