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 0B3DB113E9 for ; Wed, 23 Apr 2014 13:00:59 +0000 (UTC) Received: (qmail 32245 invoked by uid 500); 23 Apr 2014 13:00:56 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 31987 invoked by uid 500); 23 Apr 2014 13:00:54 -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 31923 invoked by uid 99); 23 Apr 2014 13:00:52 -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:00:52 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [134.94.4.24] (HELO mailgw-k01.its.kfa-juelich.de) (134.94.4.24) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2014 13:00:47 +0000 Received: from localhost (localhost [127.0.0.1]) by mailgw-k01.its.kfa-juelich.de (Postfix) with ESMTP id DB841E017D for ; Wed, 23 Apr 2014 15:00:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fz-juelich.de; h= content-type:content-type:from:from:subject:subject:message-id :date:date:received:mime-version:received:received:received :received; s=main; t=1398258020; bh=BH4YfW/PmGWLR6Q9610FD90JVPL0 hZ+KT9yeYCzr+/M=; b=GTyrsY8S2/a9oq99OuEhs82vjHSARlUFLdsf83BA17L/ ERPJ9eYYpaiKE7RxVbrYfTA9ON9KFxs0VHTefM4M4ZjeXqrMxl2T2rlWFaB+awRU gvKhKOVLhXJ2y4lRjfTfhdSUMvR8zqTEkhPw6HUVGVvNHp3EmPWCbRAl92G1ebQ= X-Virus-Scanned: amavisd-new at fz-juelich.de Received: from mailgw-k01.its.kfa-juelich.de ([127.0.0.1]) by localhost (mailgw-k01.its.kfa-juelich.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r1rzV1Qg32ZK for ; Wed, 23 Apr 2014 15:00:20 +0200 (CEST) Received: from HUB2010-K01.ad.fz-juelich.de (hub2010-k01.its.kfa-juelich.de [134.94.4.40]) by mailgw-k01.its.kfa-juelich.de (Postfix) with ESMTPS for ; Wed, 23 Apr 2014 15:00:20 +0200 (CEST) Received: from mail-qa0-f48.google.com (209.85.216.48) by HUB2010-K01.ad.fz-juelich.de (134.94.4.40) with Microsoft SMTP Server (TLS) id 14.2.347.0; Wed, 23 Apr 2014 15:00:16 +0200 Received: by mail-qa0-f48.google.com with SMTP id dc16so797384qab.35 for ; Wed, 23 Apr 2014 06:00:14 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.224.160.206 with SMTP id o14mr58977198qax.44.1398258014616; Wed, 23 Apr 2014 06:00:14 -0700 (PDT) Received: by 10.140.102.142 with HTTP; Wed, 23 Apr 2014 06:00:14 -0700 (PDT) Date: Wed, 23 Apr 2014 15:00:14 +0200 Message-ID: Subject: Update on BES Provider implementation From: Shahbaz Memon To: Content-Type: multipart/alternative; boundary="089e0149d01a44051804f7b55001" X-Originating-IP: [209.85.216.48] X-Virus-Checked: Checked by ClamAV on apache.org --089e0149d01a44051804f7b55001 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 followi= ng url, https://github.com/msmemon/airavata In the forked sources most of the classes are not touched except a couple o= f modifications and additions. I have also modified project poms with multi= ple dependency exclusions to avoid class loading horrors. There is a partially tested implementation available with input / output ha= ndlers, 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 credenti= al 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 i= nvoked, and after that, BESPullJobMonitor [1] is throwing a NPE, thus my wo= rkflow is not reaching the final phase of output handler invocation and com= pletion. 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 feedba= ck is more than welcome. [1] https://github.com/msmemon/airavata/blob/master/tools/job-monitor/src/m= ain/java/org/apache/airavata/job/monitor/impl/pull/bes/BESPullJobMonitor.ja= va 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 ---------------------------------------------------------------------------= --------------------- ---------------------------------------------------------------------------= --------------------- --089e0149d01a44051804f7b55001 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all, 

I am facing one issue while testing the bes's pull monitor implementat= ion. 

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

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


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. 

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

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. 

Now my issue is, 

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. 

java.lang.NullPointerException
        at org.apache.airavata.job.monitor.impl.pu= ll.bes.BESPullJobMonitor.startPulling(BESPullJobMonitor.java:173)
        at org.apache.airavata.job.monitor.impl.pu= ll.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 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
---------------------------------------------------------------------------= ---------------------
---------------------------------------------------------------------------= ---------------------

--089e0149d01a44051804f7b55001--