Uh oh!
There was an error while loading. Please reload this page.
[SPARK-5979][SPARK-6031][SPARK-6032][SPARK-6047] Refactoring for --packages -> Move to SparkSubmitDriverBootstrapper - #4754
Conversation
SparkQA
commented
Feb 25, 2015
Test build #27927 has finished for PR 4754 at commit
|
tdas
commented
Feb 25, 2015
@pwendell Please take a look at this. I think you reviewed the original PR of this feature. |
pwendell
commented
Feb 25, 2015
LGTM |
brkyvz
commented
Feb 25, 2015
@tdas added a hack to include the jars on --driver-extra-classpath. Can you try your test now? |
SparkQA
commented
Feb 25, 2015
Test build #27942 has finished for PR 4754 at commit
|
SparkQA
commented
Feb 25, 2015
Test build #27943 has finished for PR 4754 at commit
|
tdas
commented
Feb 25, 2015
I tested. Still not working. I enabled verbose logging on spark-submit and saw this So i can see that the relevant jars are being added to the classpath elements but pyspark is still unable to find org.apache.spark.streaming.kafka.KafkaUtils (from /Users/tdas/.ivy2/jars/spark-streaming-kafka_2.10.jar). Lets debug this tomorrow morning. |
tdas
commented
Feb 25, 2015
No I verified the class does exist in jar
|
SparkQA
commented
Feb 25, 2015
Test build #27963 has finished for PR 4754 at commit
|
brkyvz
commented
Feb 26, 2015
@tdas@pwendell@andrewor14 |
SparkQA
commented
Feb 26, 2015
Test build #27973 has finished for PR 4754 at commit
|
tdas
commented
Feb 26, 2015
Jenkins, test this again. |
brkyvz
commented
Feb 26, 2015
It might not be a flaky test. I might have broken some Yarn feature. I'm
|
tdas
commented
Feb 26, 2015
Ohh... okay. |
SparkQA
commented
Feb 26, 2015
Test build #622 has finished for PR 4754 at commit
|
brkyvz
commented
Feb 26, 2015
@tdas The latest commit fixed the issue, feel free to test |
SparkQA
commented
Feb 26, 2015
Test build #27989 has finished for PR 4754 at commit
|
SparkQA
commented
Feb 26, 2015
Test build #27990 has finished for PR 4754 at commit
|
SparkQA
commented
Feb 26, 2015
Test build #28007 has finished for PR 4754 at commit
|
brkyvz
commented
Feb 26, 2015
This passed locally. What the...
|
andrewor14
commented
Feb 26, 2015
retest this please |
SparkQA
commented
Feb 26, 2015
Test build #28011 has finished for PR 4754 at commit
|
This reverts commit b7a9e93.
SparkQA
commented
Feb 26, 2015
Test build #28015 has finished for PR 4754 at commit
|
SparkQA
commented
Feb 26, 2015
Test build #28019 has finished for PR 4754 at commit
|
brkyvz
commented
Feb 26, 2015
Flaky test this time... @tdas, can you have this retested please? |
srowen
commented
Feb 26, 2015
Jenkins, retest this please |
SparkQA
commented
Feb 27, 2015
Test build #28023 has finished for PR 4754 at commit
|
brkyvz
commented
Feb 27, 2015
@srowen Thank you! |
tdas
commented
Feb 27, 2015
@brkyvz I think you need to address a couple of more JIRAs in this PR. 4 aint enough ;) |
There was a problem hiding this comment.
Can we thread this through using an environment variable _PACKAGES_RESOLVED? Having this as an extra flag forces you to make args here mutable, which is sort of strange.
pwendell tdas This is the safer parts of PR #4754: - SPARK-5979: All dependencies with the groupId `org.apache.spark` passed through `--packages`, were being excluded from the dependency tree on the assumption that they would be in the assembly jar. This is not the case, therefore the exclusion rules had to be defined more explicitly. - SPARK-6032: Ivy prints a whole lot of logs while retrieving dependencies. These were printed to `System.out`. Moved the logging to `System.err`. Author: Burak Yavuz <brkyvz@gmail.com> Closes#4802 from brkyvz/simple-streaming-fix and squashes the following commits: e0f38cb [Burak Yavuz] Merge branch 'master' of github.com:apache/spark into simple-streaming-fix bad921c [Burak Yavuz] [SPARK-5979][SPARK-6032] Smaller safer fix (cherry picked from commit 6d8e5fb) Signed-off-by: Patrick Wendell <patrick@databricks.com>
pwendell tdas This is the safer parts of PR #4754: - SPARK-5979: All dependencies with the groupId `org.apache.spark` passed through `--packages`, were being excluded from the dependency tree on the assumption that they would be in the assembly jar. This is not the case, therefore the exclusion rules had to be defined more explicitly. - SPARK-6032: Ivy prints a whole lot of logs while retrieving dependencies. These were printed to `System.out`. Moved the logging to `System.err`. Author: Burak Yavuz <brkyvz@gmail.com> Closes#4802 from brkyvz/simple-streaming-fix and squashes the following commits: e0f38cb [Burak Yavuz] Merge branch 'master' of github.com:apache/spark into simple-streaming-fix bad921c [Burak Yavuz] [SPARK-5979][SPARK-6032] Smaller safer fix
pwendell
commented
Feb 28, 2015
@brkyvz let's close this issue for now and keep it in our back pocket. We can use it if we decide to put this in the 1.3 branch down the line. |
This PR is an umbrella PR for 3 JIRAs. Here're the explanations:
org.apache.sparkpassed through--packages, were being excluded from the dependency tree on the assumption that they would be in the assembly jar. This is not the case, therefore the exclusion rules had to be defined more explicitly.--packagesto SparkSubmitDriverBootstrapper solves this. However, this issue still remains for--jars.System.out. Moved the logging toSystem.err.@tdas Would you care to try this? I think it should solve your problem