From marshallchristopher@example.com Wed Jun 1 06:52:33 2011 Return-Path: <marshallchristopher@example.com> X-Original-To: marshallchristopher@example.com Delivered-To: marshallchristopher@example.com Received: from mail.apache.org (hermes.apache.org [83.161.120.155]) by minotaur.apache.org (Postfix) with SMTP id 71BDD6C27 for <marshallchristopher@example.com>; Wed, 1 Jun 2011 06:52:33 +0000 (UTC) Received: (qmail 1184 invoked by uid 500); 1 Jun 2011 06:52:32 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 543 invoked by uid 500); 1 Jun 2011 06:52:30 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <user.aries.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 451 invoked by uid 99); 1 Jun 2011 06:52:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 06:52:28 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of marshallchristopher@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-wy0-f178.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 06:52:21 +0000 Received: by wyb33 with SMTP id 33so4747468wyb.23 for <marshallchristopher@example.com>; Tue, 31 May 2011 23:52:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:from:mime-version:content-type:subject:date :in-reply-to:to:references:message-id:x-mailer; bh=wS/9+gqky/i3DlRtC5RcVIwFPWuYrhu1w7EsnLMG77k=; b=bdOng/6Hc3EkZL1um1YW1NxVpqCI04goypdgwVTD+9tPLR7GtH+4aAG4SrfIATb6K9 vkG3RZ0sxaTXNzYKQtVZfhAakUJ+f2rMx8EAmK3CE6kznAR5x/ZZEF3HmsUNS4LR3EUr e8RRo3+EC73Dtt1z03NysIg0IarJTCtZ+LGeg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=RcCWJxb4je4/dp9xWmWXpFFryFqPiCKPHfYYzT6Zb07inrDXQMCNYWY43x8OWdvGEd R/hFT9UzdJ1uLd99Bw8JpHsqlDGlj8hX012ENKarKMpiCOwx20QRcvkHkT280HMNouVF w9siJoCCiQUaH9tCn91ydfh7tFwFNEKu6LHhc= Received: by 83.161.120.155 with SMTP id 38mr6868193wbe.109.1306911120471; Tue, 31 May 2011 23:52:00 -0700 (PDT) Received: from [83.161.120.155] ([83.161.120.155]) by mx.google.com with ESMTPS id b10sm521190wbh.26.283.161.120.155.47.40 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 May 2011 23:51:59 -0700 (PDT) From: Valentin Mahrwald <marshallchristopher@example.com> Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: multipart/alternative; boundary=Apple-Mail-1-38608847 Subject: Re: Aries - Bundle waiting for Namespace Handlers - What does it mean? Date: Wed, 1 Jun 2011 07:46:46 +0100 In-Reply-To: <marshallchristopher@example.com> To: marshallchristopher@example.com References: <marshallchristopher@example.com> Message-Id: <marshallchristopher@example.com> X-Mailer: Apple Mail (2.1082) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-1-38608847 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Matt, the waiting for namespace handlers message comes up when a bundle uses = additional namespaces in the Blueprint XML but at the time the bundle is = started the namespace handler service is not available. In the case of = the persistence bundle I would imagine it is probably waiting for the JPA namespace handler = (the one that handles http://aries.apache.org/xmlns/jpa/v1.0.0 or 1.1.0 = and lives in the org.apache.aries.jpa.blueprint.aries bundle). If that = namespace handler does not become available then the Blueprint won't be = created. You can check in the console if the Blueprint container gets registered = for the persistence bundle then the namespace handler was found and the = Blueprint was processed. In that case the problem you see must be = something about the reference not matching the service. Otherwise the = Blueprint for the persistence bundle never started and that explains the = missing service for the BIZ bundle. Hope this helps a bit, Valentin On 31 May 2011, at 23:34, Matt Madhavan wrote: > Hello, > I'm running (trying to run) a web app inside Felix Container. One of = my bundle (persistence bundle) is complaining as follows: >=20 > g! [Blueprint Extender: 2] INFO = org.apache.aries.blueprint.container.BlueprintContainerImpl - Bundle = com.xxxx.osgi.samples.bank.persistence is waiting for namespace handlers >=20 > This bundle exports a service named: > com.xxxx.osgi.samples.bank.api.persistence.BankPersistenceService >=20 > Meanwhile another bundle (BIZ bundle) timesout waiting for this = service from the above bundle as follows: >=20 > g! [Blueprint Extender: 2] ERROR = org.apache.aries.blueprint.container.BlueprintContainerImpl - Unable to = start blueprint container for bundle=20 > com.xxxx.osgi.samples.bank.biz due to unresolved dependencies = (objectClass=3Dcom.xxxx.osgi.samples.bank.api.persistence.BankPersistenceS= ervice)] > java.util.concurrent.TimeoutException > at = org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run >=20 >=20 >=20 > Been stuck on this for a while? Any ideas please? >=20 >=20 > Thanks in advance! >=20 > Matt >=20 --Apple-Mail-1-38608847 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; = "><div>Hi Matt,</div><div><br></div><div>the waiting for namespace = handlers message comes up when a bundle uses additional namespaces in = the Blueprint XML but at the time the bundle is started the namespace = handler service is not available. In the case of the persistence = bundle</div><div>I would imagine it is probably waiting for the JPA = namespace handler (the one that handles <a = href=3D"http://aries.apache.org/xmlns/jpa/v1.0.0">http://aries.apache.org/= xmlns/jpa/v1.0.0</a> or 1.1.0 and lives in the = org.apache.aries.jpa.blueprint.aries bundle). If that namespace handler = does not become available then the Blueprint won't be = created.</div><div><br></div><div>You can check in the console if the = Blueprint container gets registered for the persistence bundle then the = namespace handler was found and the Blueprint was processed. In that = case the problem you see must be something about the reference not = matching the service. Otherwise the Blueprint for the persistence bundle = never started and that explains the missing service for the BIZ = bundle.</div><div><br></div><div>Hope this helps a = bit,</div><div><br></div><div>Valentin</div><div><br></div><div><div>On = 31 May 2011, at 23:34, Matt Madhavan wrote:</div><br = class=3D"Apple-interchange-newline"><blockquote = type=3D"cite">Hello,<div>I'm running (trying to run) a web app inside = Felix Container. One of my bundle (persistence bundle) is complaining as = follows:</div><div><br></div><div><font class=3D"Apple-style-span" = face=3D"arial, sans-serif"><span class=3D"Apple-style-span" = style=3D"border-collapse: collapse; -webkit-border-horizontal-spacing: = 2px; -webkit-border-vertical-spacing: 2px;"><div> <u>g! [Blueprint Extender: 2] INFO = org.apache.aries.blueprint.container.BlueprintContainerImpl - Bundle = com.xxxx.osgi.samples.bank.persistence is waiting for namespace = handlers</u></div><div><br></div><div>This bundle exports a service = named:</div><div><u>com.xxxx.osgi.samples.bank.api.persistence.BankPersist= enceService</u></div><div><br></div><div>Meanwhile another &nbsp;bundle = (BIZ bundle) timesout waiting for this service from the above bundle as = follows:</div><div><br> </div><div><div><u>g! [Blueprint Extender: 2] ERROR = org.apache.aries.blueprint.container.BlueprintContainerImpl - Unable to = start blueprint container for bundle&nbsp;</u></div><div><u><a = href=3D"http://com.xxxx.osgi.samples.bank.biz/">com.xxxx.osgi.samples.bank= .biz</a> due to unresolved dependencies = &nbsp;(objectClass=3Dcom.xxxx.osgi.samples.bank.api.persistence.BankPersis= tenceService)]</u></div> <div><u>java.util.concurrent.TimeoutException</u></div><div><u>&nbsp; = &nbsp; &nbsp; &nbsp; at = org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run</u></div= ></div><div><br></div><div><br></div><div><br></div><div>Been stuck on = this for a while? Any ideas = please?</div><div><br></div><div><br></div><div>Thanks in = advance!</div><div><br></div><div>Matt</div><div><br></div></span></font><= /div> </blockquote></div><br></body></html>= --Apple-Mail-1-38608847-- From marshallchristopher@example.com Wed Jun 1 14:40:23 2011 Return-Path: <marshallchristopher@example.com> X-Original-To: marshallchristopher@example.com Delivered-To: marshallchristopher@example.com Received: from mail.apache.org (hermes.apache.org [83.161.120.155]) by minotaur.apache.org (Postfix) with SMTP id A0DAB6E04 for <marshallchristopher@example.com>; Wed, 1 Jun 2011 14:40:23 +0000 (UTC) Received: (qmail 4384 invoked by uid 500); 1 Jun 2011 14:40:23 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 4332 invoked by uid 500); 1 Jun 2011 14:40:22 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <user.aries.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 4324 invoked by uid 99); 1 Jun 2011 14:40:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 14:40:22 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of marshallchristopher@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-gw0-f50.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 14:40:16 +0000 Received: by gwj16 with SMTP id 16so3266848gwj.23 for <marshallchristopher@example.com>; Wed, 01 Jun 2011 07:39:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=OdYFGCypPY9cmbjoA5wXmTdcr0d6hgO4kz7tqqgzmMw=; b=DH+zCSgDCPfcp9kLeCQCecYmwmhM3rxGF8FafUoZIv7PoIxCniyZH5b+4b/T6N60pJ WmbCyAzU96hteVsuQPQ1W1Cp6T5OqWMu+zhHNRSqqTXurXaOuSd53et2VsOrcpH16yP8 fwEvCdaNbg0SUBxk2nvhlW9vGnXmLkGiEjuXk= 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; b=nSTdknQ7cWcZCSQZG9/FILZ7y4RL2Ybfy/mdSjX62WoxJkqCsTLe1pHz0cbmEh6nMK tplBmFnKQrZAPR4l+75RkK61BtWKdR8RAktp1BkwNuHLvTQn38UqLHTLFo9LVHqeEdPq 0nncukhAeU1VfDQZuDT502Ohx1BoMj9S8mszY= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id b13mr5078769ybj.283.1306939194844; Wed, 01 Jun 2011 07:39:54 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Wed, 1 Jun 2011 07:39:54 -0700 (PDT) In-Reply-To: <marshallchristopher@example.com> References: <marshallchristopher@example.com> <marshallchristopher@example.com> Date: Wed, 1 Jun 2011 09:39:54 -0500 Message-ID: <marshallchristopher@example.com> Subject: Re: Aries - Bundle waiting for Namespace Handlers - What does it mean? From: Matt Madhavan <marshallchristopher@example.com> To: marshallchristopher@example.com Content-Type: multipart/alternative; boundary=000e0cd4051c73a72604a4a77e16 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd4051c73a72604a4a77e16 Content-Type: text/plain; charset=ISO-8859-1 Hi Valentine, When you say JPA namespace handler do you mean its a bundle itself? I'm not sure what to look for here! Also could you explain what do you mean by "If the namespace handler does not become available"? In the console it says the Blueprint container for the persitence bundle was unable to start. But the felix shows that it is "active"? Any more ideas please! Matt On Wed, Jun 1, 2011 at 1:46 AM, Valentin Mahrwald <marshallchristopher@example.com>wrote: > Hi Matt, > > the waiting for namespace handlers message comes up when a bundle uses > additional namespaces in the Blueprint XML but at the time the bundle is > started the namespace handler service is not available. In the case of the > persistence bundle > I would imagine it is probably waiting for the JPA namespace handler (the > one that handles http://aries.apache.org/xmlns/jpa/v1.0.0 or 1.1.0 and > lives in the org.apache.aries.jpa.blueprint.aries bundle). If that namespace > handler does not become available then the Blueprint won't be created. > > You can check in the console if the Blueprint container gets registered for > the persistence bundle then the namespace handler was found and the > Blueprint was processed. In that case the problem you see must be something > about the reference not matching the service. Otherwise the Blueprint for > the persistence bundle never started and that explains the missing service > for the BIZ bundle. > > Hope this helps a bit, > > Valentin > > On 31 May 2011, at 23:34, Matt Madhavan wrote: > > Hello, > I'm running (trying to run) a web app inside Felix Container. One of my > bundle (persistence bundle) is complaining as follows: > > *g! [Blueprint Extender: 2] INFO > org.apache.aries.blueprint.container.BlueprintContainerImpl - Bundle > com.xxxx.osgi.samples.bank.persistence is waiting for namespace handlers* > > This bundle exports a service named: > *com.xxxx.osgi.samples.bank.api.persistence.BankPersistenceService* > > Meanwhile another bundle (BIZ bundle) timesout waiting for this service > from the above bundle as follows: > > *g! [Blueprint Extender: 2] ERROR > org.apache.aries.blueprint.container.BlueprintContainerImpl - Unable to > start blueprint container for bundle * > *com.xxxx.osgi.samples.bank.biz due to unresolved dependencies > (objectClass=com.xxxx.osgi.samples.bank.api.persistence.BankPersistenceService)] > * > *java.util.concurrent.TimeoutException* > * at > org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run* > > > > Been stuck on this for a while? Any ideas please? > > > Thanks in advance! > > Matt > > > --000e0cd4051c73a72604a4a77e16 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Valentine,<div>When you say JPA namespace handler do you mean its a bund= le itself? I&#39;m not sure what to look for here! Also could you explain w= hat do you mean by &quot;If the namespace handler does not become available= &quot;?</div> <div><br></div><div><br></div><div>In the console it says the Blueprint con= tainer for the persitence bundle was unable to start. But the felix shows t= hat it is &quot;active&quot;?</div><div><br></div><div>Any =A0more ideas pl= ease!</div> <div><br></div><div>Matt<br></div><br><div class=3D"gmail_quote">On Wed, Ju= n 1, 2011 at 1:46 AM, Valentin Mahrwald <span dir=3D"ltr">&lt;<a href=3D"ma= ilto:marshallchristopher@example.com">marshallchristopher@example.com</a>&gt;</span> wrot= e:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;"><div style=3D"word-wrap:break-word"><div>Hi= Matt,</div><div><br></div><div>the waiting for namespace handlers message = comes up when a bundle uses additional namespaces in the Blueprint XML but = at the time the bundle is started the namespace handler service is not avai= lable. In the case of the persistence bundle</div> <div>I would imagine it is probably waiting for the JPA namespace handler (= the one that handles <a href=3D"http://aries.apache.org/xmlns/jpa/v1.0.0" t= arget=3D"_blank">http://aries.apache.org/xmlns/jpa/v1.0.0</a> or 1.1.0 and = lives in the org.apache.aries.jpa.blueprint.aries bundle). If that namespac= e handler does not become available then the Blueprint won&#39;t be created= .</div> <div><br></div><div>You can check in the console if the Blueprint container= gets registered for the persistence bundle then the namespace handler was = found and the Blueprint was processed. In that case the problem you see mus= t be something about the reference not matching the service. Otherwise the = Blueprint for the persistence bundle never started and that explains the mi= ssing service for the BIZ bundle.</div> <div><br></div><div>Hope this helps a bit,</div><div><br></div><font color= =3D"#888888"><div>Valentin</div></font><div><div></div><div class=3D"h5"><d= iv><br></div><div><div>On 31 May 2011, at 23:34, Matt Madhavan wrote:</div>= <br> <blockquote type=3D"cite">Hello,<div>I&#39;m running (trying to run) a web = app inside Felix Container. One of my bundle (persistence bundle) is compla= ining as follows:</div><div><br></div><div><font face=3D"arial, sans-serif"= ><span style=3D"border-collapse:collapse"><div> <u>g! [Blueprint Extender: 2] INFO org.apache.aries.blueprint.container.Blu= eprintContainerImpl - Bundle com.xxxx.osgi.samples.bank.persistence is wait= ing for namespace handlers</u></div><div><br></div><div>This bundle exports= a service named:</div> <div><u>com.xxxx.osgi.samples.bank.api.persistence.BankPersistenceService</= u></div><div><br></div><div>Meanwhile another =A0bundle (BIZ bundle) timeso= ut waiting for this service from the above bundle as follows:</div><div><br= > </div><div><div><u>g! [Blueprint Extender: 2] ERROR org.apache.aries.bluepr= int.container.BlueprintContainerImpl - Unable to start blueprint container = for bundle=A0</u></div><div><u><a href=3D"http://com.xxxx.osgi.samples.bank= .biz/" target=3D"_blank">com.xxxx.osgi.samples.bank.biz</a> due to unresolv= ed dependencies =A0(objectClass=3Dcom.xxxx.osgi.samples.bank.api.persistenc= e.BankPersistenceService)]</u></div> <div><u>java.util.concurrent.TimeoutException</u></div><div><u>=A0 =A0 =A0 = =marshallchristopher@example.com$1.run</u= ></div></div><div><br></div><div><br></div><div><br></div><div>Been stuck o= n this for a while? Any ideas please?</div> <div><br></div><div><br></div><div>Thanks in advance!</div><div><br></div><= div>Matt</div><div><br></div></span></font></div> </blockquote></div><br></div></div></div></blockquote></div><br> --000e0cd4051c73a72604a4a77e16-- From marshallchristopher@example.com Wed Jun 1 14:53:03 2011 Return-Path: <marshallchristopher@example.com> X-Original-To: marshallchristopher@example.com Delivered-To: marshallchristopher@example.com Received: from mail.apache.org (hermes.apache.org [83.161.120.155]) by minotaur.apache.org (Postfix) with SMTP id 5F4FB66E1 for <marshallchristopher@example.com>; Wed, 1 Jun 2011 14:53:03 +0000 (UTC) Received: (qmail 34845 invoked by uid 500); 1 Jun 2011 14:53:03 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 34815 invoked by uid 500); 1 Jun 2011 14:53:03 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <user.aries.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 34807 invoked by uid 99); 1 Jun 2011 14:53:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 14:53:03 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of marshallchristopher@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-vw0-f50.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 14:52:55 +0000 Received: by vws14 with SMTP id 14so5772199vws.23 for <marshallchristopher@example.com>; Wed, 01 Jun 2011 07:52:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=kR2hacBzBODz4kjK6gSaJgkbaMaHQaw3/2n4v8sIbX0=; b=kQgCIEuilhC3aXeASyoCmfsn2OVTw4JVFceQ5Pc4UQx8mmSqQEOlyBrankN165qWbh osaKHA2AyGW5ulQF/G+XSR3aQJrHqSWdyQv+oVtbj1oez1SBXjuiiACGHZUsLaB/OSiF 4aFwFl97/R7wT/q8jviXd2Op9jDxkERoLw9Wc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=hCbU95zJhx3aqqmQaLoRNso3onV3RsKoDyFLDL3JbkhauR1aRkfsLyyvk06T4w1cgl xw/xxkQgE/0KeCCiP0k4Xs56gRrle0nwd3dclhr4TQd4m517xmNQZ/kII4E/VrYW/zNj f9OWKvmOkuC/Hx623iWBW/AgY4J0Zn3uvcMfU= Received: by 83.161.120.155 with SMTP id bj19mr1354535vdb.89.1306939953889; Wed, 01 Jun 2011 07:52:33 -0700 (PDT) Received: from [83.161.120.155] (972)942-0263.hlrn.qwest.net [83.161.120.155]) by mx.google.com with ESMTPS id c1sm455196vdu.17.283.161.120.155.52.31 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Jun 2011 07:52:32 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Aries - Bundle waiting for Namespace Handlers - What does it mean? From: Johan Edstrom <marshallchristopher@example.com> In-Reply-To: <marshallchristopher@example.com> Date: Wed, 1 Jun 2011 08:52:25 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <marshallchristopher@example.com> References: <marshallchristopher@example.com> <marshallchristopher@example.com> <marshallchristopher@example.com> To: marshallchristopher@example.com X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org You need the aries JPA bundles active to parse the entitymanager = interceptors. A namespacehandler is a functionality provides, just as say = camel-blueprint, aries-jpa etc etc handles additional snippets of XML for you based on a = name-space. /je On Jun 1, 2011, at 8:39 AM, Matt Madhavan wrote: > Hi Valentine, > When you say JPA namespace handler do you mean its a bundle itself? = I'm not sure what to look for here! Also could you explain what do you = mean by "If the namespace handler does not become available"? >=20 >=20 > In the console it says the Blueprint container for the persitence = bundle was unable to start. But the felix shows that it is "active"? >=20 > Any more ideas please! >=20 > Matt >=20 > On Wed, Jun 1, 2011 at 1:46 AM, Valentin Mahrwald = <marshallchristopher@example.com> wrote: > Hi Matt, >=20 > the waiting for namespace handlers message comes up when a bundle uses = additional namespaces in the Blueprint XML but at the time the bundle is = started the namespace handler service is not available. In the case of = the persistence bundle > I would imagine it is probably waiting for the JPA namespace handler = (the one that handles http://aries.apache.org/xmlns/jpa/v1.0.0 or 1.1.0 = and lives in the org.apache.aries.jpa.blueprint.aries bundle). If that = namespace handler does not become available then the Blueprint won't be = created. >=20 > You can check in the console if the Blueprint container gets = registered for the persistence bundle then the namespace handler was = found and the Blueprint was processed. In that case the problem you see = must be something about the reference not matching the service. = Otherwise the Blueprint for the persistence bundle never started and = that explains the missing service for the BIZ bundle. >=20 > Hope this helps a bit, >=20 > Valentin >=20 > On 31 May 2011, at 23:34, Matt Madhavan wrote: >=20 >> Hello, >> I'm running (trying to run) a web app inside Felix Container. One of = my bundle (persistence bundle) is complaining as follows: >>=20 >> g! [Blueprint Extender: 2] INFO = org.apache.aries.blueprint.container.BlueprintContainerImpl - Bundle = com.xxxx.osgi.samples.bank.persistence is waiting for namespace handlers >>=20 >> This bundle exports a service named: >> com.xxxx.osgi.samples.bank.api.persistence.BankPersistenceService >>=20 >> Meanwhile another bundle (BIZ bundle) timesout waiting for this = service from the above bundle as follows: >>=20 >> g! [Blueprint Extender: 2] ERROR = org.apache.aries.blueprint.container.BlueprintContainerImpl - Unable to = start blueprint container for bundle=20 >> com.xxxx.osgi.samples.bank.biz due to unresolved dependencies = (objectClass=3Dcom.xxxx.osgi.samples.bank.api.persistence.BankPersistenceS= ervice)] >> java.util.concurrent.TimeoutException >> at = org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run >>=20 >>=20 >>=20 >> Been stuck on this for a while? Any ideas please? >>=20 >>=20 >> Thanks in advance! >>=20 >> Matt >>=20 >=20 >=20 From marshallchristopher@example.com Wed Jun 1 15:59:22 2011 Return-Path: <marshallchristopher@example.com> X-Original-To: marshallchristopher@example.com Delivered-To: marshallchristopher@example.com Received: from mail.apache.org (hermes.apache.org [83.161.120.155]) by minotaur.apache.org (Postfix) with SMTP id B79E36663 for <marshallchristopher@example.com>; Wed, 1 Jun 2011 15:59:22 +0000 (UTC) Received: (qmail 23645 invoked by uid 500); 1 Jun 2011 15:59:22 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 23607 invoked by uid 500); 1 Jun 2011 15:59:22 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <user.aries.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 23599 invoked by uid 99); 1 Jun 2011 15:59:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 15:59:22 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marshallchristopher@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-yw0-f50.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 15:59:18 +0000 Received: by ywa8 with SMTP id 8so3360765ywa.23 for <marshallchristopher@example.com>; Wed, 01 Jun 2011 08:58:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=0AYqCGO7zIdKh/vaVMkRWqiNtOEv86v+2nwd3VvCdpM=; b=NcQMs0+HRsp6wdIlRQDOhPFxQ2owq8IfAce5vRHUq8E2sa4vTtjImhm/+X+GkYt5US F8yTZXXxD/yzfIoIlFXAvFQj/tr29RU9yPwasChi+NveXHBU1iL5BRIt+a2NtKEC6nnt uko020DHN62SWhmohaZdRXimQsQ0h7M/GYtWk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=lvVgOQFPhpyB9D9hp1pRbd88QhmlzEb0vs3HqTefPdMFFDKGnhsbvEwpXV5GqvaxIR kS50OOJHgKWiNttXlEodp51MWcC5EMgv2kU5VaZO3Ye9DaItYd9OGKVWJxm+56DNuLvK yfpVx3gAy0Gf0c1JntKnRQRvRZ1W735MZZvWU= Received: by 83.161.120.155 with SMTP id c41mr9625747yhe.10.1306943937061; Wed, 01 Jun 2011 08:58:57 -0700 (PDT) MIME-Version: 1.0 Sender: marshallchristopher@example.com Received: by 83.161.120.155 with HTTP; Wed, 1 Jun 2011 08:58:37 -0700 (PDT) In-Reply-To: <marshallchristopher@example.com> References: <marshallchristopher@example.com> <marshallchristopher@example.com> <marshallchristopher@example.com> From: Jeremy Hughes <marshallchristopher@example.com> Date: Wed, 1 Jun 2011 16:58:37 +0100 X-Google-Sender-Auth: jI2z7Vaqkq_EgAnyfvHxVWq1pqQ Message-ID: <marshallchristopher@example.com> Subject: Re: Aries - Bundle waiting for Namespace Handlers - What does it mean? To: marshallchristopher@example.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Matt, On 1 June 2011 15:39, Matt Madhavan <marshallchristopher@example.com> wrote: > Hi Valentine, > When you say JPA namespace handler do you mean its a bundle itself? I'm n= ot Can you confirm your com.xxxx.osgi.samples.bank.persistence is waiting for namespace bundle is using either the http://aries.apache.org/xmlns/jpa/v1.0.0 or http://aries.apache.org/xmlns/jpa/v1.1.0 namespace in its blueprint xml? If so then you'll need to make sure Felix starts the org.apache.aries.jpa.blueprint.aries bundle. This bundle uses Blueprint itself to register the namespace handler for http://aries.apache.org/xmlns/jpa/v1.0.0 and http://aries.apache.org/xmlns/jpa/v1.1.0 > sure what to look for here! Also could you explain what do you mean by "I= f > the namespace handler does not become available"? One scenario would be if you haven't started the org.apache.aries.jpa.blueprint.aries bundle which contains the NS handler you need. > > In the console it says the Blueprint container for the persitence bundle = was > unable to start. But the felix shows that it is "active"? The OSGi bundle state has reached 'active' but this doesn't reflect the Blueprint container state. Changes to the Blueprint container state will continue after the bundle has become active. > Any =A0more ideas please! > Matt > > On Wed, Jun 1, 2011 at 1:46 AM, Valentin Mahrwald <marshallchristopher@example.com= om> > wrote: >> >> Hi Matt, >> the waiting for namespace handlers message comes up when a bundle uses >> additional namespaces in the Blueprint XML but at the time the bundle is >> started the namespace handler service is not available. In the case of t= he >> persistence bundle >> I would imagine it is probably waiting for the JPA namespace handler (th= e >> one that handles http://aries.apache.org/xmlns/jpa/v1.0.0 or 1.1.0 and l= ives >> in the org.apache.aries.jpa.blueprint.aries bundle). If that namespace >> handler does not become available then the Blueprint won't be created. >> You can check in the console if the Blueprint container gets registered >> for the persistence bundle then the namespace handler was found and the >> Blueprint was processed. In that case the problem you see must be someth= ing >> about the reference not matching the service. Otherwise the Blueprint fo= r >> the persistence bundle never started and that explains the missing servi= ce >> for the BIZ bundle. >> Hope this helps a bit, >> Valentin >> On 31 May 2011, at 23:34, Matt Madhavan wrote: >> >> Hello, >> I'm running (trying to run) a web app inside Felix Container. One of my >> bundle (persistence bundle) is complaining as follows: >> g! [Blueprint Extender: 2] INFO >> org.apache.aries.blueprint.container.BlueprintContainerImpl - Bundle >> com.xxxx.osgi.samples.bank.persistence is waiting for namespace handlers >> This bundle exports a service named: >> com.xxxx.osgi.samples.bank.api.persistence.BankPersistenceService >> Meanwhile another =A0bundle (BIZ bundle) timesout waiting for this servi= ce >> from the above bundle as follows: >> g! [Blueprint Extender: 2] ERROR >> org.apache.aries.blueprint.container.BlueprintContainerImpl - Unable to >> start blueprint container for bundle >> com.xxxx.osgi.samples.bank.biz due to unresolved dependencies >> =A0(objectClass=3Dcom.xxxx.osgi.samples.bank.api.persistence.BankPersist= enceService)] >> java.util.concurrent.TimeoutException >> =A0 =A0 =A0 =A0 at >> org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run >> >> >> Been stuck on this for a while? Any ideas please? >> >> Thanks in advance! >> Matt >> > > From marshallchristopher@example.com Wed Jun 1 16:24:44 2011 Return-Path: <marshallchristopher@example.com> X-Original-To: marshallchristopher@example.com Delivered-To: marshallchristopher@example.com Received: from mail.apache.org (hermes.apache.org [83.161.120.155]) by minotaur.apache.org (Postfix) with SMTP id 0C71B622D for <marshallchristopher@example.com>; Wed, 1 Jun 2011 16:24:44 +0000 (UTC) Received: (qmail 86751 invoked by uid 500); 1 Jun 2011 16:24:43 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 86718 invoked by uid 500); 1 Jun 2011 16:24:43 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <user.aries.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 86710 invoked by uid 99); 1 Jun 2011 16:24:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 16:24:43 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of marshallchristopher@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-gx0-f178.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 16:24:37 +0000 Received: by gxk8 with SMTP id 8so3330812gxk.23 for <marshallchristopher@example.com>; Wed, 01 Jun 2011 09:24:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=+dZMJme/QN3VmQ/lG+04HAyIJcck0X7+l2Nhz0FYAQg=; b=FUqUVLvysSLtvsUgEd8Z4h1IaufaUxoAQvfz0XzOLZPnGf2kMldLiW3fgS59Eep6FX sd3iavDDyHn1JsUynPHXi0hVbnvbt/1rmbL6yAnvvIXI3f7PqJDpuhOM7FqSKXOVq6hq zVkAJP5u5h/Vy7FKIj1xc4+sAbwf969En3SF8= 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; b=nScX5egQTLKHrJHwy4eyaTMPM8KHZC+/OV6Ixw9AHxTlycd7W0clPJJXjX7FKDzcw/ 5MKwNAxQzr/L764YCNu6XxaOKKgMqEmZLjf+OVv0OyXc4PI4WB6PUdyB3HCBTbb1j8ZK ztoC5DhY7MYsgU1Nve0rUdwzQ8s+z09FjYbbQ= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id u2mr6786913ybu.340.1306945455843; Wed, 01 Jun 2011 09:24:15 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Wed, 1 Jun 2011 09:24:15 -0700 (PDT) In-Reply-To: <marshallchristopher@example.com> References: <marshallchristopher@example.com> <marshallchristopher@example.com> <marshallchristopher@example.com> <marshallchristopher@example.com> Date: Wed, 1 Jun 2011 11:24:15 -0500 Message-ID: <marshallchristopher@example.com> Subject: Re: Aries - Bundle waiting for Namespace Handlers - What does it mean? From: Matt Madhavan <marshallchristopher@example.com> To: marshallchristopher@example.com Content-Type: multipart/alternative; boundary=000e0cd704faa2eac604a4a8f3b7 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd704faa2eac604a4a8f3b7 Content-Type: text/plain; charset=ISO-8859-1 Hello All, Thanks for the reply. I think I have narrowed the problem. By biz bundle waits for a service from my persistence bundle. My persistence looks like it needs aries blueprint transaction bundle. The aries blueprint transaction does not start because it was waiting for the Transaction Manager from AriesBluePrint Transacation Manager is waiting on the *objectClass=javax.transaction.TransactionManager * service which comes from the aries.transaction.manager bundle! But for some reason this bundle is not provisioned by mvn pax:provision command! There is a dependency for it in the provision/pom.xml as follows: <dependency> <groupId>org.apache.aries.transaction</groupId> <artifactId>org.apache.aries.transaction.manager</artifactId> <version>0.3</version> </dependency> But this file does not get provisioned at all! I'm scratching my head now! Any ideas please? Matt On Wed, Jun 1, 2011 at 10:58 AM, Jeremy Hughes <marshallchristopher@example.com> wrote: > Hi Matt, > > On 1 June 2011 15:39, Matt Madhavan <marshallchristopher@example.com> wrote: > > Hi Valentine, > > When you say JPA namespace handler do you mean its a bundle itself? I'm > not > > Can you confirm your com.xxxx.osgi.samples.bank.persistence is waiting > for namespace bundle is using either the > http://aries.apache.org/xmlns/jpa/v1.0.0 or > http://aries.apache.org/xmlns/jpa/v1.1.0 namespace in its blueprint > xml? > > If so then you'll need to make sure Felix starts the > org.apache.aries.jpa.blueprint.aries bundle. This bundle uses > Blueprint itself to register the namespace handler for > http://aries.apache.org/xmlns/jpa/v1.0.0 and > http://aries.apache.org/xmlns/jpa/v1.1.0 > > > sure what to look for here! Also could you explain what do you mean by > "If > > the namespace handler does not become available"? > > One scenario would be if you haven't started the > org.apache.aries.jpa.blueprint.aries bundle which contains the NS > handler you need. > > > > > In the console it says the Blueprint container for the persitence bundle > was > > unable to start. But the felix shows that it is "active"? > > The OSGi bundle state has reached 'active' but this doesn't reflect > the Blueprint container state. Changes to the Blueprint container > state will continue after the bundle has become active. > > > Any more ideas please! > > Matt > > > > On Wed, Jun 1, 2011 at 1:46 AM, Valentin Mahrwald < > marshallchristopher@example.com> > > wrote: > >> > >> Hi Matt, > >> the waiting for namespace handlers message comes up when a bundle uses > >> additional namespaces in the Blueprint XML but at the time the bundle is > >> started the namespace handler service is not available. In the case of > the > >> persistence bundle > >> I would imagine it is probably waiting for the JPA namespace handler > (the > >> one that handles http://aries.apache.org/xmlns/jpa/v1.0.0 or 1.1.0 and > lives > >> in the org.apache.aries.jpa.blueprint.aries bundle). If that namespace > >> handler does not become available then the Blueprint won't be created. > >> You can check in the console if the Blueprint container gets registered > >> for the persistence bundle then the namespace handler was found and the > >> Blueprint was processed. In that case the problem you see must be > something > >> about the reference not matching the service. Otherwise the Blueprint > for > >> the persistence bundle never started and that explains the missing > service > >> for the BIZ bundle. > >> Hope this helps a bit, > >> Valentin > >> On 31 May 2011, at 23:34, Matt Madhavan wrote: > >> > >> Hello, > >> I'm running (trying to run) a web app inside Felix Container. One of my > >> bundle (persistence bundle) is complaining as follows: > >> g! [Blueprint Extender: 2] INFO > >> org.apache.aries.blueprint.container.BlueprintContainerImpl - Bundle > >> com.xxxx.osgi.samples.bank.persistence is waiting for namespace handlers > >> This bundle exports a service named: > >> com.xxxx.osgi.samples.bank.api.persistence.BankPersistenceService > >> Meanwhile another bundle (BIZ bundle) timesout waiting for this service > >> from the above bundle as follows: > >> g! [Blueprint Extender: 2] ERROR > >> org.apache.aries.blueprint.container.BlueprintContainerImpl - Unable to > >> start blueprint container for bundle > >> com.xxxx.osgi.samples.bank.biz due to unresolved dependencies > >> > (objectClass=com.xxxx.osgi.samples.bank.api.persistence.BankPersistenceService)] > >> java.util.concurrent.TimeoutException > >> at > >> org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run > >> > >> > >> Been stuck on this for a while? Any ideas please? > >> > >> Thanks in advance! > >> Matt > >> > > > > > --000e0cd704faa2eac604a4a8f3b7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello All,<div>Thanks for the reply. I think I have narrowed the problem. B= y biz bundle waits for a service from my persistence bundle. My persistence= looks like it needs aries blueprint transaction bundle.</div><div><br></di= v> <div>The aries blueprint transaction does not start because it was waiting = for the Transaction Manager from AriesBluePrint Transacation Manager is wai= ting on the=A0<u>objectClass=3Djavax.transaction.TransactionManager </u>=A0= service which comes from the aries.transaction.manager bundle!</div> <div><br></div><div>But for some reason this bundle is not provisioned by m= vn pax:provision command! There is a dependency for it in the provision/pom= .xml as follows:</div><div><br></div><div><div>=A0 =A0 &lt;dependency&gt;</= div> <div>=A0 =A0 =A0 &lt;groupId&gt;org.apache.aries.transaction&lt;/groupId&gt= ;</div><div>=A0 =A0 =A0 &lt;artifactId&gt;org.apache.aries.transaction.mana= ger&lt;/artifactId&gt;</div><div>=A0 =A0 =A0 &lt;version&gt;0.3&lt;/version= &gt;</div><div> =A0 =A0 &lt;/dependency&gt;</div><div><br></div><div>But this file does not= get provisioned at all! I&#39;m scratching my head now!</div><div><br></di= v><div>Any ideas please?</div><div><br></div><div>Matt</div><br><div class= =3D"gmail_quote"> On Wed, Jun 1, 2011 at 10:58 AM, Jeremy Hughes <span dir=3D"ltr">&lt;<a hre= f=3D"mailto:marshallchristopher@example.com">marshallchristopher@example.com</a>&gt;</span> wrote:<br= ><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1= px #ccc solid;padding-left:1ex;"> Hi Matt,<br> <div class=3D"im"><br> On 1 June 2011 15:39, Matt Madhavan &lt;<a href=3D"mailto:mattmadhavan@gmai= l.com">marshallchristopher@example.com</a>&gt; wrote:<br> &gt; Hi Valentine,<br> &gt; When you say JPA namespace handler do you mean its a bundle itself? I&= #39;m not<br> <br> </div>Can you confirm your com.xxxx.osgi.samples.bank.persistence is waitin= g<br> for namespace bundle is using either the<br> <div class=3D"im"><a href=3D"http://aries.apache.org/xmlns/jpa/v1.0.0" targ= et=3D"_blank">http://aries.apache.org/xmlns/jpa/v1.0.0</a> =A0or<br> </div><a href=3D"http://aries.apache.org/xmlns/jpa/v1.1.0" target=3D"_blank= ">http://aries.apache.org/xmlns/jpa/v1.1.0</a> namespace in its blueprint<b= r> xml?<br> <br> If so then you&#39;ll need to make sure Felix starts the<br> org.apache.aries.jpa.blueprint.aries bundle. This bundle uses<br> Blueprint itself to register the namespace handler for<br> <a href=3D"http://aries.apache.org/xmlns/jpa/v1.0.0" target=3D"_blank">http= ://aries.apache.org/xmlns/jpa/v1.0.0</a> and<br> <a href=3D"http://aries.apache.org/xmlns/jpa/v1.1.0" target=3D"_blank">http= ://aries.apache.org/xmlns/jpa/v1.1.0</a><br> <div class=3D"im"><br> &gt; sure what to look for here! Also could you explain what do you mean by= &quot;If<br> &gt; the namespace handler does not become available&quot;?<br> <br> </div>One scenario would be if you haven&#39;t started the<br> org.apache.aries.jpa.blueprint.aries bundle which contains the NS<br> handler you need.<br> <div class=3D"im"><br> &gt;<br> &gt; In the console it says the Blueprint container for the persitence bund= le was<br> &gt; unable to start. But the felix shows that it is &quot;active&quot;?<br= > <br> </div>The OSGi bundle state has reached &#39;active&#39; but this doesn&#39= ;t reflect<br> the Blueprint container state. Changes to the Blueprint container<br> state will continue after the bundle has become active.<br> <div><div></div><div class=3D"h5"><br> &gt; Any =A0more ideas please!<br> &gt; Matt<br> &gt;<br> &gt; On Wed, Jun 1, 2011 at 1:46 AM, Valentin Mahrwald &lt;<a href=3D"mailt= o:marshallchristopher@example.com">marshallchristopher@example.com</a>&gt;<br> &gt; wrote:<br> &gt;&gt;<br> &gt;&gt; Hi Matt,<br> &gt;&gt; the waiting for namespace handlers message comes up when a bundle = uses<br> &gt;&gt; additional namespaces in the Blueprint XML but at the time the bun= dle is<br> &gt;&gt; started the namespace handler service is not available. In the cas= e of the<br> &gt;&gt; persistence bundle<br> &gt;&gt; I would imagine it is probably waiting for the JPA namespace handl= er (the<br> &gt;&gt; one that handles <a href=3D"http://aries.apache.org/xmlns/jpa/v1.0= .0" target=3D"_blank">http://aries.apache.org/xmlns/jpa/v1.0.0</a> or 1.1.0= and lives<br> &gt;&gt; in the org.apache.aries.jpa.blueprint.aries bundle). If that names= pace<br> &gt;&gt; handler does not become available then the Blueprint won&#39;t be = created.<br> &gt;&gt; You can check in the console if the Blueprint container gets regis= tered<br> &gt;&gt; for the persistence bundle then the namespace handler was found an= d the<br> &gt;&gt; Blueprint was processed. In that case the problem you see must be = something<br> &gt;&gt; about the reference not matching the service. Otherwise the Bluepr= int for<br> &gt;&gt; the persistence bundle never started and that explains the missing= service<br> &gt;&gt; for the BIZ bundle.<br> &gt;&gt; Hope this helps a bit,<br> &gt;&gt; Valentin<br> &gt;&gt; On 31 May 2011, at 23:34, Matt Madhavan wrote:<br> &gt;&gt;<br> &gt;&gt; Hello,<br> &gt;&gt; I&#39;m running (trying to run) a web app inside Felix Container. = One of my<br> &gt;&gt; bundle (persistence bundle) is complaining as follows:<br> &gt;&gt; g! [Blueprint Extender: 2] INFO<br> &gt;&gt; org.apache.aries.blueprint.container.BlueprintContainerImpl - Bund= le<br> &gt;&gt; com.xxxx.osgi.samples.bank.persistence is waiting for namespace ha= ndlers<br> &gt;&gt; This bundle exports a service named:<br> &gt;&gt; com.xxxx.osgi.samples.bank.api.persistence.BankPersistenceService<= br> &gt;&gt; Meanwhile another =A0bundle (BIZ bundle) timesout waiting for this= service<br> &gt;&gt; from the above bundle as follows:<br> &gt;&gt; g! [Blueprint Extender: 2] ERROR<br> &gt;&gt; org.apache.aries.blueprint.container.BlueprintContainerImpl - Unab= le to<br> &gt;&gt; start blueprint container for bundle<br> &gt;&gt; <a href=3D"http://com.xxxx.osgi.samples.bank.biz" target=3D"_blank= ">com.xxxx.osgi.samples.bank.biz</a> due to unresolved dependencies<br> &gt;&gt; =A0(objectClass=3Dcom.xxxx.osgi.samples.bank.api.persistence.BankP= ersistenceService)]<br> &gt;&gt; java.util.concurrent.TimeoutException<br> &gt;&gt; =A0 =A0 =A0 =A0 at<br> &gt;&gt; org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run<= br> &gt;&gt;<br> &gt;&gt;<br> &gt;&gt; Been stuck on this for a while? Any ideas please?<br> &gt;&gt;<br> &gt;&gt; Thanks in advance!<br> &gt;&gt; Matt<br> &gt;&gt;<br> &gt;<br> &gt;<br> </div></div></blockquote></div><br></div> --000e0cd704faa2eac604a4a8f3b7-- From marshallchristopher@example.com Thu Jun 2 17:14:31 2011 Return-Path: <marshallchristopher@example.com> X-Original-To: marshallchristopher@example.com Delivered-To: marshallchristopher@example.com Received: from mail.apache.org (hermes.apache.org [83.161.120.155]) by minotaur.apache.org (Postfix) with SMTP id 5ABA34E93 for <marshallchristopher@example.com>; Thu, 2 Jun 2011 17:14:31 +0000 (UTC) Received: (qmail 79968 invoked by uid 500); 2 Jun 2011 17:14:31 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 79655 invoked by uid 500); 2 Jun 2011 17:14:30 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <user.aries.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 79251 invoked by uid 99); 2 Jun 2011 17:14:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 17:14:30 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of marshallchristopher@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-yx0-f178.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 17:14:21 +0000 Received: by yxa15 with SMTP id 15so575463yxa.23 for <marshallchristopher@example.com>; Thu, 02 Jun 2011 10:14:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to:cc :content-type; bh=Xa64F4d9hZa0U8euh3t/dGfPjTljNgkb83PimPprnKc=; b=AB0IcTarfML4U3/BkadDZ66RaFM1SruhJ/xHcN/ZKYM2oO7GQy7s7YdUnXlLbMwCTm Wlfk/e62Er57Je1dgSZenUgs/qZtLx3gOLPAHkYJ4MzYKTfQGYZmEWPb1XVoJwGYcq5q K1XxP4sRVEP2yaSV+2CzAUaOj7VN5ri6GXYts= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=W4OC92qqo5cwdofFA9dCZOqrlHv2whuDZNBw1vm9iM+bn/Ry0CqLG8lIUDl8BDvv/r RX5idONmhRvWEKmQkX/d4QvRfOXLBmdN8FpBNHs8xAHOMruLakiP3ejClfMTk6GB7tf1 7pIQrgmIVe4qVUoKVxn0n4caYGTTFDK/lonXw= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id b13mr895606ybj.283.1307034840959; Thu, 02 Jun 2011 10:14:00 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Thu, 2 Jun 2011 10:14:00 -0700 (PDT) Date: Thu, 2 Jun 2011 12:14:00 -0500 Message-ID: <marshallchristopher@example.com> Subject: pax provision, mvn pax:provision - Strange provisioning behaviour? From: Matt Madhavan <marshallchristopher@example.com> To: general <marshallchristopher@example.com>, marshallchristopher@example.com, user <marshallchristopher@example.com> Cc: toni <marshallchristopher@example.com> Content-Type: multipart/alternative; boundary=000e0cd4051c678a2604a4bdc32a X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd4051c678a2604a4bdc32a Content-Type: text/plain; charset=ISO-8859-1 Hello All, I discovered a strange issue while provisioning: I have a dependency defined as follows in my *testproject\itests *project: <dependency> <groupId>org.apache.aries.transaction</groupId> <artifactId>org.apache.aries.transaction.manager</artifactId> * <scope>test</scope>* </dependency> When I run the felix container via *mvn pax:provision * from the *testproject folder *the bundle org.apache.aries.transaction.manager does not get provisioned! It resulted in bunch of weird issues: So I ran the following command from the *testproject * folder: mvn pax:import-bundle -DgroupId=org.apache.aries.transaction -DartifactId=org.apache.aries.transaction.manager I checked the *testproject\**provision\pom.xml* file: I see the following entry: <dependency> <groupId>org.apache.aries.transaction</groupId> <artifactId>org.apache.aries.transaction.manager</artifactId> <version>0.3</version> </dependency> When I run *mvn pax:provision * from the *testproject *folder it still does not provision the bundle to the runner folder. I'm confused. I thought * testproject\**provision\pom.xml * pom is used to override pom,xml from all the child projects. Any idea? Whats the purpose of the *testproject\** provision\pom.xml* pom then? Then I changed the *testproject\**provision\pom.xml* file entry above with the following: <dependency> <groupId>org.apache.aries.transaction</groupId> <artifactId>org.apache.aries.transaction.manager</artifactId> <version>0.3</version> * <scope>provided</scope>* </dependency> and ran *mvn pax:provision * from the *testproject *folder. The bundle gets provisioned! Everything is fine! Any idea about the sequence how the runner/deploy-pom.xml gets created? ANy input or pointers will be appreciated. I was expecting *testproject\**provision\pom.xml * to override all other pom.xml files! Thanks in advance! Matt --000e0cd4051c678a2604a4bdc32a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello All,<div>I discovered a strange issue while provisioning:</div><div>I= have a dependency defined as follows in my <b>testproject\itests=A0</b>pro= ject:</div><div><br></div><div><div><span class=3D"Apple-tab-span" style=3D= "white-space:pre"> </span>&lt;dependency&gt;</div> <div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>&lt= ;groupId&gt;org.apache.aries.transaction&lt;/groupId&gt;</div><div><span cl= ass=3D"Apple-tab-span" style=3D"white-space:pre"> </span>&lt;artifactId&g= t;org.apache.aries.transaction.manager&lt;/artifactId&gt;</div> </div><div>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<b> &lt;scope&gt;= test&lt;/scope&gt;</b></div><div>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 &lt;/depen= dency&gt;</div><div><br></div><div>When I run the felix container via <b>mv= n pax:provision </b>=A0from the=A0<b>testproject folder=A0</b>the bundle=A0= org.apache.aries.transaction.manager does not get provisioned! It resulted = in bunch of weird issues:</div> <div><br></div><div>So I ran the following command from the=A0<b>testprojec= t </b>=A0folder:</div><div>=A0</div><div>mvn pax:import-bundle =A0 =A0 -Dgr= oupId=3Dorg.apache.aries.transaction =A0 =A0 -DartifactId=3Dorg.apache.arie= s.transaction.manager</div> <div><br></div><div>I checked the=A0<b>testproject\</b><b>provision\pom.xml= </b> file:=A0I see the following entry:</div><div><br></div><div><div>=A0 = =A0 &lt;dependency&gt;</div><div>=A0 =A0 =A0 &lt;groupId&gt;org.apache.arie= s.transaction&lt;/groupId&gt;</div> <div>=A0 =A0 =A0 &lt;artifactId&gt;org.apache.aries.transaction.manager&lt;= /artifactId&gt;</div><div>=A0 =A0 =A0 &lt;version&gt;0.3&lt;/version&gt;</d= iv><div>=A0 =A0 &lt;/dependency&gt;</div></div><div><br></div><div>When I r= un=A0<b>mvn pax:provision=A0</b>=A0from the=A0<b>testproject </b>folder=A0i= t still does not provision the bundle to the runner folder. I&#39;m confuse= d. I thought=A0<b>testproject\</b><b>provision\pom.xml </b>=A0pom is used t= o override pom,xml from all the child projects. Any idea? Whats the purpose= of the=A0<b>testproject\</b><b>provision\pom.xml</b>=A0pom then?</div> <div><br></div><div>=A0</div><div><div>Then I changed the=A0<b>testproject\= </b><b>provision\pom.xml</b>=A0file entry above with the following:</div><d= iv><br></div><div><div>=A0 =A0 &lt;dependency&gt;</div><div>=A0 =A0 =A0 &lt= ;groupId&gt;org.apache.aries.transaction&lt;/groupId&gt;</div> <div>=A0 =A0 =A0 &lt;artifactId&gt;org.apache.aries.transaction.manager&lt;= /artifactId&gt;</div><div>=A0 =A0 =A0 &lt;version&gt;0.3&lt;/version&gt;</d= iv><div>=A0<b> =A0 =A0 &lt;scope&gt;provided&lt;/scope&gt;</b></div><div>= =A0 =A0 &lt;/dependency&gt;</div> </div></div><div><br></div><div>and ran=A0<b>mvn pax:provision=A0</b>=A0fro= m the=A0<b>testproject </b>folder.</div><div><br></div><div>The bundle gets= provisioned! Everything is fine! Any idea about the sequence how the runne= r/deploy-pom.xml gets created? ANy input or pointers will be appreciated.</= div> <div><br></div><div>I was expecting=A0<b>testproject\</b><b>provision\pom.x= ml </b>=A0to override all other pom.xml files!</div><div><br></div><div>Tha= nks in advance!</div><div><br></div><div>Matt</div><div><br></div><div><br> </div><div><br></div> --000e0cd4051c678a2604a4bdc32a-- From marshallchristopher@example.com Mon Jun 6 08:41:34 2011 Return-Path: <marshallchristopher@example.com> X-Original-To: marshallchristopher@example.com Delivered-To: marshallchristopher@example.com Received: from mail.apache.org (hermes.apache.org [83.161.120.155]) by minotaur.apache.org (Postfix) with SMTP id 820904718 for <marshallchristopher@example.com>; Mon, 6 Jun 2011 08:41:34 +0000 (UTC) Received: (qmail 18251 invoked by uid 500); 6 Jun 2011 08:41:34 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 18085 invoked by uid 500); 6 Jun 2011 08:41:33 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <user.aries.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 18077 invoked by uid 99); 6 Jun 2011 08:41:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 08:41:33 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marshallchristopher@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-yw0-f50.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 08:41:27 +0000 Received: by ywa8 with SMTP id 8so1976127ywa.23 for <marshallchristopher@example.com>; Mon, 06 Jun 2011 01:41:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:content-type; bh=SxPInBXddC0er2Pl3+mV5TRbS7dey4rja7cRH/9yJ/A=; b=hUYWeK5hQ7kWs/1A+jld143ocakZ4iW614ZwYwvxvHNQn8WIg8Np+btnKoyYOV8ISm rCn/N5jdWuvpH/wEaCIA3q85kyHKWyO/8rEtUcVZoejDEpAmUGvRqDZ7cO/VCJ4UbgFQ cPckuUoVANQMVeRSgc8QFX6OOC8pLGV1ZZ6b0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; b=UgwmulPnrYbhPjebEKZR2blLWjECwhQYWEs6NAKx9UK1Ez5OYkLqp0n5h/8YTQfBl8 8IeeD56h9k4gHMNskS1RKgr3pc0+GXM7lcoWjsVclJUAZvJIo5agZP0aZ9fW4h5kwZMG KMKCPz7/lpArMvm4B2r5xRuqgh4f4J/O9ltx4= Received: by 83.161.120.155 with SMTP id x40mr2023082yax.38.1307349666122; Mon, 06 Jun 2011 01:41:06 -0700 (PDT) MIME-Version: 1.0 Sender: marshallchristopher@example.com Received: by 83.161.120.155 with HTTP; Mon, 6 Jun 2011 01:40:46 -0700 (PDT) In-Reply-To: <marshallchristopher@example.com> References: <marshallchristopher@example.com> From: Jeremy Hughes <marshallchristopher@example.com> Date: Mon, 6 Jun 2011 09:40:46 +0100 X-Google-Sender-Auth: vitz09FjwbPalMNTvQ6IvPnu96U Message-ID: <marshallchristopher@example.com> Subject: Fwd: Travel Assistance applications now open for ApacheCon NA 2011 To: user <marshallchristopher@example.com> Content-Type: text/plain; charset=ISO-8859-1 If you wanted to go to ApacheCon and weren't sure how to fund it, please consider applying to the Travel Assistance Committee (TAC). Here's some more detail ... ----------- The Apache Software Foundation (ASF)'s Travel Assistance Committee (TAC) is now accepting applications for ApacheCon North America 2011, 7-11 November in Vancouver BC, Canada. The TAC is seeking individuals from the Apache community at-large --users, developers, educators, students, Committers, and Members-- who would like to attend ApacheCon, but need some financial support in order to be able to get there. There are limited places available, and all applicants will be scored on their individual merit. Financial assistance is available to cover flights/trains, accommodation and entrance fees either in part or in full, depending on circumstances. However, the support available for those attending only the BarCamp (7-8 November) is less than that for those attending the entire event (Conference + BarCamp 7-11 November). The Travel Assistance Committee aims to support all official ASF events, including cross-project activities; as such, it may be prudent for those in Asia and Europe to wait for an event geographically closer to them. More information can be found at http://www.apache.org/travel/index.html including a link to the online application and detailed instructions for submitting. Applications will close on 8 July 2011 at 22:00 BST (UTC/GMT +1). We wish good luck to all those who will apply, and thank you in advance for tweeting, blogging, and otherwise spreading the word. Regards, The Travel Assistance Committee From marshallchristopher@example.com Mon Jun 6 13:57:53 2011 Return-Path: <marshallchristopher@example.com> X-Original-To: marshallchristopher@example.com Delivered-To: marshallchristopher@example.com Received: from mail.apache.org (hermes.apache.org [83.161.120.155]) by minotaur.apache.org (Postfix) with SMTP id A51D7423C for <marshallchristopher@example.com>; Mon, 6 Jun 2011 13:57:53 +0000 (UTC) Received: (qmail 12381 invoked by uid 500); 6 Jun 2011 13:57:53 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 12343 invoked by uid 500); 6 Jun 2011 13:57:53 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <user.aries.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 12335 invoked by uid 99); 6 Jun 2011 13:57:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 13:57:53 +0000 X-ASF-Spam-Status: No, hits=4.9 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,HTML_OBFUSCATE_10_20,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marshallchristopher@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-vw0-f50.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 13:57:47 +0000 Received: by vws14 with SMTP id 14so3762720vws.23 for <marshallchristopher@example.com>; Mon, 06 Jun 2011 06:57:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=EmdADoHKgbODCZ4kXzIr9Ce8JjZT3Z2HIdecNr1YENs=; b=ctrqa/dhvSWN0p/CSj7NfyT+Fl3YjRv+aohfjsQ1UfSfP9bcErvXiwrJiXU6RmURot bMMjLOxZc5ZhYazQIbyiWHYrw70dtLUz2yz0W8tGYMN0eF4SIQdUYD6pMsAznSy0zBAO xxOalSUOKP9N57Y2O4fMCCQjeCOUDRU1HwjP4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ooSD/rNcHxzQbvF9HJ1eQ+r09OGIjJMpcColjfOgN1IglG9KDt6IgE4jkcF/u29U+W TpalLCthwqUBoSoR81GF3pXKkgAl+WsRQNc2fmmHGmDCF1Q9DJLbGFyJpYVEf9i3pcu1 v6b3l52vUBooSgH3AsL+di/iQiEp2iqiUYvag= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id s11mr703061vco.73.1307368646151; Mon, 06 Jun 2011 06:57:26 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Mon, 6 Jun 2011 06:57:26 -0700 (PDT) Date: Mon, 6 Jun 2011 15:57:26 +0200 Message-ID: <marshallchristopher@example.com> Subject: Hive + Cache From: Guillaume WEILL <marshallchristopher@example.com> To: marshallchristopher@example.com Content-Type: multipart/alternative; boundary=0016e64ec8d4be8e4804a50b7bd7 --0016e64ec8d4be8e4804a50b7bd7 Content-Type: text/plain; charset=ISO-8859-1 Hi! When I run the same query several times in Hive, the execution time decreases (1000s,800s, 400s, 300s). That it is due solely to the use of ram? Assuming that the execution time of a request increases in proportion to the size of the table being queried, should I assume that if my table increases to exceed my RAM space, my performance would be proportional to the first query execution time? (ie. Assuming my RAM has aspace of 10GB and a query on a table of 10 GB runs in 1000s 300s Then, a query on 20GB will run again in 2000s, without observing a decrease again after the request?) Thanks, -- Guillaume Ps : Sorry for my poor english. --0016e64ec8d4be8e4804a50b7bd7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <span class=3D"Apple-style-span" style=3D"border-collapse: separate; color:= rgb(0, 0, 0); font-family: &#39;Times New Roman&#39;; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; line-hei= ght: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-t= ransform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-= border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webk= it-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webki= t-text-stroke-width: 0px; font-size: medium; "><span class=3D"Apple-style-s= pan" style=3D"font-family: arial, sans-serif; font-size: 16px; "><span clas= s=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traductions">Hi!<br> <br>When</span><span class=3D"Apple-converted-space">=A0</span><span class= =3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traductions">I run</sp= an><span class=3D"Apple-converted-space">=A0</span><span class=3D"hps" titl= e=3D"Cliquer ici pour voir d&#39;autres traductions">the same</span><span c= lass=3D"Apple-converted-space">=A0</span><span class=3D"hps" title=3D"Cliqu= er ici pour voir d&#39;autres traductions">query</span><span class=3D"Apple= -converted-space">=A0</span><span class=3D"hps" title=3D"Cliquer ici pour v= oir d&#39;autres traductions">several</span><span class=3D"Apple-converted-= space">=A0</span><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39;a= utres traductions">times</span><span class=3D"Apple-converted-space">=A0</s= pan><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traduct= ions">in</span><span class=3D"Apple-converted-space">=A0</span><span class= =3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traductions">Hive</spa= n><span title=3D"Cliquer ici pour voir d&#39;autres traductions">,</span><s= pan class=3D"Apple-converted-space">=A0</span><span class=3D"hps" title=3D"= Cliquer ici pour voir d&#39;autres traductions">the execution time</span><s= pan class=3D"Apple-converted-space">=A0</span><span class=3D"hps" title=3D"= Cliquer ici pour voir d&#39;autres traductions">decreases</span><span class= =3D"Apple-converted-space">=A0</span><span class=3D"hps atn" title=3D"Cliqu= er ici pour voir d&#39;autres traductions">(</span><span title=3D"Cliquer i= ci pour voir d&#39;autres traductions">1000s</span><span title=3D"Cliquer i= ci pour voir d&#39;autres traductions">,</span><span class=3D"hps" title=3D= "Cliquer ici pour voir d&#39;autres traductions">800s</span><span title=3D"= Cliquer ici pour voir d&#39;autres traductions">,</span><span class=3D"Appl= e-converted-space">=A0</span><span class=3D"hps" title=3D"Cliquer ici pour = voir d&#39;autres traductions">400s</span><span title=3D"Cliquer ici pour v= oir d&#39;autres traductions">,</span><span class=3D"Apple-converted-space"= >=A0</span><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres = traductions">300s</span><span title=3D"Cliquer ici pour voir d&#39;autres t= raductions">)</span><span title=3D"Cliquer ici pour voir d&#39;autres tradu= ctions">.</span><span class=3D"Apple-converted-space">=A0</span><span class= =3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traductions">That</spa= n><span class=3D"Apple-converted-space">=A0</span><span class=3D"hps" title= =3D"Cliquer ici pour voir d&#39;autres traductions">it</span><span class=3D= "Apple-converted-space">=A0</span><span class=3D"hps" title=3D"Cliquer ici = pour voir d&#39;autres traductions">is</span><span class=3D"Apple-converted= -space">=A0</span><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39;= autres traductions">due solely</span><span class=3D"Apple-converted-space">= =A0</span><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres t= raductions">to</span><span class=3D"Apple-converted-space">=A0</span><span = class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traductions">the = use of</span><span class=3D"Apple-converted-space">=A0</span><span class=3D= "hps" title=3D"Cliquer ici pour voir d&#39;autres traductions">ram</span><s= pan title=3D"Cliquer ici pour voir d&#39;autres traductions">?</span><span = class=3D"Apple-converted-space"><br> </span><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres trad= uctions">Assuming</span><span class=3D"Apple-converted-space">=A0</span><sp= an class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traductions">t= hat</span><span class=3D"Apple-converted-space">=A0</span><span class=3D"hp= s" title=3D"Cliquer ici pour voir d&#39;autres traductions">the</span><span= class=3D"Apple-converted-space">=A0</span><span class=3D"hps" title=3D"Cli= quer ici pour voir d&#39;autres traductions">execution time</span><span cla= ss=3D"Apple-converted-space">=A0</span><span class=3D"hps" title=3D"Cliquer= ici pour voir d&#39;autres traductions">of a</span><span class=3D"Apple-co= nverted-space">=A0</span><span class=3D"hps" title=3D"Cliquer ici pour voir= d&#39;autres traductions">request</span><span class=3D"Apple-converted-spa= ce">=A0</span><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autr= es traductions">increases in proportion</span><span class=3D"Apple-converte= d-space">=A0</span><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39= ;autres traductions">to the</span><span class=3D"Apple-converted-space">=A0= </span><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres trad= uctions">size of</span><span class=3D"Apple-converted-space">=A0</span><spa= n class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traductions">th= e</span><span class=3D"Apple-converted-space">=A0</span><span class=3D"hps"= title=3D"Cliquer ici pour voir d&#39;autres traductions">table</span><span= class=3D"Apple-converted-space">=A0</span><span class=3D"hps" title=3D"Cli= quer ici pour voir d&#39;autres traductions">being queried</span><span titl= e=3D"Cliquer ici pour voir d&#39;autres traductions">,</span><span class=3D= "Apple-converted-space">=A0</span><span class=3D"hps" title=3D"Cliquer ici = pour voir d&#39;autres traductions">should I</span><span class=3D"hps" titl= e=3D"Cliquer ici pour voir d&#39;autres traductions"> assume that</span><sp= an class=3D"Apple-converted-space">=A0</span><span class=3D"hps" title=3D"C= liquer ici pour voir d&#39;autres traductions">if</span><span class=3D"Appl= e-converted-space">=A0</span><span class=3D"hps" title=3D"Cliquer ici pour = voir d&#39;autres traductions">my</span><span class=3D"Apple-converted-spac= e">=A0</span><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autre= s traductions">table</span><span class=3D"Apple-converted-space">=A0</span>= <span class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traductions= ">increases</span><span class=3D"Apple-converted-space">=A0</span><span cla= ss=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traductions">to</spa= n><span class=3D"Apple-converted-space">=A0</span><span class=3D"hps" title= =3D"Cliquer ici pour voir d&#39;autres traductions">exceed</span><span clas= s=3D"Apple-converted-space">=A0</span><span class=3D"hps" title=3D"Cliquer = ici pour voir d&#39;autres traductions">my</span><span class=3D"Apple-conve= rted-space">=A0</span><span class=3D"hps" title=3D"Cliquer ici pour voir d&= #39;autres traductions">RAM space</span><span title=3D"Cliquer ici pour voi= r d&#39;autres traductions">,</span><span class=3D"Apple-converted-space">= =A0</span><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres t= raductions">my</span><span class=3D"Apple-converted-space">=A0</span><span = class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traductions">perf= ormance</span><span class=3D"Apple-converted-space">=A0</span><span class= =3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traductions">would be<= /span><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres tradu= ctions"> proportional</span><span class=3D"Apple-converted-space">=A0</span= ><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traduction= s">to</span><span class=3D"Apple-converted-space">=A0</span><span class=3D"= hps" title=3D"Cliquer ici pour voir d&#39;autres traductions">the first que= ry execution time</span><span class=3D"hps" title=3D"Cliquer ici pour voir = d&#39;autres traductions">?</span><span class=3D"Apple-converted-space">=A0= </span><span class=3D"hps atn" title=3D"Cliquer ici pour voir d&#39;autres = traductions">(</span><span title=3D"Cliquer ici pour voir d&#39;autres trad= uctions" class=3D"">ie.</span><span class=3D"Apple-converted-space">=A0</sp= an><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traducti= ons">Assuming</span><span class=3D"Apple-converted-space">=A0</span><span c= lass=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traductions">my</s= pan><span class=3D"Apple-converted-space">=A0</span><span class=3D"hps" tit= le=3D"Cliquer ici pour voir d&#39;autres traductions">RAM</span><span class= =3D"Apple-converted-space">=A0</span><span class=3D"hps" title=3D"Cliquer i= ci pour voir d&#39;autres traductions">has a</span><span class=3D"hps" titl= e=3D"Cliquer ici pour voir d&#39;autres traductions">space</span><span clas= s=3D"Apple-converted-space">=A0</span><span class=3D"hps" title=3D"Cliquer = ici pour voir d&#39;autres traductions">of</span><span class=3D"Apple-conve= rted-space">=A0</span><span class=3D"hps" title=3D"Cliquer ici pour voir d&= #39;autres traductions">10GB</span><span class=3D"Apple-converted-space">= =A0</span><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres t= raductions">and a</span><span class=3D"Apple-converted-space">=A0</span><sp= an class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traductions">q= uery</span><span class=3D"Apple-converted-space">=A0</span><span class=3D"h= ps" title=3D"Cliquer ici pour voir d&#39;autres traductions">on</span><span= class=3D"Apple-converted-space">=A0</span><span class=3D"hps" title=3D"Cli= quer ici pour voir d&#39;autres traductions">a</span><span class=3D"Apple-c= onverted-space">=A0</span><span class=3D"hps" title=3D"Cliquer ici pour voi= r d&#39;autres traductions">table of 10</span><span class=3D"Apple-converte= d-space">=A0</span><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39= ;autres traductions">GB</span><span class=3D"Apple-converted-space">=A0</sp= an><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traducti= ons">runs</span><span class=3D"Apple-converted-space">=A0</span><span class= =3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traductions">in</span>= <span class=3D"Apple-converted-space">=A0</span><span class=3D"hps" title= =3D"Cliquer ici pour voir d&#39;autres traductions">1000s</span><span class= =3D"Apple-converted-space">=A0</span><span class=3D"hps" title=3D"Cliquer i= ci pour voir d&#39;autres traductions">300s</span><span class=3D"Apple-conv= erted-space">=A0</span><span class=3D"hps" title=3D"Cliquer ici pour voir d= &#39;autres traductions">Then</span><span title=3D"Cliquer ici pour voir d&= #39;autres traductions" class=3D"">, a query</span><span class=3D"Apple-con= verted-space">=A0</span><span class=3D"hps" title=3D"Cliquer ici pour voir = d&#39;autres traductions">on</span><span class=3D"Apple-converted-space">= =A0</span><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres t= raductions">20</span><span class=3D"hps" title=3D"Cliquer ici pour voir d&#= 39;autres traductions">GB</span><span class=3D"Apple-converted-space">=A0</= span><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traduc= tions">will run</span><span class=3D"Apple-converted-space">=A0</span><span= class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traductions">aga= in in 2000s</span><span title=3D"Cliquer ici pour voir d&#39;autres traduct= ions">,</span><span class=3D"Apple-converted-space">=A0</span><span class= =3D"hps" title=3D"Cliquer ici pour voir d&#39;autres traductions">without</= span><span class=3D"Apple-converted-space">=A0</span><span class=3D"hps" ti= tle=3D"Cliquer ici pour voir d&#39;autres traductions">observing</span><spa= n class=3D"Apple-converted-space">=A0</span><span class=3D"hps" title=3D"Cl= iquer ici pour voir d&#39;autres traductions">a decrease</span><span class= =3D"Apple-converted-space">=A0</span><span class=3D"hps" title=3D"Cliquer i= ci pour voir d&#39;autres traductions">again</span><span class=3D"Apple-con= verted-space">=A0</span><span class=3D"hps" title=3D"Cliquer ici pour voir = d&#39;autres traductions">after</span><span class=3D"Apple-converted-space"= >=A0</span><span class=3D"hps" title=3D"Cliquer ici pour voir d&#39;autres = traductions">the request</span><span title=3D"Cliquer ici pour voir d&#39;a= utres traductions" class=3D"">?</span><span title=3D"Cliquer ici pour voir = d&#39;autres traductions">)</span></span></span><br clear=3D"all"> <br>Thanks,<br>-- <br>Guillaume<br><br>Ps : Sorry for my poor english.<br> --0016e64ec8d4be8e4804a50b7bd7-- From marshallchristopher@example.com Mon Jun 6 14:31:18 2011 Return-Path: <marshallchristopher@example.com> X-Original-To: marshallchristopher@example.com Delivered-To: marshallchristopher@example.com Received: from mail.apache.org (hermes.apache.org [83.161.120.155]) by minotaur.apache.org (Postfix) with SMTP id A27304B24 for <marshallchristopher@example.com>; Mon, 6 Jun 2011 14:31:18 +0000 (UTC) Received: (qmail 16193 invoked by uid 500); 6 Jun 2011 14:31:18 -0000 Delivered-To: marshallchristopher@example.com Received: (qmail 16139 invoked by uid 500); 6 Jun 2011 14:31:18 -0000 Mailing-List: contact marshallchristopher@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:marshallchristopher@example.com> List-Unsubscribe: <mailto:marshallchristopher@example.com> List-Post: <mailto:marshallchristopher@example.com> List-Id: <user.aries.apache.org> Reply-To: marshallchristopher@example.com Delivered-To: mailing list marshallchristopher@example.com Received: (qmail 16131 invoked by uid 99); 6 Jun 2011 14:31:18 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 14:31:18 +0000 Received: from localhost (HELO mail-bw0-f50.google.com) (83.161.120.155) (smtp-auth username mnuttall, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 14:31:18 +0000 Received: by bwz2 with SMTP id 2so4639595bwz.23 for <marshallchristopher@example.com>; Mon, 06 Jun 2011 07:31:16 -0700 (PDT) Received: by 83.161.120.155 with SMTP id i34mr2451863bkf.95.1307370676196; Mon, 06 Jun 2011 07:31:16 -0700 (PDT) MIME-Version: 1.0 Received: by 83.161.120.155 with HTTP; Mon, 6 Jun 2011 07:30:56 -0700 (PDT) In-Reply-To: <marshallchristopher@example.com> References: <marshallchristopher@example.com> From: Mark Nuttall <marshallchristopher@example.com> Date: Mon, 6 Jun 2011 15:30:56 +0100 Message-ID: <marshallchristopher@example.com> Subject: Re: Hive + Cache To: marshallchristopher@example.com Content-Type: multipart/alternative; boundary=0016e6d99adebe955904a50bf41b --0016e6d99adebe955904a50bf41b Content-Type: text/plain; charset=ISO-8859-1 Hi Guillaume, I think you've sent your query to the wrong list. This is the Apache Aries ( http://aries.apache.org/) user list. I think it more likely that you meant to send this via http://hive.apache.org/mailing_lists.html. Regards, Mark On 6 June 2011 14:57, Guillaume WEILL <marshallchristopher@example.com> wrote: > Hi! > > When I run the same query several times in Hive, the execution time > decreases (1000s,800s, 400s, 300s). That it is due solely to the use of > ram? > Assuming that the execution time of a request increases in proportion to > the size of the table being queried, should I assume that if my table > increases to exceed my RAM space, my performance would be proportional to the > first query execution time? (ie. Assuming my RAM has aspace of 10GB and a > query on a table of 10 GB runs in 1000s 300s Then, a query on 20GB will > run again in 2000s, without observing a decrease again after the request?) > > Thanks, > -- > Guillaume > > Ps : Sorry for my poor english. > --0016e6d99adebe955904a50bf41b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Guillaume,=A0<div>I think you&#39;ve sent your query to the wrong list. = This is the Apache Aries=A0(<a href=3D"http://aries.apache.org/">http://ari= es.apache.org/</a>) user list. I think it more likely that you meant to sen= d this via=A0<a href=3D"http://hive.apache.org/mailing_lists.html">http://h= ive.apache.org/mailing_lists.html</a>.=A0</div> <div><br></div><div>Regards,=A0</div><div>Mark<br><div><br><div class=3D"gm= ail_quote">On 6 June 2011 14:57, Guillaume WEILL <span dir=3D"ltr">&lt;<a h= ref=3D"mailto:marshallchristopher@example.com">marshallchristopher@example.com</a>&gt= ;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;"><span style=3D"border-collapse:separate;col= or:rgb(0, 0, 0);font-family:&#39;Times New Roman&#39;;font-style:normal;fon= t-variant:normal;font-weight:normal;letter-spacing:normal;line-height:norma= l;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:n=
{'source': 'Apache Software Foundation Public Mail Archives'}