Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2621

Maven is lost with Flume test failure with IBM JVM

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.0
    • Fix Version/s: None
    • Component/s: Test
    • Labels:
      None
    • Environment:

      RHEL 7.1 beta on x86_64 - IBM JVM

      1. 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

      Description

      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:

      1. 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:

      1. 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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              trex58 Tony Reix
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: