hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andronidis Anastasios <andronat_...@hotmail.com>
Subject Re: source build is failing
Date Fri, 19 Sep 2014 13:13:54 GMT
sorry for my late response.

I am also running under java 8. Didn't try for java 7, I presume is working there?!

this is the error on surfire logs

-------------------------------------------------------------------------------
Test set: org.apache.hama.bsp.message.TestMessageIO
-------------------------------------------------------------------------------
Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.012 sec <<< FAILURE!
testSyncFlushBufferInputStream(org.apache.hama.bsp.message.TestMessageIO)  Time elapsed: 0.001
sec  <<< ERROR!
java.nio.channels.ClosedChannelException
	at sun.nio.ch.FileChannelImpl.ensureOpen(FileChannelImpl.java:109)
	at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:198)
	at org.apache.hama.bsp.message.io.SyncFlushByteBufferOutputStream.onFlush(SyncFlushByteBufferOutputStream.java:64)
	at org.apache.hama.bsp.message.io.ByteBufferOutputStream.flush(ByteBufferOutputStream.java:115)
	at org.apache.hama.bsp.message.io.SyncFlushByteBufferOutputStream.flush(SyncFlushByteBufferOutputStream.java:31)
	at java.io.DataOutputStream.flush(DataOutputStream.java:123)
	at java.io.FilterOutputStream.close(FilterOutputStream.java:158)
	at org.apache.hama.bsp.message.TestMessageIO.testSyncFlushBufferInputStream(TestMessageIO.java:476)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:24)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:127)
	at org.apache.maven.surefire.junitcore.JUnitCoreTestSet.runJunitCore(JUnitCoreTestSet.java:208)
	at org.apache.maven.surefire.junitcore.JUnitCoreTestSet.execute(JUnitCoreTestSet.java:95)
	at org.apache.maven.surefire.junitcore.JUnitCoreTestSet.execute(JUnitCoreTestSet.java:82)
	at org.apache.maven.surefire.junitcore.JUnitCoreDirectoryTestSuite.execute(JUnitCoreDirectoryTestSuite.java:84)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:104)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1017)


Cheers,
Anastasis

On 19 Σεπ 2014, at 9:11 π.μ., Tommaso Teofili <tommaso.teofili@gmail.com> wrote:

> not sure if this is by case but with java8 everything went fine while with
> java7 I got the following on hama-core:
> 
> Test set: org.apache.hama.bsp.TestBSPMasterGroomServer
> 
> -------------------------------------------------------------------------------
> 
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.147 sec
> <<< FAILURE!
> 
> testSubmitJob(org.apache.hama.bsp.TestBSPMasterGroomServer)  Time elapsed:
> 0.015 sec  <<< FAILURE!
> 
> junit.framework.AssertionFailedError: null
> 
> at junit.framework.Assert.fail(Assert.java:47)
> 
> at junit.framework.Assert.fail(Assert.java:53)
> 
> at
> org.apache.hama.bsp.TestBSPMasterGroomServer.testSubmitJob(TestBSPMasterGroomServer.java:104)
> 
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 
> at java.lang.reflect.Method.invoke(Method.java:601)
> 
> at junit.framework.TestCase.runTest(TestCase.java:168)
> 
> at junit.framework.TestCase.runBare(TestCase.java:134)
> 
> at junit.framework.TestResult$1.protect(TestResult.java:110)
> 
> at junit.framework.TestResult.runProtected(TestResult.java:128)
> 
> at junit.framework.TestResult.run(TestResult.java:113)
> 
> at junit.framework.TestCase.run(TestCase.java:124)
> 
> at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 
> at junit.framework.TestSuite.run(TestSuite.java:227)
> 
> at
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> 
> at org.junit.runners.Suite.runChild(Suite.java:128)
> 
> at org.junit.runners.Suite.runChild(Suite.java:24)
> 
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
> 
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
> 
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
> 
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
> 
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
> 
> at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
> 
> at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
> 
> at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
> 
> at org.junit.runner.JUnitCore.run(JUnitCore.java:127)
> 
> at
> org.apache.maven.surefire.junitcore.JUnitCoreTestSet.runJunitCore(JUnitCoreTestSet.java:208)
> 
> at
> org.apache.maven.surefire.junitcore.JUnitCoreTestSet.execute(JUnitCoreTestSet.java:95)
> 
> at
> org.apache.maven.surefire.junitcore.JUnitCoreTestSet.execute(JUnitCoreTestSet.java:82)
> 
> at
> org.apache.maven.surefire.junitcore.JUnitCoreDirectoryTestSuite.execute(JUnitCoreDirectoryTestSuite.java:84)
> 
> at org.apache.maven.surefire.Surefire.run(Surefire.java:104)
> 
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 
> at java.lang.reflect.Method.invoke(Method.java:601)
> 
> at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> 
> at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1017)
> 
> 2014-09-18 23:50 GMT+02:00 Edward J. Yoon <edwardyoon@apache.org>:
> 
>> Have you looked at error logs in target/surefire-reports dir?
>> 
>> On Fri, Sep 19, 2014 at 1:54 AM, Andronidis Anastasios
>> <andronat_asf@hotmail.com> wrote:
>>> Hello,
>>> 
>>> I am trying to build the source code and this test is failing:
>> org.apache.hama.bsp.message.TestMessageIO anyone knows why?
>>> 
>>> Cheers,
>>> Anastasis
>> 
>> 
>> 
>> --
>> Best Regards, Edward J. Yoon
>> CEO at DataSayer Co., Ltd.
>> 


Mime
View raw message