Re: Failing Spark Unit Tests

2018-01-23 Thread Yacine Mazari
Got it, I opened a PR. -- Sent from: http://apache-spark-developers-list.1001551.n3.nabble.com/ - To unsubscribe e-mail: dev-unsubscr...@spark.apache.org

Re: Failing Spark Unit Tests

2018-01-23 Thread Marco Gaido
d see what > the PR builder tests say. > > On Tue, Jan 23, 2018 at 4:42 AM Yacine Mazari wrote: > >> Hi All, >> >> I am currently working on SPARK-23166 >> <https://issues.apache.org/jira/browse/SPARK-23166> , but after running >> "./dev/run-tes

Re: Failing Spark Unit Tests

2018-01-23 Thread Sean Owen
hat the PR builder tests say. On Tue, Jan 23, 2018 at 4:42 AM Yacine Mazari wrote: > Hi All, > > I am currently working on SPARK-23166 > <https://issues.apache.org/jira/browse/SPARK-23166> , but after running > "./dev/run-tests", the Python unit tests (supposedly un

Failing Spark Unit Tests

2018-01-23 Thread Yacine Mazari
Hi All, I am currently working on SPARK-23166 <https://issues.apache.org/jira/browse/SPARK-23166> , but after running "./dev/run-tests", the Python unit tests (supposedly unrelated to my change) are failing for the

Re: internal unit tests failing against the latest spark master

2017-04-12 Thread Koert Kuipers
new internal release from the spark master branch. last time i did this was >> march 7. >> >> with this updated spark i am seeing some serialization errors in the unit >> tests for our own libraries. looks like a scala reflection type that is not >> serializable

Re: internal unit tests failing against the latest spark master

2017-04-12 Thread Koert Kuipers
from the spark master branch. last time i did this was > march 7. > > with this updated spark i am seeing some serialization errors in the unit > tests for our own libraries. looks like a scala reflection type that is not > serializable is getting sucked into serialization for

internal unit tests failing against the latest spark master

2017-04-12 Thread Koert Kuipers
hey all, today i tried upgrading the spark version we use internally by creating a new internal release from the spark master branch. last time i did this was march 7. with this updated spark i am seeing some serialization errors in the unit tests for our own libraries. looks like a scala

Re: Running Unit Tests in pyspark failure

2016-11-03 Thread Krishna Kalyan
I could resolve this by passing the argument below ./python/run-tests --python-executables=python2.7 Thanks, Krishna On Thu, Nov 3, 2016 at 4:16 PM, Krishna Kalyan wrote: > Hello, > I am trying to run unit tests on pyspark. > > When I try to run unit test I am faced with error

Running Unit Tests in pyspark failure

2016-11-03 Thread Krishna Kalyan
Hello, I am trying to run unit tests on pyspark. When I try to run unit test I am faced with errors. krishna@Krishna:~/Experiment/spark$ ./python/run-tests Running PySpark tests. Output is in /Users/krishna/Experiment/ spark/python/unit-tests.log Will test against the following Python executables

Machine learning unit tests guidelines

2015-07-30 Thread Ulanov, Alexander
Dear Spark developers, Are there any best practices or guidelines for machine learning unit tests in Spark? After taking a brief look at the unit tests in ML and MLlib, I have found that each algorithm is tested in a different way. There are few kinds of tests: 1)Partial check of internal

Re: Unit tests can generate spurious shutdown messages

2015-06-02 Thread Reynold Xin
Can you submit a pull request for it? Thanks. On Tue, Jun 2, 2015 at 4:25 AM, Mick Davies wrote: > If I write unit tests that indirectly initialize > org.apache.spark.util.Utils, > for example use sql types, but produce no logging, I get the following > unpleasant stack trace in my

Unit tests can generate spurious shutdown messages

2015-06-02 Thread Mick Davies
If I write unit tests that indirectly initialize org.apache.spark.util.Utils, for example use sql types, but produce no logging, I get the following unpleasant stack trace in my test output. This caused by the the Utils class adding a shutdown hook which logs the message logDebug("Shutdown

Re: Unit tests

2015-02-10 Thread Iulian Dragoș
Thank, Josh, I missed that PR. On Mon, Feb 9, 2015 at 7:45 PM, Josh Rosen wrote: > Hi Iulian, > > I think the AkakUtilsSuite failure that you observed has been fixed in > https://issues.apache.org/jira/browse/SPARK-5548 / > https://github.com/apache/spark/pull/4343 > > On February 9, 2015 at 5:4

Re: Unit tests

2015-02-09 Thread Josh Rosen
Hi Iulian, I think the AkakUtilsSuite failure that you observed has been fixed in  https://issues.apache.org/jira/browse/SPARK-5548 /  https://github.com/apache/spark/pull/4343 On February 9, 2015 at 5:47:59 AM, Iulian Dragoș (iulian.dra...@typesafe.com) wrote: Hi Patrick, Thanks for the head

Re: Unit tests

2015-02-09 Thread Iulian Dragoș
Hi Patrick, Thanks for the heads up. I was trying to set up our own infrastructure for testing Spark (essentially, running `run-tests` every night) on EC2. I stumbled upon a number of flaky tests, but none of them look similar to anything in Jira with the flaky-test tag. I wonder if there's someth

Unit tests

2015-02-08 Thread Patrick Wendell
Hey All, The tests are in a not-amazing state right now due to a few compounding factors: 1. We've merged a large volume of patches recently. 2. The load on jenkins has been relatively high, exposing races and other behavior not seen at lower load. For those not familiar, the main issue is flaky

Re: Unit tests in < 5 minutes

2014-12-06 Thread Ted Yu
bq. I may move on to trying Maven. Maven is my favorite :-) On Sat, Dec 6, 2014 at 10:54 AM, Nicholas Chammas < nicholas.cham...@gmail.com> wrote: > Ted, > > I posted some updates >

Re: Unit tests in < 5 minutes

2014-12-06 Thread Nicholas Chammas
Ted, I posted some updates on JIRA on my progress (or lack thereof) getting SBT to parallelize test suites properly. I'm currently stu

Re: Unit tests in < 5 minutes

2014-12-05 Thread Andrew Or
@Patrick and Josh actually we went even further than that. We simply disable the UI for most tests and these used to be the single largest source of port conflict.

Re: Unit tests in < 5 minutes

2014-12-04 Thread Ted Yu
Have you seen this thread http://search-hadoop.com/m/JW1q5xxSAa2 ? Test categorization in HBase is done through maven-surefire-plugin Cheers On Thu, Dec 4, 2014 at 4:05 PM, Nicholas Chammas wrote: > fwiw, when we did this work in HBase, we categorized the tests. Then some > tests can share a s

Re: Unit tests in < 5 minutes

2014-12-04 Thread Nicholas Chammas
fwiw, when we did this work in HBase, we categorized the tests. Then some tests can share a single jvm, while some others need to be isolated in their own jvm. Nevertheless surefire can still run them in parallel by starting/stopping several jvm. I think we need to do this as well. Perhaps the tes

Re: Troubleshooting JVM OOM during Spark Unit Tests

2014-11-22 Thread Nicholas Chammas
Here’s that log file <https://gist.github.com/nchammas/08d3a3a02486cf602ceb> from a different run of the unit tests that also failed. I’m not sure what to look for. If it matters any, I also changed JAVA_OPTS as follows for this run: export JAVA_OPTS="-Xms512m -Xmx1024m -XX:P

Re: Troubleshooting JVM OOM during Spark Unit Tests

2014-11-22 Thread Reynold Xin
fficient memory” errors when > trying to run Spark Units tests within a CentOS Docker container. > > I’m building Spark and running the tests as follows: > > # build > sbt/sbt -Pyarn -Phadoop-2.3 -Dhadoop.version=2.3.0 -Pkinesis-asl > -Phive -Phive-thriftserver package assembly/a

Troubleshooting JVM OOM during Spark Unit Tests

2014-11-21 Thread Nicholas Chammas
-thriftserver package assembly/assembly # Scala unit tests sbt/sbt -Pyarn -Phadoop-2.3 -Dhadoop.version=2.3.0 -Pkinesis-asl -Phive -Phive-thriftserver catalyst/test sql/test hive/test mllib/test The build completes successfully. After humming along for many minutes, the unit tests fail with this

Re: Exception while running unit tests that makes use of local-cluster mode

2014-10-23 Thread Varadharajan Mukundan
Hi All, I just figured it out that it fails whenever its run from Intellij. I think it relates to the classpath issues mentioned in https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark#ContributingtoSpark-ScalaTestIssues . -- Thanks, M. Varadharajan --

Exception while running unit tests that makes use of local-cluster mode

2014-10-22 Thread Varadharajan Mukundan
Hi All, When i try to run unit tests that makes use of local-cluster mode (Ex: "Accessing HttpBroadcast variables in a local cluster" in BroadcastSuite.scala), its failing with the below exception. I'm using java version "1.8.0_05" and scala version 2.10. I tried to lo

Re: Unit tests in < 5 minutes

2014-09-07 Thread Nicholas Chammas
On Fri, Aug 8, 2014 at 1:12 PM, Reynold Xin wrote: > Nick, > > Would you like to file a ticket to track this? > SPARK-3431 : Parallelize execution of tests > Sub-task: SPARK-3432 : Fix logging of

Re: Unit tests in < 5 minutes

2014-08-09 Thread Mridul Muralidharan
, 2014 at 9:31 PM, Nicholas Chammas wrote: > Howdy, > > Do we think it's both feasible and worthwhile to invest in getting our unit > tests to finish in under 5 minutes (or something similarly brief) when run > by Jenkins? > > Unit tests currently seem to take anywhere

Re: Unit tests in < 5 minutes

2014-08-08 Thread Patrick Wendell
g side each other. >>> >>> >>> On Fri, Aug 8, 2014 at 9:47 AM, Ted Yu wrote: >>> >>> > How about using parallel execution feature of maven-surefire-plugin >>> > (assuming all the tests were made parallel friendly) ? >>> > >

Re: Unit tests in < 5 minutes

2014-08-08 Thread Josh Rosen
pache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html >> >> > >> > Cheers >> > >> > >> > On Fri, Aug 8, 2014 at 9:14 AM, Sean Owen wrote: >> > >> > > A common approach i

Re: Unit tests in < 5 minutes

2014-08-08 Thread Patrick Wendell
ing all the tests were made parallel friendly) ? >> > >> > >> > >> http://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html >> > >> > Cheers >> > >> > >> > On Fri, Aug 8, 2014 at 9:14

Re: Unit tests in < 5 minutes

2014-08-08 Thread Matei Zaharia
gt; > > Cheers > > > > > > On Fri, Aug 8, 2014 at 9:14 AM, Sean Owen wrote: > > > > > A common approach is to separate unit tests from integration tests. > > > Maven has support for this distinction. I'm not sure it helps a lot > > >

Re: Unit tests in < 5 minutes

2014-08-08 Thread Nicolas Liochon
> Cheers > > > > > > On Fri, Aug 8, 2014 at 9:14 AM, Sean Owen wrote: > > > > > A common approach is to separate unit tests from integration tests. > > > Maven has support for this distinction. I'm not sure it helps a lot > > > though, si

Re: Unit tests in < 5 minutes

2014-08-08 Thread Reynold Xin
efire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html >> >> Cheers >> >> >> On Fri, Aug 8, 2014 at 9:14 AM, Sean Owen wrote: >> >> > A common approach is to separate unit tests from integration tests. >> > Maven has s

Re: Unit tests in < 5 minutes

2014-08-08 Thread Reynold Xin
ven-surefire-plugin > (assuming all the tests were made parallel friendly) ? > > > http://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html > > Cheers > > > On Fri, Aug 8, 2014 at 9:14 AM, Sean Owen wrote: > > > A co

Re: Unit tests in < 5 minutes

2014-08-08 Thread Ted Yu
; A common approach is to separate unit tests from integration tests. > Maven has support for this distinction. I'm not sure it helps a lot > though, since it only helps you to not run integration tests all the > time. But lots of Spark tests are integration-test-like and are > import

Re: Unit tests in < 5 minutes

2014-08-08 Thread Sean Owen
A common approach is to separate unit tests from integration tests. Maven has support for this distinction. I'm not sure it helps a lot though, since it only helps you to not run integration tests all the time. But lots of Spark tests are integration-test-like and are important to run to k

Unit tests in < 5 minutes

2014-08-08 Thread Nicholas Chammas
Howdy, Do we think it's both feasible and worthwhile to invest in getting our unit tests to finish in under 5 minutes (or something similarly brief) when run by Jenkins? Unit tests currently seem to take anywhere from 30 min to 2 hours. As people add more tests, I imagine this time will