spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-1575) failing tests with master branch
Date Thu, 24 Apr 2014 10:59:15 GMT

    [ https://issues.apache.org/jira/browse/SPARK-1575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13979570#comment-13979570
] 

Sean Owen commented on SPARK-1575:
----------------------------------

I get the same result. Here are the key parts of the errors I see:

{code}
[error] Uncaught exception when running org.apache.spark.CacheManagerSuite: java.lang.NoClassDefFoundError:
org/objectweb/asm/Type
sbt.ForkMain$ForkError: org/objectweb/asm/Type
	at net.sf.cglib.core.TypeUtils.parseType(TypeUtils.java:180)
	at net.sf.cglib.core.KeyFactory.<clinit>(KeyFactory.java:66)
	at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
	at org.easymock.internal.ClassProxyFactory.createEnhancer(ClassProxyFactory.java:249)
	at org.easymock.internal.ClassProxyFactory.createProxy(ClassProxyFactory.java:159)
	at org.easymock.internal.MocksControl.createMock(MocksControl.java:59)
	at org.easymock.EasyMock.createMock(EasyMock.java:103)
	at org.scalatest.mock.EasyMockSugar$class.mock(EasyMockSugar.scala:265)
	at org.apache.spark.CacheManagerSuite.mock(CacheManagerSuite.scala:30)
	at org.apache.spark.CacheManagerSuite$$anonfun$1.apply$mcV$sp(CacheManagerSuite.scala:40)
...
{code}

{code}
[info] - handles YARN cluster mode *** FAILED *** (1 millisecond)
[info]   java.lang.Exception: When running with master 'yarn' either HADOOP_CONF_DIR or YARN_CONF_DIR
must be set in the environment.
[info]   at org.apache.spark.deploy.SparkSubmitArguments.checkRequiredArguments(SparkSubmitArguments.scala:124)
...
{code}

{code}
[error] Uncaught exception when running org.apache.spark.util.random.RandomSamplerSuite: java.lang.NoClassDefFoundError:
Could not initialize class org.easymock.internal.ClassProxyFactory$2
sbt.ForkMain$ForkError: Could not initialize class org.easymock.internal.ClassProxyFactory$2
	at org.easymock.internal.ClassProxyFactory.createEnhancer(ClassProxyFactory.java:249)
	at org.easymock.internal.ClassProxyFactory.createProxy(ClassProxyFactory.java:159)
	at org.easymock.internal.MocksControl.createMock(MocksControl.java:59)
	at org.easymock.EasyMock.createMock(EasyMock.java:103)
	at org.scalatest.mock.EasyMockSugar$class.mock(EasyMockSugar.scala:265)
	at org.apache.spark.util.random.RandomSamplerSuite.mock(RandomSamplerSuite.scala:26)
	at org.apache.spark.util.random.RandomSamplerSuite$$anonfun$1.apply$mcV$sp(RandomSamplerSuite.scala:34)
	at org.apache.spark.util.random.RandomSamplerSuite$$anonfun$1.apply(RandomSamplerSuite.scala:33)
	at org.apache.spark.util.random.RandomSamplerSuite$$anonfun$1.apply(RandomSamplerSuite.scala:33)
...
{code}

{code}
[error] Test org.apache.spark.JavaAPISuite.wholeTextFiles failed: java.lang.AssertionError:
expected:<spark is easy to use.
[error] > but was:<null>
[error]     at org.apache.spark.JavaAPISuite.wholeTextFiles(JavaAPISuite.java:633)
[error]     ...
{code}

{code}
[info] Test run finished: 1 failed, 0 ignored, 46 total, 68.055s
[error] Error: Total 609, Failed 3, Errors 2, Passed 600, Skipped 4
[error] Failed tests:
[error] 	org.apache.spark.deploy.SparkSubmitSuite
[error] 	org.apache.spark.JavaAPISuite
[error] Error during tests:
[error] 	org.apache.spark.util.random.RandomSamplerSuite
[error] 	org.apache.spark.CacheManagerSuite
{code}

{code}
[error] (core/test:test) sbt.TestsFailedException: Tests unsuccessful
{code}

> failing tests with master branch 
> ---------------------------------
>
>                 Key: SPARK-1575
>                 URL: https://issues.apache.org/jira/browse/SPARK-1575
>             Project: Spark
>          Issue Type: Test
>            Reporter: Nishkam Ravi
>
> Built the master branch against Hadoop version 2.3.0-cdh5.0.0 with SPARK_YARN=true. sbt
tests don't go through successfully (tried multiple runs).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message