You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by sureshthalamati <gi...@git.apache.org> on 2016/09/15 21:42:43 UTC

[GitHub] spark pull request #15114: [SPARK-17473][SQL] fixing docker integration test...

GitHub user sureshthalamati opened a pull request:

    https://github.com/apache/spark/pull/15114

    [SPARK-17473][SQL] fixing docker integration tests error due to different versions of jars.

    ## What changes were proposed in this pull request?
    Docker tests are using older version  of jersey jars (1.19),  which was used in older releases of spark.  In 2.0 releases Spark was upgraded to use 2.x verison of Jersey. After  upgrade to new versions, docker tests  are  failing with AbstractMethodError.  Now that spark is upgraded  to 2.x jersey version, using of  shaded docker jars  may not be required any more.  Removed the exclusions/overrides of jersey related classes from pom file, and changed the docker-client to use regular jar instead of shaded one. 
    
    ## How was this patch tested?
    
    Tested  using existing  docker-integration-tests


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sureshthalamati/spark docker_testfix-spark-17473

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/15114.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #15114
    
----
commit f159d8226ca0db7b9768c99639b1e06a7738ec6d
Author: sureshthalamati <su...@gmail.com>
Date:   2016-09-15T19:19:14Z

    fixing docker integration tests abstract method error due to mistmatch of jersey versions

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #15114: [SPARK-17473][SQL] fixing docker integration tests error...

Posted by sureshthalamati <gi...@git.apache.org>.
Github user sureshthalamati commented on the issue:

    https://github.com/apache/spark/pull/15114
  
    @JoshRosen


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #15114: [SPARK-17473][SQL] fixing docker integration tests error...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/15114
  
    **[Test build #65461 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/65461/consoleFull)** for PR 15114 at commit [`f159d82`](https://github.com/apache/spark/commit/f159d8226ca0db7b9768c99639b1e06a7738ec6d).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #15114: [SPARK-17473][SQL] fixing docker integration test...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/15114


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #15114: [SPARK-17473][SQL] fixing docker integration tests error...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/15114
  
    **[Test build #65461 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/65461/consoleFull)** for PR 15114 at commit [`f159d82`](https://github.com/apache/spark/commit/f159d8226ca0db7b9768c99639b1e06a7738ec6d).
     * This patch **fails Spark unit tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #15114: [SPARK-17473][SQL] fixing docker integration tests error...

Posted by JoshRosen <gi...@git.apache.org>.
Github user JoshRosen commented on the issue:

    https://github.com/apache/spark/pull/15114
  
    I tried running this in SBT and ran into a bunch of spurious exceptions from logging code:
    
    ```
    SLF4J: Failed toString() invocation on an object of type [com.spotify.docker.client.messages.ProgressMessage]
    Reported exception:
    java.lang.NoClassDefFoundError: com/google/common/base/MoreObjects
           	at com.spotify.docker.client.messages.ProgressMessage.toString(ProgressMessage.java:136)
           	at org.slf4j.helpers.MessageFormatter.safeObjectAppend(MessageFormatter.java:300)
           	at org.slf4j.helpers.MessageFormatter.deeplyAppendParameter(MessageFormatter.java:272)
           	at org.slf4j.helpers.MessageFormatter.arrayFormat(MessageFormatter.java:234)
           	at org.slf4j.helpers.MessageFormatter.arrayFormat(MessageFormatter.java:173)
           	at org.slf4j.helpers.MessageFormatter.format(MessageFormatter.java:151)
           	at org.slf4j.impl.Log4jLoggerAdapter.info(Log4jLoggerAdapter.java:346)
           	at com.spotify.docker.client.LoggingPullHandler.progress(LoggingPullHandler.java:45)
           	at com.spotify.docker.client.ProgressStream.tail(ProgressStream.java:74)
           	at com.spotify.docker.client.DefaultDockerClient.pull(DefaultDockerClient.java:905)
           	at com.spotify.docker.client.DefaultDockerClient.pull(DefaultDockerClient.java:879)
           	at com.spotify.docker.client.DefaultDockerClient.pull(DefaultDockerClient.java:873)
           	at org.apache.spark.sql.jdbc.DockerJDBCIntegrationSuite.beforeAll(DockerJDBCIntegrationSuite.scala:98)
           	at org.scalatest.BeforeAndAfterAll$class.beforeAll(BeforeAndAfterAll.scala:187)
           	at org.apache.spark.SparkFunSuite.beforeAll(SparkFunSuite.scala:29)
           	at org.scalatest.BeforeAndAfterAll$class.run(BeforeAndAfterAll.scala:253)
           	at org.apache.spark.SparkFunSuite.run(SparkFunSuite.scala:29)
           	at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:357)
           	at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:502)
           	at sbt.ForkMain$Run$2.call(ForkMain.java:296)
           	at sbt.ForkMain$Run$2.call(ForkMain.java:286)
           	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           	at java.lang.Thread.run(Thread.java:745)
    ```
    
    This didn't lead to test failures but made the test output a bit noisy while it was downloading images for the first time. This seems like it might be tricky to fix, though, so I'm going to merge this now to unblock developers who might rely on these tests. Thanks!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #15114: [SPARK-17473][SQL] fixing docker integration tests error...

Posted by JoshRosen <gi...@git.apache.org>.
Github user JoshRosen commented on the issue:

    https://github.com/apache/spark/pull/15114
  
    Let me give this a try locally and I'll report back whether it works for me. If so, I'll merge this.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #15114: [SPARK-17473][SQL] fixing docker integration tests error...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/15114
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/65461/
    Test FAILed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #15114: [SPARK-17473][SQL] fixing docker integration tests error...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on the issue:

    https://github.com/apache/spark/pull/15114
  
    I thought Jackson 1.x and 2.x were in different namespaces so I don't think they should be able to collide?
    
    In any event, if it works, that's great, as it reduces the complexity here, but the root cause might be slightly different.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #15114: [SPARK-17473][SQL] fixing docker integration tests error...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/15114
  
    Merged build finished. Test FAILed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #15114: [SPARK-17473][SQL] fixing docker integration tests error...

Posted by lresende <gi...@git.apache.org>.
Github user lresende commented on the issue:

    https://github.com/apache/spark/pull/15114
  
    I verified this works on native docker in linux with :
    build/mvn -Pdocker-integration-tests -Pscala-2.11 -pl :spark-docker-integration-tests_2.11 clean compile test
    
    LGTM.
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org