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

[SPARK-13578] [core] Modify launch scripts to not use assemblies. #11591

Closed
wants to merge 3 commits into from

Conversation

vanzin
Copy link
Contributor

@vanzin vanzin commented Mar 8, 2016

Instead of looking for a specially-named assembly, the scripts now will
blindly add all jars under the libs directory to the classpath. This
libs directory is still currently the old assembly dir, so things should
keep working the same way as before until we make more packaging changes.

The only lost feature is the detection of multiple assemblies; I consider
that a minor nicety that only really affects few developers, so it's probably
ok.

Tested locally by running spark-shell; also did some minor Win32 testing
(just made sure spark-shell started).

Instead of looking for a specially-named assembly, the scripts now will
blindly add all jars under the libs directory to the classpath. This
libs directory is still currently the old assembly dir, so things should
keep working the same way as before until we make more packaging changes.

The only lost feature is the detection of multiple assemblies; I consider
that a minor nicety that only really affects few developers, so it's probably
ok.

Tested locally by running spark-shell; also did some minor Win32 testing
(just made sure spark-shell started).
@SparkQA
Copy link

SparkQA commented Mar 8, 2016

Test build #52700 has finished for PR 11591 at commit 79e1bf5.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@JoshRosen
Copy link
Contributor

Ugh, looks like you're running into the similar issues that I saw with MiMa, so maybe my assembly-free MiMa patch will have to go in first?

@vanzin
Copy link
Contributor Author

vanzin commented Mar 9, 2016

if you have a fix for it, great. I'm trying to reproduce this locally but so far no luck.

@vanzin
Copy link
Contributor Author

vanzin commented Mar 9, 2016

yeah, I can't seem to reproduce this locally, even running the same commands as the build. @JoshRosen did you figure this out? Do you know what's the root cause?

@srowen
Copy link
Member

srowen commented Mar 10, 2016

Seems OK to me, fWIW

@JoshRosen
Copy link
Contributor

Jenkins, retest this please

@JoshRosen
Copy link
Contributor

The MiMa tests are currently disabled due to the DataFrame -> DataSet[Row] migration, so this should no longer be blocked on that for now. #11178 has decoupled dev/mima from spark-class so there should no longer be any potential for conflicts between these two patches.

@SparkQA
Copy link

SparkQA commented Mar 11, 2016

Test build #52895 has finished for PR 11591 at commit 79e1bf5.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@JoshRosen
Copy link
Contributor

Jenkins, retest this please

(the previous run failed due to known flaky test)

@JoshRosen
Copy link
Contributor

Jenkins, retest this please.

@SparkQA
Copy link

SparkQA commented Mar 11, 2016

Test build #52943 has finished for PR 11591 at commit 79e1bf5.

  • This patch fails PySpark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Mar 12, 2016

Test build #52970 has finished for PR 11591 at commit cc28749.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@JoshRosen
Copy link
Contributor

Jenkins, retest this please.

@SparkQA
Copy link

SparkQA commented Mar 14, 2016

Test build #53039 has finished for PR 11591 at commit cc28749.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@JoshRosen
Copy link
Contributor

This seems fine to me, so I'm going to merge it into master.

@asfgit asfgit closed this in 45f8053 Mar 14, 2016
@vanzin vanzin deleted the SPARK-13578 branch March 14, 2016 21:29
jeanlyn pushed a commit to jeanlyn/spark that referenced this pull request Mar 17, 2016
Instead of looking for a specially-named assembly, the scripts now will
blindly add all jars under the libs directory to the classpath. This
libs directory is still currently the old assembly dir, so things should
keep working the same way as before until we make more packaging changes.

The only lost feature is the detection of multiple assemblies; I consider
that a minor nicety that only really affects few developers, so it's probably
ok.

Tested locally by running spark-shell; also did some minor Win32 testing
(just made sure spark-shell started).

Author: Marcelo Vanzin <vanzin@cloudera.com>

Closes apache#11591 from vanzin/SPARK-13578.
roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
Instead of looking for a specially-named assembly, the scripts now will
blindly add all jars under the libs directory to the classpath. This
libs directory is still currently the old assembly dir, so things should
keep working the same way as before until we make more packaging changes.

The only lost feature is the detection of multiple assemblies; I consider
that a minor nicety that only really affects few developers, so it's probably
ok.

Tested locally by running spark-shell; also did some minor Win32 testing
(just made sure spark-shell started).

Author: Marcelo Vanzin <vanzin@cloudera.com>

Closes apache#11591 from vanzin/SPARK-13578.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants