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

Projects
None yet
3 participants
@nealsid
Contributor

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

This comment has been minimized.

Show comment
Hide comment
@AmplabJenkins

AmplabJenkins Apr 25, 2014

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

AmplabJenkins commented Apr 25, 2014

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

Helper scripts to run an ADAM Console.
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

This comment has been minimized.

Show comment
Hide comment
@AmplabJenkins

AmplabJenkins Apr 25, 2014

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

AmplabJenkins commented Apr 25, 2014

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

This comment has been minimized.

@massie

massie Apr 28, 2014

Member

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

@massie

massie Apr 28, 2014

Member

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

This comment has been minimized.

@nealsid

nealsid Apr 28, 2014

Contributor

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

@nealsid

nealsid Apr 28, 2014

Contributor

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

Merge pull request #231 from hammerlab/adam-console
Helper scripts to run an ADAM Console.

@massie massie merged commit 9f268ed into bigdatagenomics:master Apr 29, 2014

1 check passed

default Merged build finished.
Details
@massie

This comment has been minimized.

Show comment
Hide comment
@massie

massie Apr 29, 2014

Member

Thanks, Neal!

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