avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewis john mcgibbney <lewi...@apache.org>
Subject Issues with Oracle JDK 1.8
Date Tue, 24 May 2016 13:59:48 GMT
Hi user@,
Are there any known issues using Avro with Oracle JDK 1.8? Specifically, I
am using the following

lmcgibbn@LMC-032857 /usr/local(NUTCH-2089) $ java -version
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)

When I use the above JDK to compile Gora and run our test suite I get a
failure which I haven't really investigated as of yet. I have printed the
trace below. The test in question can be located at
Thanks in advance for any replies.
Lewis


-------------------------------------------------------------------------------
Test set: org.apache.gora.query.impl.TestQueryBase
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.711 sec
<<< FAILURE!
testReadWrite(org.apache.gora.query.impl.TestQueryBase)  Time elapsed:
0.309 sec  <<< ERROR!
java.io.EOFException
    at
org.apache.avro.util.ByteBufferInputStream.getBuffer(ByteBufferInputStream.java:86)
    at
org.apache.avro.util.ByteBufferInputStream.read(ByteBufferInputStream.java:48)
    at java.io.DataInputStream.readFully(DataInputStream.java:195)
    at org.apache.hadoop.io.Text.readString(Text.java:466)
    at org.apache.hadoop.io.Text.readString(Text.java:457)
    at
org.apache.gora.mapreduce.StringSerialization$1.deserialize(StringSerialization.java:55)
    at
org.apache.gora.mapreduce.StringSerialization$1.deserialize(StringSerialization.java:40)
    at org.apache.gora.util.IOUtils.deserialize(IOUtils.java:224)
    at org.apache.gora.query.impl.QueryBase.readFields(QueryBase.java:227)
    at
org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializer.deserialize(WritableSerialization.java:71)
    at
org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializer.deserialize(WritableSerialization.java:42)
    at org.apache.gora.util.IOUtils.deserialize(IOUtils.java:224)
    at
org.apache.gora.util.TestIOUtils.testSerializeDeserialize(TestIOUtils.java:122)
    at
org.apache.gora.query.impl.TestQueryBase.testReadWrite(TestQueryBase.java:50)
    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:497)
    at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
    at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
    at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
    at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
    at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
    at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
    at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
    at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
    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:497)
    at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
    at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
    at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
    at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
    at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)

Mime
View raw message