Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helper scripts to run an ADAM Console. #231

Merged
merged 1 commit into from
Apr 29, 2014

Conversation

nealsid
Copy link

@nealsid nealsid commented Apr 25, 2014

The idea is to set up the SPARK_CLASSPATH to point to the latest ADAM
and run spark-shell with a helper file that imports common ADAM classes.

@AmplabJenkins
Copy link

All automated tests passed.
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/ADAM-prb/303/

The idea is to set up the SPARK_CLASSPATH to point to the latest ADAM
and run spark-shell with a helper file that imports common ADAM classes.
@AmplabJenkins
Copy link

All automated tests passed.
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/ADAM-prb/304/

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PROJECT_ROOT="$DIR/.."
VERSION=$(grep "<version>" "$PROJECT_ROOT/pom.xml" | head -2 | tail -1 | sed 's/ *<version>//g' | sed 's/<\/version>//g')
ADAM_JAR=$PROJECT_ROOT/adam-cli/target/adam-$VERSION.jar
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could also just do ADAM_JAR=$PROJECT_ROOT/adam-cli/target/adam-?.?.?-SNAPSHOT.jar instead of grabbing the version from the pom file.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, but I've noticed that my target subdirectory accumulates multiple versions as time goes on.

massie added a commit that referenced this pull request Apr 29, 2014
Helper scripts to run an ADAM Console.
@massie massie merged commit 9f268ed into bigdatagenomics:master Apr 29, 2014
@massie
Copy link
Member

massie commented Apr 29, 2014

Thanks, Neal!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants