wiki:GIR3.2_NetKarma

Version 17 (modified by lnevers@bbn.com, 12 years ago) (diff)

--

NetKarma Evaluation

The GENI Provenance Registry NetKarma version 2.5 was evaluated for this effort. This NetKarma version introduces the Provenance Adaptor for GUSH and the Provenance Visualization plug-in for Cytoscape. The software evaluated was downloaded from the NetKarma GENI project page in the Software downloads section:

Evaluation Time Frame: October 12, 2011 and November 01,2011.

NetKarma Findings

Various issues were found in the initial evaluation, the feedback captured in NetKarma-Feedback-20111012.txt. Send additional feedback captured in NetKarma-Feedback-20111021.txt for which received responses in NetKarma-response-20111028.txt. Updated versions were made available for the Quick Start Guide, the NetKarma Gush Adapter Manual, and the tarball for the NetKarma Adaptor (for changes in the README file).

Investigating an issue with rulefile not being correct version.

NetKarma How-to

Using the instructions in the NetKarma Version 2.5 Quick Start Guide, proceeded to download the only prerequisite tool the third-party Cytoscape visualization tool, which is available at: http://www.cytoscape.org. The download is one file a script named Cytoscape_2_8_2_unix.sh. Running the Cytoscape script which brings up an installation wizard.

Proceeded to unpack the NetKarma GUSH Adaptor Version 2.5. Found additional prerequisites for ANT, JDK and RabbitMQ server. For RabbitMQ used the instructions found the Debian APT repository page.

 $ tar xvzf karma-adaptor-2.5.tar.gz 
 $ cd Karma-Adaptor

As instructed modified the adaptor_stdenvs.cfg file to set the ADAPTOR_HOME and the JAVA_HOME variables. File looks as follows:

#
# Copyright 2007 The Trustees of Indiana University
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# -----------------------------------------------------------------
#
# Project:  Karma-adaptor
# File:  adaptor_stdenvs.cfg
# Description:  config-file for the shell-scripts
# -----------------------------------------------------------------
export ADAPTOR_HOME=/home/netkarma/rc2/Karma-Adaptor
export JAVA_HOME=/usr/local/jdk1.6.0_03
export JAVA_HOME=/usr/lib/jvm/java-6-openjdk

export CLASSPATH=$ADAPTOR_HOME/lib/commons-cli-1.1.jar:$ADAPTOR_HOME/lib/commons-collections-3.2.1.jar:$ADAPTOR_HOME/lib/netk
arma-adaptor-types.jar:$ADAPTOR_HOME/lib/opm-core-1.1.1.jar:$ADAPTOR_HOME/lib/commons-io-1.2.jar:$ADAPTOR_HOME/lib/opm-elmo-1
.1.1.jar:$ADAPTOR_HOME/lib/commons-logging-1.1.1.jar:$ADAPTOR_HOME/lib/rabbitmq-client.jar:$ADAPTOR_HOME/lib/karma-messaging.
jar:$ADAPTOR_HOME/lib/xbean.jar:$ADAPTOR_HOME/lib/karma-types.jar:$ADAPTOR_HOME/bin

Build the Karma adaptor:

$ ant karma-adaptor 
Buildfile: build.xml

clean:

compile:
    [mkdir] Created dir: /home/lnevers/netkarma/rc2/Karma-Adaptor/bin
    [javac] Compiling 15 source files to /home/lnevers/netkarma/rc2/Karma-Adaptor/bin
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
karma-adaptor:

BUILD SUCCESSFUL
Total time: 2 seconds

Once the adaptor was built tried to run the provenance collector to upload a gush log:

$ ./provenance_collector.sh gush-logs/logfile-sendaria-15555-1301929239.txt
Connecting to Server...
Creating Notifications...
Invalid rulefile, use the correct version of the rulefile!

Looking into the rulefile problem.


Email us with any questions and feedback on this page!

Attachments (3)

Download all attachments as: .zip