Return-Path: X-Original-To: apmail-uima-user-archive@www.apache.org Delivered-To: apmail-uima-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AD57F187BE for ; Thu, 30 Apr 2015 21:59:56 +0000 (UTC) Received: (qmail 95045 invoked by uid 500); 30 Apr 2015 21:59:56 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 94997 invoked by uid 500); 30 Apr 2015 21:59:56 -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 94984 invoked by uid 99); 30 Apr 2015 21:59:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2015 21:59:56 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.191.145.13 which is an MX secondary for user@uima.apache.org) Received: from [54.191.145.13] (HELO mx1-us-west.apache.org) (54.191.145.13) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2015 21:59:50 +0000 Received: from mail-ig0-f180.google.com (mail-ig0-f180.google.com [209.85.213.180]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 586EE24F15 for ; Thu, 30 Apr 2015 21:59:30 +0000 (UTC) Received: by igbhj9 with SMTP id hj9so26163920igb.1 for ; Thu, 30 Apr 2015 14:58:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=1QKkeTYJVMfz3+Nrx8OPekPBk9wYbAp07oPno2SEhHA=; b=qBp9203rXpW18/bVLGxSEDynhmXC0c/xgjCM9wN3KaStI7iru4MS1O1f+Qkw2uJ2Wq 6Ds0EUP53mV5VPy/oX0xMMH2DVUibxp5ZymEauq7exxxsD/ujE2ayHWxHyHzB+RPp7gh mcRsar7hRZ/8RY5SE/lvD7lQX/osqN//evxozyNaQ1PAUJn8WtZTfAeXQBRJL38SLdbd awbNXtdXF+FJKis5XEq2aIZkVArlfmCEuH5vtttpRWou4j8wJP1E7b/DGnUskq2BCBEk EeGjbsJULW7ZoHS1oyRX6ZLpjtekR8rp1/r8YjC4nGinEgng4ZvAqEDT7LV845eK0dWj 63rg== MIME-Version: 1.0 X-Received: by 10.107.47.163 with SMTP id v35mr8305816iov.86.1430431124854; Thu, 30 Apr 2015 14:58:44 -0700 (PDT) Received: by 10.36.156.199 with HTTP; Thu, 30 Apr 2015 14:58:44 -0700 (PDT) In-Reply-To: <55405E49.1000801@orkash.com> References: <553F50F4.2090708@orkash.com> <55405E49.1000801@orkash.com> Date: Thu, 30 Apr 2015 17:58:44 -0400 Message-ID: Subject: Re: DUCC- process_dd From: Eddie Epstein To: user@uima.apache.org Content-Type: multipart/alternative; boundary=001a11c151ce129ff00514f83363 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c151ce129ff00514f83363 Content-Type: text/plain; charset=UTF-8 The simplest way of vertically scaling a Job process is to specify the analysis pipeline using core UIMA descriptors and then using --process_thread_count to specify how many copies of the pipeline to deploy, each in a different thread. No use of UIMA-AS at all. Please check out the "Raw Text Processing" sample application that comes with DUCC. On Wed, Apr 29, 2015 at 12:30 AM, reshu.agarwal wrote: > > Ohh!!! I misunderstand this. I thought this would scale my Aggregate and > AEs both. > > I want to scale aggregate as well as individual AEs. Is there any way of > doing this in UIMA AS/DUCC? > > > > On 04/28/2015 07:14 PM, Jaroslaw Cwiklik wrote: > >> In async aggregate you scale individual AEs not the aggregate as a whole. >> The below configuration should do that. Are there any warnings from >> dd2spring at startup with your configuration? >> >> >> >> >> > key="ChunkerDescriptor"> >> > numberOfInstances="5" /> >> >> > key="NEDescriptor"> >> > numberOfInstances="5" /> >> >> > key="StemmerDescriptor"> >> > numberOfInstances="5" /> >> >> > key="ConsumerDescriptor"> >> > numberOfInstances="5" /> >> >> >> >> >> Jerry >> >> On Tue, Apr 28, 2015 at 5:20 AM, reshu.agarwal >> wrote: >> >> Hi, >>> >>> I was trying to scale my processing pipeline to be run in DUCC >>> environment >>> with uima as process_dd. If I was trying to scale using the below given >>> configuration, the threads started were not as expected: >>> >>> >>> >> xmlns="http://uima.apache.org/resourceSpecifier"> >>> >>> Uima v3 Deployment Descripter >>> Deploys Uima v3 Aggregate AE using the Advanced >>> Fixed >>> Flow >>> Controller >>> >>> >>> >>> >>> >> brokerURL="tcp://localhost:61617?jms.useCompression=true" prefetch="0" /> >>> >>> >> >>> location="../Uima_v3_test/desc/orkash/ae/aggregate/FlowController_Uima.xml" >>> /> >>> >>> >> key="FlowControllerAgg" internalReplyQueueScaleout="10" >>> inputQueueScaleout="10"> >>> >>> >>> >> key="ChunkerDescriptor"> >>> >> numberOfInstances="5" /> >>> >>> >> key="NEDescriptor"> >>> >> numberOfInstances="5" /> >>> >>> >> key="StemmerDescriptor"> >>> >> numberOfInstances="5" /> >>> >>> >> key="ConsumerDescriptor"> >>> >> numberOfInstances="5" /> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> There should be 5 threads of FlowControllerAgg where each thread will >>> have >>> 5 more threads of each ChunkerDescriptor,NEDescriptor,StemmerDescriptor >>> and >>> ConsumerDescriptor. >>> >>> But I didn't think it is actually happening in case of DUCC. >>> >>> Thanks in advance. >>> >>> Reshu. >>> >>> >>> >>> > --001a11c151ce129ff00514f83363--