lwhay / hyracks

Automatically exported from code.google.com/p/hyracks
Apache License 2.0
0 stars 1 forks source link

Build failure using Java 8 #136

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The build fails with multiple errors when using Oracle Java 8 (it succeeds when 
using OpenJDK Java 7).

----------------------------------------------------------------------

Environment:

Ubuntu: 14.04 64-bit
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
Eclipse 4.3.1
Maven: 3.1.1
gogglecode/master: 07e87bd

----------------------------------------------------------------------

The command "mvn test" (issued from an Eclipse Launch Configuration) results in 
multiple errors.

For instance, there is this NPE.

Running edu.uci.ics.hyracks.storage.am.btree.BTreeLifecycleTest
java.lang.NullPointerException
    at edu.uci.ics.hyracks.control.nc.io.IOManager.syncWrite(IOManager.java:89)
    at edu.uci.ics.hyracks.storage.common.buffercache.BufferCache.write(BufferCache.java:394)
    at edu.uci.ics.hyracks.storage.common.buffercache.BufferCache.access$1000(BufferCache.java:42)
    at edu.uci.ics.hyracks.storage.common.buffercache.BufferCache$CleanerThread.cleanPage(BufferCache.java:536)
    at edu.uci.ics.hyracks.storage.common.buffercache.BufferCache$CleanerThread.run(BufferCache.java:569)
    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)

----------------------------------------------------------------------

And, there are twelve others like this:

-------------------------------------------------------------------------------
Test set: edu.uci.ics.hivesterix.test.optimizer.OptimizerTestSuite
-------------------------------------------------------------------------------
Tests run: 34, Failures: 0, Errors: 12, Skipped: 0, Time elapsed: 25.231 sec 
<<< FAILURE! - in edu.uci.ics.hivesterix.test.optimizer.OptimizerTestSuite
testOptimizer(edu.uci.ics.hivesterix.test.optimizer.OptimizerTestCase)  Time 
elapsed: 0.462 sec  <<< ERROR!
java.lang.Exception: Result for 
src/test/resources/optimizerts/queries/q17_small_quantity_order_revenue.hive 
changed:
write [%0->$$17, %0->$$19]
-- SINK_WRITE  |PARTITIONED|
  project ([$$17, $$19])
<trimmed>

----------------------------------------------------------------------

The final report...
<trimmed>
[INFO] hivesterix-translator ............................. SUCCESS [1.697s]
[INFO] hivesterix-optimizer .............................. SUCCESS [1.112s]
[INFO] hivesterix-dist ................................... FAILURE [4:57.126s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 52:32.519s
[INFO] Finished at: Tue May 27 15:15:55 EDT 2014
[INFO] Final Memory: 128M/323M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on 
project hivesterix-dist: There are test failures.
[ERROR] 

Original issue reported on code.google.com by webdaf...@gmail.com on 27 May 2014 at 7:55