Return-Path: X-Original-To: apmail-airavata-dev-archive@www.apache.org Delivered-To: apmail-airavata-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9F79C1141C for ; Wed, 23 Apr 2014 13:09:57 +0000 (UTC) Received: (qmail 50632 invoked by uid 500); 23 Apr 2014 13:09:56 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 50579 invoked by uid 500); 23 Apr 2014 13:09:55 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 50571 invoked by uid 99); 23 Apr 2014 13:09:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2014 13:09:55 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of glahiru@gmail.com designates 209.85.212.182 as permitted sender) Received: from [209.85.212.182] (HELO mail-wi0-f182.google.com) (209.85.212.182) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2014 13:09:51 +0000 Received: by mail-wi0-f182.google.com with SMTP id d1so1111140wiv.3 for ; Wed, 23 Apr 2014 06:09:30 -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=9QaRttMLEzj3c6ghtHVFJAdYLwI4I8Avlh71ta2/ki8=; b=bKQAkKi6iOPY+bHnBtiCfKjLecxPGbI/vy/SqRB3Clz8G/3OQBpC3tmP2HbLS6DyZf FToWixwaHcCrt0o4oH4HqnQ36xgDq4EQWzFe9etQfvEmhC8B+mxMjXc1WtVMUPJU/IA0 jt+dwXPR0LUexn5oZigSPo72nKtmJqyNYpoC88A/2vAHhgJFdPISB30DS6hwQMqkpur0 Iu5IdzVlu88t5RvvJR6e0WvB5emSpy2Gf+cx/PC0IS6QTx+Wn9uoFDYyLQsEVq4eVpmE //QJbH/JOfho+GWinSNZ+UU2b6lZUlrCNaXBcVdKz5WHZY8q5RO1FquWOCg5k1pCW2MY e1qw== MIME-Version: 1.0 X-Received: by 10.180.84.129 with SMTP id z1mr1806129wiy.8.1398258570562; Wed, 23 Apr 2014 06:09:30 -0700 (PDT) Received: by 10.216.191.136 with HTTP; Wed, 23 Apr 2014 06:09:30 -0700 (PDT) In-Reply-To: References: Date: Wed, 23 Apr 2014 09:09:30 -0400 Message-ID: Subject: Re: Update on BES Provider implementation From: Lahiru Gunathilake To: dev Content-Type: multipart/alternative; boundary=f46d043bdec06713a504f7b571a9 X-Virus-Checked: Checked by ClamAV on apache.org --f46d043bdec06713a504f7b571a9 Content-Type: text/plain; charset=UTF-8 Hi Shahbaz, Can you please send the full server logs, not just the exception. I want to know whether you can any status at all? Thanks Lahiru On Wed, Apr 23, 2014 at 9:07 AM, Lahiru Gunathilake wrote: > Hi Shahbaz, > > Are you seeing any logs in the server ? > > Regards > Lahiru > > > On Wed, Apr 23, 2014 at 9:00 AM, Shahbaz Memon wrote: > >> Hi all, >> >> I am facing one issue while testing the bes's pull monitor >> implementation. >> >> Before stating my issue, let me write details on the current >> implementation state, >> >> For the bes extension I have forked the github repository under the >> following url, >> >> https://github.com/msmemon/airavata >> >> In the forked sources most of the classes are not touched except a >> couple of modifications and additions. I have also modified project poms >> with multiple dependency exclusions to avoid class loading horrors. >> >> There is a partially tested implementation available with input / >> output handlers, provider,and monitor classes. >> >> For the monitoring purposes (as it is the place where I am facing an >> issue), I have written a pull monitor that is very similar to the QStat >> one, the only exception is the connection object which contains a different >> credential and proxy client instance that is suitable for BES supported >> endpoints. >> >> Now my issue is, >> >> during the job submission process, input handler and provider is >> properly invoked, and after that, BESPullJobMonitor [1] is throwing a NPE, >> thus my workflow is not reaching the final phase of output handler >> invocation and completion. >> >> java.lang.NullPointerException >> at >> org.apache.airavata.job.monitor.impl.pull.bes.BESPullJobMonitor.startPulling(BESPullJobMonitor.java:173) >> at >> org.apache.airavata.job.monitor.impl.pull.bes.BESPullJobMonitor.run(BESPullJobMonitor.java:60) >> at java.lang.Thread.run(Thread.java:744) >> >> May be I am not rightly following the NEW monitoring extensions. Any >> feedback is more than welcome. >> >> [1] >> https://github.com/msmemon/airavata/blob/master/tools/job-monitor/src/main/java/org/apache/airavata/job/monitor/impl/pull/bes/BESPullJobMonitor.java >> >> Thanks in advance, >> >> Shahbaz >> >> >> >> >> ------------------------------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------------------------ >> Forschungszentrum Juelich GmbH >> 52425 Juelich >> Sitz der Gesellschaft: Juelich >> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 >> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher >> Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), >> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, >> Prof. Dr. Sebastian M. Schmidt >> >> ------------------------------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------------------------ >> >> > > > -- > System Analyst Programmer > PTI Lab > Indiana University > -- System Analyst Programmer PTI Lab Indiana University --f46d043bdec06713a504f7b571a9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Shahbaz,

Can you please send the ful= l server logs, not just the exception. I want to know whether you can any s= tatus at all?

Thanks
Lahiru


On Wed, Apr 2= 3, 2014 at 9:07 AM, Lahiru Gunathilake <glahiru@gmail.com> w= rote:
Hi Shahbaz,

<= div>Are you seeing any logs in the server ?

Regard= s
Lahiru

On Wed, Apr 23, 2014 at 9:00 AM, Shahbaz M= emon <m.memon@fz-juelich.de> wrote:
Hi all,=C2=A0

I am facing one issue while testing the bes's pull monitor impleme= ntation.=C2=A0

Before stating my issue, let me write details on the current implement= ation state,=C2=A0

For the bes extension I have forked the github repository under the fo= llowing url,=C2=A0


In the forked sources most of the classes are not touched except a cou= ple of modifications and additions. I have also modified project poms with = multiple dependency exclusions to avoid class loading horrors.=C2=A0

There is a partially tested implementation available with input / outp= ut handlers, provider,and monitor classes.=C2=A0

For the monitoring purposes (as it is the place where I am facing an i= ssue), I have written a pull monitor that is very similar to the QStat one,= the only exception is the connection object which contains a different cre= dential and proxy client instance that is suitable for BES supported endpoints.=C2=A0

Now my issue is,=C2=A0

during the job submission process, input handler and provider is prope= rly invoked, and after that, BESPullJobMonitor [1] is throwing a NPE, thus = my workflow is not reaching the final phase of output handler invocation an= d completion.=C2=A0

java.lang.NullPointerException
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.airavata.job.monitor.impl.pu= ll.bes.BESPullJobMonitor.startPulling(BESPullJobMonitor.java:173)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.airavata.job.monitor.impl.pu= ll.bes.BESPullJobMonitor.run(BESPullJobMonitor.java:60)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at java.lang.Thread.run(Thread.java:744)

May be I am not rightly following the NEW monitoring extensions. Any f= eedback is more than welcome.


Thanks in advance,

Shahbaz



---------------------------------------------------------------------------= ---------------------
---------------------------------------------------------------------------= ---------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
---------------------------------------------------------------------------= ---------------------
---------------------------------------------------------------------------= ---------------------




--
System Analyst ProgrammerPTI Lab



--
System Analy= st Programmer
PTI Lab
Indiana University
--f46d043bdec06713a504f7b571a9--