Tony Reix created FLUME-2621:
--------------------------------

             Summary: Maven is lost with Flume test failure with IBM JVM
                 Key: FLUME-2621
                 URL: https://issues.apache.org/jira/browse/FLUME-2621
             Project: Flume
          Issue Type: Bug
          Components: Test
    Affects Versions: v1.5.0
         Environment: RHEL 7.1 beta on x86_64 - IBM JVM

# uname -a
Linux soe01x 3.10.0-224.el7.x86_64 #1 SMP Mon Jan 19 16:18:15 EST 2015 x86_64 
x86_64 x86_64 GNU/Linux

            Reporter: Tony Reix


Test org.apache.flume.channel.TestSpillableMemoryChannel works fine with 
OpenJDK, but not with IBM JVM.

With IBM JVM, the test never ends, but it says (in 
org.apache.flume.channel.TestSpillableMemoryChannel-output.txt): 
"org.apache.flume.ChannelFullException: The channel has reached it's capacity. 
This might be the result of a sink on the channel having too low of batch size, 
a downstream system running slower than normal, or that the channel capacity is 
just too low. [channel=spillChannel-61d16662-9887-47df-b13e-99193a6d8078]"
and file: "org.apache.flume.channel.TestSpillableMemoryChannel.txt" says:
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 192.271 sec
However, stil with IBM JVM, Maven says (ZERO test run):
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

So, there are 2 issues:
 - something wrong either with Flume test which blocks or with Maven which does 
not handle the hang of the test
 - some Flume code does not work fine with IBM JVM. I have NO idea what could 
be the root cause, though it works fine with OpenJDK.

- With OpenJDK :
Forking command line: /bin/sh -c cd 
/home/tony/FLUME/IBMSOE-flume-FromGit-20150210/flume-ng-channels/flume-spillable-memory-channel
 && /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.el7_0.x86_64/jre/bin/java 
-jar 
/home/tony/FLUME/IBMSOE-flume-FromGit-20150210/flume-ng-channels/flume-spillable-memory-channel/target/surefire/surefirebooter5707794865867668252.jar
 
/home/tony/FLUME/IBMSOE-flume-FromGit-20150210/flume-ng-channels/flume-spillable-memory-channel/target/surefire/surefire455959252081693840tmp
 
/home/tony/FLUME/IBMSOE-flume-FromGit-20150210/flume-ng-channels/flume-spillable-memory-channel/target/surefire/surefire_1057455257334314321243tmp
Running org.apache.flume.channel.TestSpillableMemoryChannel
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 192.271 sec

- With IBM JVM :
Forking command line: /bin/sh -c cd 
/home/tony/FLUME/IBMSOE-flume-FromGit-20150210/flume-ng-channels/flume-spillable-memory-channel
 && /usr/lib/jvm/ibm-java-x86_64-71/jre/bin/java -jar 
/home/tony/FLUME/IBMSOE-flume-FromGit-20150210/flume-ng-channels/flume-spillable-memory-channel/target/surefire/surefirebooter4589769951623909325.jar
 
/home/tony/FLUME/IBMSOE-flume-FromGit-20150210/flume-ng-channels/flume-spillable-memory-channel/target/surefire/surefire5083149365720360524tmp
 
/home/tony/FLUME/IBMSOE-flume-FromGit-20150210/flume-ng-channels/flume-spillable-memory-channel/target/surefire/surefire_1058311834274967712787tmp
Running org.apache.flume.channel.TestSpillableMemoryChannel
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

OpenJDK version:
# java -version
java version "1.7.0_75"
OpenJDK Runtime Environment (rhel-2.5.4.2.el7_0-x86_64 u75-b13)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)

IBM JVM version:
# java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build pxa6470_27sr2-20141026_01(SR2))
IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 Compressed References 
20141017_217728 (JIT enabled, AOT enabled)
J9VM - R27_Java727_SR2_20141017_1632_B217728
JIT  - tr.r13.java_20141003_74587.01
GC   - R27_Java727_SR2_20141017_1632_B217728_CMPRSS
J9CL - 20141017_217728)
JCL - 20141004_01 based on Oracle 7u71-b13





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to