Hi Chathuri,

Thanks for catching it, I realized I am referring to a different package 
airavata-client-samples. The Java client sdk you point is a legacy one and we 
should deprecate it.

Let me respin the release then with updated java samples which work with 
experiment creation and launch. 

Suresh

On Aug 5, 2014, at 2:12 PM, Chathuri Wimalasena <[email protected]> wrote:

> Hi Suresh,
> 
> When I extract the java client, I do not see any sample to register 
> application. Here is what I see when I extract. 
> 
> ├── INSTALL
> ├── LICENSE
> ├── NOTICE
> ├── README
> ├── conf
> │   ├── airavata-client.properties
> │   └── log4j.properties
> ├── lib
> └── samples
>     └── experiment
>         ├── README
>         ├── build.xml
>         └── src
>             └── main
>                 └── java
>                     └── org
>                         └── apache
>                             └── airavata
>                                 └── api
>                                     └── samples
>                                         └── ExperimentSample.java
> 
> 
> On Tue, Aug 5, 2014 at 2:07 PM, Suresh Marru <[email protected]> wrote:
> Hi Chathuri,
> 
> The way I tested, I used the java client SDK for registering applications, 
> then I used the API calls from a local instance of the PHP gateway to test 
> the experiment creation and launch. I tried some basic tests with PHP command 
> line samples but nothing elaborate there as well.
> 
> If you think this is blocking, we could re-spin the release with modified 
> java client samples.
> 
> Suresh
> 
> On Aug 5, 2014, at 2:03 PM, Chathuri Wimalasena <[email protected]> wrote:
> 
> > Hi Suresh,
> >
> > Which class should I run ? Is it ExperimentSample.java. By looking at that 
> > class, seems it is not updated with new app-catalog changes. I can see we 
> > put application name instead of the application id and also host name 
> > instead of host id.
> >
> >  Experiment simpleExperiment =
> >                 ExperimentModelUtil.createSimpleExperiment(projectId, user, 
> > "echoExperiment", "SimpleEcho0", "SimpleEcho0", exInputs);
> >
> > scheduling.setResourceHostId("localhost");
> >
> >
> > On Tue, Aug 5, 2014 at 1:53 PM, Suresh Marru <[email protected]> wrote:
> > Chathuri,
> >
> > I haven’t tested through ant. I directly loaded them in my IDE and ran the 
> > main class. PHP clients are the only ones I tested stand alone command 
> > line. Rest all, I tested programatically.
> >
> > Please create JIRA’s to update the INSTALL’s we need to do that by next 
> > release.
> >
> > Suresh
> >
> > On Aug 5, 2014, at 1:48 PM, Chathuri Wimalasena <[email protected]> 
> > wrote:
> >
> > > I'm facing below issue with apache-airavata-client-java-sdk-0.13-bin.zip 
> > > . I unzipped the package and try to run samples/experiment using ant. I'm 
> > > getting following error.
> > >
> > > Buildfile: 
> > > /Users/chathuri/dev/airavata/releases/0.13/RC1/apache-airavata-client-0.13/samples/experiment/build.xml
> > >
> > > init:
> > >     [mkdir] Created dir: 
> > > /Users/chathuri/dev/airavata/releases/0.13/RC1/apache-airavata-client-0.13/samples/experiment/target/classes
> > >
> > > compile:
> > >     [javac] 
> > > /Users/chathuri/dev/airavata/releases/0.13/RC1/apache-airavata-client-0.13/samples/experiment/build.xml:47:
> > >  warning: 'includeantruntime' was not set, defaulting to 
> > > build.sysclasspath=last; set to false for repeatable builds
> > >     [javac] Compiling 1 source file to 
> > > /Users/chathuri/dev/airavata/releases/0.13/RC1/apache-airavata-client-0.13/samples/experiment/target/classes
> > >     [javac] warning: Supported source version 'RELEASE_6' from annotation 
> > > processor 'org.apache.openjpa.persistence.meta.AnnotationProcessor6' less 
> > > than -source '1.7'
> > >     [javac] 
> > > /Users/chathuri/dev/airavata/releases/0.13/RC1/apache-airavata-client-0.13/samples/experiment/src/main/java/org/apache/airavata/api/samples/ExperimentSample.java:67:
> > >  error: cannot find symbol
> > >     [javac]   DocumentCreatorNew documentCreatorNew = new 
> > > DocumentCreatorNew(AppCatalogFactory.getAppCatalog());
> > >     [javac]                                                               
> > >    ^
> > >     [javac]   symbol:   variable AppCatalogFactory
> > >     [javac]   location: class ExperimentSample
> > >     [javac] 1 error
> > >     [javac] 1 warning
> > >
> > > BUILD FAILED
> > > /Users/chathuri/dev/airavata/releases/0.13/RC1/apache-airavata-client-0.13/samples/experiment/build.xml:47:
> > >  Compile failed; see the compiler error output for details.
> > >
> > >
> > > I'm not sure whether this is the correct way to run the sample, since all 
> > > the instructions in README and INSTALL were outdated.
> > >
> > > Thanks..
> > > Chathuri
> > >
> > >
> > > On Tue, Aug 5, 2014 at 1:30 PM, Nipun Udara <[email protected]> wrote:
> > > +1 for the release
> > >
> > >
> > > On Tue, Aug 5, 2014 at 8:57 PM, Supun Nakandala 
> > > <[email protected]> wrote:
> > > +1 for the release
> > >
> > >
> > > On Tue, Aug 5, 2014 at 8:14 PM, Nadeem Anjum <[email protected]> 
> > > wrote:
> > > +1 for the release
> > >
> > >
> > > On Tue, Aug 5, 2014 at 5:05 PM, Suresh Marru <[email protected]> wrote:
> > > VOTE on the release please?
> > >
> > > This plea is to every one, PMC, Committers, GSOC Students and rest of the 
> > > community.
> > >
> > > Suresh
> > > On Aug 4, 2014, at 1:45 PM, Suresh Marru <[email protected]> wrote:
> > >
> > > > Here is my testing scenario for the release:
> > > >
> > > > * Downloaded the server zip, started the local instance (start 
> > > > zookeeper first).
> > > > * Downloaded the PHP library, change the AIRAVATA_SERVER in  
> > > > airavata-client-properties.ini to local host.
> > > > * Downloaded the Java SDK and changed the THRIFT_SERVER_HOST in 
> > > > RegisterSampleApplications to point to local host. Ran the main class 
> > > > to register all applications
> > > > * Used the PHP library to test against all applications.
> > > > * Ran a local instance of PHP reference gateway (not part of release) 
> > > > against the server and was able to test trestles and stampede job 
> > > > submissions. Did not test the SSH submissions (BigRed submissions as I 
> > > > did not configure the credential store).
> > > >
> > > > Not finding any blockers, I will vote on this release.
> > > >
> > > > Suresh
> > > >
> > > > On Aug 1, 2014, at 11:22 PM, Suresh Marru <[email protected]> wrote:
> > > >
> > > >> Discussion thread for vote on Apache Airavata 0.13-RC1 release 
> > > >> candidate.
> > > >>
> > > >> If you have any questions or feedback or to post results of validating 
> > > >> the release, please reply to this thread. Once you verify the release, 
> > > >> please post your vote to the VOTE thread.
> > > >>
> > > >> Note: This release continues to be developer oriented release. Users 
> > > >> are highly encouraged to try using this release and provide feedback. 
> > > >> But this release is a milestone towards a stable Airavata 1.0
> > > >>
> > > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Thank you
> > > Supun Nakandala
> > > Dept. Computer Science and Engineering
> > > University of Moratuwa
> > >
> > >
> > >
> > > --
> > > Nipun Udara
> > >
> > > Undergraduate
> > > Department of Computer Science & Engineering
> > > University of Moratuwa
> > > Sri Lanka
> > >
> > >
> >
> >
> 
> 

Reply via email to