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

add spark-yarn dependency #164

Merged
merged 1 commit into from
Sep 18, 2013
Merged

add spark-yarn dependency #164

merged 1 commit into from
Sep 18, 2013

Conversation

colorant
Copy link
Contributor

Add Spark-yarn dependency when SHARK_YARN=true, which by default is false. Also fix Hadoop FileSystem Sevice Meta file's assembly rules.

…alse.

Also fix Hadoop FileSystem Sevice Meta file assembly rules.
@colorant
Copy link
Contributor Author

with this patch and mesos/spark#868, I can run bin/shark on yarn cluster with : MASTER=yarn-client SPARK_JAR=./target/scala-2.9.3/shark-assembly-0.8.0-SNAPSHOT-hadoop2.0.5-alpha.jar SPARK_YARN_APP_JAR=./target/scala-2.9.3/shark_2.9.3-0.8.0-SNAPSHOT.jar bin/shark

SPARK_YARN_APP_JAR is actually not used in this case.

will look into shark-shell and shark server later.

@rxin
Copy link
Member

rxin commented Sep 18, 2013

Jenkins, test this please.

@rxin
Copy link
Member

rxin commented Sep 18, 2013

Thanks, Raymond! This is great.

rxin added a commit that referenced this pull request Sep 18, 2013
@rxin rxin merged commit 5a5ccb0 into amplab:master Sep 18, 2013
@fxc123
Copy link

fxc123 commented Sep 22, 2013

It seems the spark-yarn jar is removed from spark project. We may need to update the build conf

@colorant
Copy link
Contributor Author

@fxc123 removed? do you set SPARK_YARN(different from ten days ago) to true when running sbt package?
I use SPARK_HADOOP_VERSION=2.0.5-alpha SPARK_YARN=true ./sbt/sbt clean package assembly publish-local on latest spark code. You can find spark yarn jar in both target and local ivy dir.

@colorant colorant deleted the yarn-assembly branch September 23, 2013 03:16
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.

3 participants