Skip to content

Conversation

@zsxwing
Copy link
Member

@zsxwing zsxwing commented Aug 10, 2015

Removed contents already included in Spark assembly jar from spark-streaming-XXX-assembly jars.

@srowen
Copy link
Member

srowen commented Aug 10, 2015

CC @harishreedharan

@SparkQA
Copy link

SparkQA commented Aug 10, 2015

Test build #40296 has finished for PR 8069 at commit 9e06559.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class PoissonSampler[T: ClassTag](

@tdas
Copy link
Contributor

tdas commented Aug 10, 2015

Jenkins, test this please.

@SparkQA
Copy link

SparkQA commented Aug 10, 2015

Test build #40316 has finished for PR 8069 at commit 9e06559.

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

@tdas
Copy link
Contributor

tdas commented Aug 10, 2015

@zsxwing Could you update this PR with MQTT fixes as well.

Copy link
Contributor

Choose a reason for hiding this comment

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

Why this change?

Copy link
Contributor

Choose a reason for hiding this comment

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

This link says that common-lang was moved from common-lang group to org.apache.commons group.
http://mvnrepository.com/artifact/commons-lang/commons-lang

Copy link
Member Author

Choose a reason for hiding this comment

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

This is incorrect. The correct groupId for commans-lang 2 is commons-lang. However, no place used this one previously so it didn't break anything.

Copy link
Member Author

Choose a reason for hiding this comment

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

This link says that common-lang was moved from common-lang group to org.apache.commons group.
http://mvnrepository.com/artifact/commons-lang/commons-lang

Right. But it's under commons-lang3: http://mvnrepository.com/artifact/org.apache.commons/commons-lang3 since they cannot change the old artifact.

There are some libraries still using commons-lang 2.x.

@SparkQA
Copy link

SparkQA commented Aug 11, 2015

Test build #40388 has finished for PR 8069 at commit 546450a.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class MQTTUtils(object):

@zsxwing
Copy link
Member Author

zsxwing commented Aug 11, 2015

retest this please

@SparkQA
Copy link

SparkQA commented Aug 11, 2015

Test build #1441 has finished for PR 8069 at commit 546450a.

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

@SparkQA
Copy link

SparkQA commented Aug 11, 2015

Test build #40425 has finished for PR 8069 at commit 546450a.

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

@zsxwing
Copy link
Member Author

zsxwing commented Aug 11, 2015

retest this please

1 similar comment
@zsxwing
Copy link
Member Author

zsxwing commented Aug 11, 2015

retest this please

@SparkQA
Copy link

SparkQA commented Aug 11, 2015

Test build #1449 has finished for PR 8069 at commit 546450a.

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

@zsxwing
Copy link
Member Author

zsxwing commented Aug 11, 2015

retest this please

1 similar comment
@zsxwing
Copy link
Member Author

zsxwing commented Aug 11, 2015

retest this please

@SparkQA
Copy link

SparkQA commented Aug 11, 2015

Test build #40445 timed out for PR 8069 at commit 546450a after a configured wait of 175m.

@zsxwing
Copy link
Member Author

zsxwing commented Aug 11, 2015

retest this please

@SparkQA
Copy link

SparkQA commented Aug 11, 2015

Test build #40470 timed out for PR 8069 at commit 546450a after a configured wait of 175m.

@zsxwing
Copy link
Member Author

zsxwing commented Aug 12, 2015

retest this please.

@SparkQA
Copy link

SparkQA commented Aug 18, 2015

Test build #1648 has finished for PR 8069 at commit 546450a.

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

@zsxwing
Copy link
Member Author

zsxwing commented Aug 18, 2015

retest this please

@SparkQA
Copy link

SparkQA commented Aug 18, 2015

Test build #41123 has finished for PR 8069 at commit 546450a.

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

@tdas
Copy link
Contributor

tdas commented Aug 18, 2015

I am merging this to master and 1.5, thanks!

asfgit pushed a commit that referenced this pull request Aug 18, 2015
…ng-XXX-assembly jars

Removed contents already included in Spark assembly jar from spark-streaming-XXX-assembly jars.

Author: zsxwing <[email protected]>

Closes #8069 from zsxwing/SPARK-9574.

(cherry picked from commit bf1d661)
Signed-off-by: Tathagata Das <[email protected]>
@asfgit asfgit closed this in bf1d661 Aug 18, 2015
@zsxwing zsxwing deleted the SPARK-9574 branch August 18, 2015 23:44
@shivaram
Copy link
Contributor

@srowen @tdas It looks like this PR somehow changed the dependency tree and affected the documentation build that happens as a cron job on Jenkins.

The error log at https://amplab.cs.berkeley.edu/jenkins/view/Spark-Packaging/job/Spark-Master-Docs/690/consoleFull is a run that happened after this PR and https://amplab.cs.berkeley.edu/jenkins/view/Spark-Packaging/job/Spark-Master-Docs/689/consoleFull is a run from before

It looks like this PR somehow introduces a dependency on netty 3.2.2 through mqtt, curator etc.

Note: Unresolved dependencies path:�
   org.jboss.netty:netty:3.2.2.Final�
   +-org.apache.zookeeper:zookeeper:3.4.5 ((com.typesafe.sbt.pom.MavenHelper) 
+- org.apache.curator:curator-client:2.4.0�
+- org.apache.curator:curator-framework:2.4.0�
+- org.apache.curator:curator-recipes:2.4.0 ((com.typesafe.sbt.pom.MavenHelper) 
+- org.apache.spark:spark-core_2.10:1.5.0-SNAPSHOT�
+- org.apache.spark:spark-streaming_2.10:1.5.0-SNAPSHOT ((com.typesafe.sbt.pom.MavenHelper) 
+- org.apache.spark:spark-streaming-mqtt_2.10:1.5.0-SNAPSHOT 
+- org.apache.spark:spark-streaming-mqtt-assembly_2.10:1.5.0-SNAPSHOT�

Did some exclude rules change or something like that ?

cc @rxin

@tdas
Copy link
Contributor

tdas commented Aug 19, 2015

The issues is actually SBT failing to resolve the artifact in the m2 cache
even though the artifact is present. Basically the ivy2 cache of jboss
needs to blown away.

I am slowly fixing the issue on the jenkins workers. Since I am not able to
access the Jenkins workers directly (ssh access not working for me), I am
leveraging the Spark SBT master build to blow away cached jboss. And
whatever worker it is running, that worker is getting fixed. Here is what
fixes it.

rm -rf /home/jenkins/.ivy2/cache/org.jboss*
rm -rf /home/jenkins/.ivy2/cache/junit*

I have it added in the Spark-SBT-master -
https://amplab.cs.berkeley.edu/jenkins/job/Spark-Master-SBT/configure
If you can login into the workers, would you mind running these two lines
on each of them?

On Wed, Aug 19, 2015 at 12:16 AM, Shivaram Venkataraman <
[email protected]> wrote:

@srowen https://github.com/srowen @tdas https://github.com/tdas It
looks like this PR somehow changed the dependency tree and affected the
documentation build that happens as a cron job on Jenkins.

The error log at
https://amplab.cs.berkeley.edu/jenkins/view/Spark-Packaging/job/Spark-Master-Docs/690/consoleFull
is a run that happened after this PR and
https://amplab.cs.berkeley.edu/jenkins/view/Spark-Packaging/job/Spark-Master-Docs/689/consoleFull
is a run from before

It looks like this PR somehow introduces a dependency on netty 3.2.2
through mqtt, curator etc.

Note: Unresolved dependencies path:�
org.jboss.netty:netty:3.2.2.Final�
+-org.apache.zookeeper:zookeeper:3.4.5 ((com.typesafe.sbt.pom.MavenHelper)
+- org.apache.curator:curator-client:2.4.0�
+- org.apache.curator:curator-framework:2.4.0�
+- org.apache.curator:curator-recipes:2.4.0 ((com.typesafe.sbt.pom.MavenHelper)
+- org.apache.spark:spark-core_2.10:1.5.0-SNAPSHOT�
+- org.apache.spark:spark-streaming_2.10:1.5.0-SNAPSHOT ((com.typesafe.sbt.pom.MavenHelper)
+- org.apache.spark:spark-streaming-mqtt_2.10:1.5.0-SNAPSHOT
+- org.apache.spark:spark-streaming-mqtt-assembly_2.10:1.5.0-SNAPSHOT�

Did some exclude rules change or something like that ?

cc @rxin https://github.com/rxin


Reply to this email directly or view it on GitHub
#8069 (comment).

@tdas
Copy link
Contributor

tdas commented Aug 19, 2015

Workers that are already fixed are (along with a successfully compiled
build):

worker-02:
https://amplab.cs.berkeley.edu/jenkins/job/Spark-Master-SBT/3288/AMPLAB_JENKINS_BUILD_PROFILE=hadoop2.3,label=spark-test/console
worker-06:
https://amplab.cs.berkeley.edu/jenkins/job/Spark-Master-SBT/3288/AMPLAB_JENKINS_BUILD_PROFILE=hadoop1.0,label=spark-test/console
worker-08:
https://amplab.cs.berkeley.edu/jenkins/job/Spark-Master-SBT/3288/AMPLAB_JENKINS_BUILD_PROFILE=hadoop2.0,label=spark-test/console

On Wed, Aug 19, 2015 at 12:43 AM, Tathagata Das [email protected] wrote:

The issues is actually SBT failing to resolve the artifact in the m2 cache
even though the artifact is present. Basically the ivy2 cache of jboss
needs to blown away.

I am slowly fixing the issue on the jenkins workers. Since I am not able
to access the Jenkins workers directly (ssh access not working for me), I
am leveraging the Spark SBT master build to blow away cached jboss. And
whatever worker it is running, that worker is getting fixed. Here is what
fixes it.

rm -rf /home/jenkins/.ivy2/cache/org.jboss*
rm -rf /home/jenkins/.ivy2/cache/junit*

I have it added in the Spark-SBT-master -
https://amplab.cs.berkeley.edu/jenkins/job/Spark-Master-SBT/configure
If you can login into the workers, would you mind running these two lines
on each of them?

On Wed, Aug 19, 2015 at 12:16 AM, Shivaram Venkataraman <
[email protected]> wrote:

@srowen https://github.com/srowen @tdas https://github.com/tdas It
looks like this PR somehow changed the dependency tree and affected the
documentation build that happens as a cron job on Jenkins.

The error log at
https://amplab.cs.berkeley.edu/jenkins/view/Spark-Packaging/job/Spark-Master-Docs/690/consoleFull
is a run that happened after this PR and
https://amplab.cs.berkeley.edu/jenkins/view/Spark-Packaging/job/Spark-Master-Docs/689/consoleFull
is a run from before

It looks like this PR somehow introduces a dependency on netty 3.2.2
through mqtt, curator etc.

Note: Unresolved dependencies path:�
org.jboss.netty:netty:3.2.2.Final�
+-org.apache.zookeeper:zookeeper:3.4.5 ((com.typesafe.sbt.pom.MavenHelper)
+- org.apache.curator:curator-client:2.4.0�
+- org.apache.curator:curator-framework:2.4.0�
+- org.apache.curator:curator-recipes:2.4.0 ((com.typesafe.sbt.pom.MavenHelper)
+- org.apache.spark:spark-core_2.10:1.5.0-SNAPSHOT�
+- org.apache.spark:spark-streaming_2.10:1.5.0-SNAPSHOT ((com.typesafe.sbt.pom.MavenHelper)
+- org.apache.spark:spark-streaming-mqtt_2.10:1.5.0-SNAPSHOT
+- org.apache.spark:spark-streaming-mqtt-assembly_2.10:1.5.0-SNAPSHOT�

Did some exclude rules change or something like that ?

cc @rxin https://github.com/rxin


Reply to this email directly or view it on GitHub
#8069 (comment).

@shivaram
Copy link
Contributor

Yeah I have ssh access. Let me give the other ones a go

@shivaram
Copy link
Contributor

Well I have ssh access but no permission to delete these files. I think your approach will clear this out or I'll ping Shane tomorrow

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.

5 participants