mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jihun Kang (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MESOS-2216) The "configure" phase breaks with the IBM JVM.
Date Wed, 22 Jul 2015 07:08:04 GMT

    [ https://issues.apache.org/jira/browse/MESOS-2216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14636408#comment-14636408
] 

Jihun Kang edited comment on MESOS-2216 at 7/22/15 7:07 AM:
------------------------------------------------------------

[~trex58], I finished works with 32-bit and 64-bit IBM JVM 1.7.0 and 1.7.1. This patch, 
MESOS-2216_2.patch, might work for your environment, but if not please let me know.

Followings are Java Versions that I ran unit tests on.
*IBM Java 1.7.0*
{noformat}
java version "1.7.0"
Java(TM) SE Runtime Environment (build pxa6470sr8fp10-20141219_01(SR8 FP10))
IBM J9 VM (build 2.6, JRE 1.7.0 Linux amd64-64 Compressed References 20141216_227497 (JIT
enabled, AOT enabled)
J9VM - R26_Java726_SR8_20141216_0955_B227497
JIT  - r11.b07_20141003_74578.05
GC   - R26_Java726_SR8_20141216_0955_B227497_CMPRSS
J9CL - 20141216_227497)
JCL - 20141217_01 based on Oracle jdk7u75-b12
{noformat}

*IBM Java 1.7.1 32bit*
{noformat}
java version "1.7.0"
Java(TM) SE Runtime Environment (build pxi3270_27sr3fp10-20150708_01(SR3 FP10))
IBM J9 VM (build 2.7, JRE 1.7.0 Linux x86-32 20150630_255653 (JIT enabled, AOT enabled)
J9VM - R27_Java727_SR3_20150630_2236_B255653
JIT  - tr.r13.java_20150623_94888.01
GC   - R27_Java727_SR3_20150630_2236_B255653
J9CL - 20150630_255653)
JCL - 20150628_01 based on Oracle jdk7u85-b15
{noformat}

*IBM Java 1.7.1 64bit*
{noformat}
java version "1.7.0"
Java(TM) SE Runtime Environment (build pxa6470_27sr3fp10-20150708_01(SR3 FP10))
IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 Compressed References 20150630_255653 (JIT
enabled, AOT enabled)
J9VM - R27_Java727_SR3_20150630_2236_B255653
JIT  - tr.r13.java_20150623_94888.01
GC   - R27_Java727_SR3_20150630_2236_B255653_CMPRSS
J9CL - 20150630_255653)
JCL - 20150628_01 based on Oracle jdk7u85-b15
{noformat}


was (Author: ykrips):
[~trex58], I finished works with 32-bit and 64-bit IBM JVM 1.7.0 and 1.7.1. This patch might
work for your environment, but if not please let me know.

Followings are Java Versions that I ran unit tests on.
*IBM Java 1.7.0*
{noformat}
java version "1.7.0"
Java(TM) SE Runtime Environment (build pxa6470sr8fp10-20141219_01(SR8 FP10))
IBM J9 VM (build 2.6, JRE 1.7.0 Linux amd64-64 Compressed References 20141216_227497 (JIT
enabled, AOT enabled)
J9VM - R26_Java726_SR8_20141216_0955_B227497
JIT  - r11.b07_20141003_74578.05
GC   - R26_Java726_SR8_20141216_0955_B227497_CMPRSS
J9CL - 20141216_227497)
JCL - 20141217_01 based on Oracle jdk7u75-b12
{noformat}

*IBM Java 1.7.1 32bit*
{noformat}
java version "1.7.0"
Java(TM) SE Runtime Environment (build pxi3270_27sr3fp10-20150708_01(SR3 FP10))
IBM J9 VM (build 2.7, JRE 1.7.0 Linux x86-32 20150630_255653 (JIT enabled, AOT enabled)
J9VM - R27_Java727_SR3_20150630_2236_B255653
JIT  - tr.r13.java_20150623_94888.01
GC   - R27_Java727_SR3_20150630_2236_B255653
J9CL - 20150630_255653)
JCL - 20150628_01 based on Oracle jdk7u85-b15
{noformat}

*IBM Java 1.7.1 64bit*
{noformat}
java version "1.7.0"
Java(TM) SE Runtime Environment (build pxa6470_27sr3fp10-20150708_01(SR3 FP10))
IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 Compressed References 20150630_255653 (JIT
enabled, AOT enabled)
J9VM - R27_Java727_SR3_20150630_2236_B255653
JIT  - tr.r13.java_20150623_94888.01
GC   - R27_Java727_SR3_20150630_2236_B255653_CMPRSS
J9CL - 20150630_255653)
JCL - 20150628_01 based on Oracle jdk7u85-b15
{noformat}

> The "configure" phase breaks with the IBM JVM.
> ----------------------------------------------
>
>                 Key: MESOS-2216
>                 URL: https://issues.apache.org/jira/browse/MESOS-2216
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 0.20.1, 1.0.0
>         Environment: Ubuntu / x86_64
>            Reporter: Tony Reix
>         Attachments: MESOS-2216_1.patch, MESOS-2216_2.patch, config.log, jniport.h, x86_64_traces
>
>
> ./configure does not work with IBM JVM, since it looks for a directory:
>    /usr/lib/jvm/ibm-java-x86_64-71/jre/lib/amd64/server       x86_64
>    /usr/lib/jvm/ibm-java-ppc64le-71/jre/lib/ppc64le/server    PPC64 LE
> that does not exist for the IBM JVM.
> Though this directory does exist for Oracle JVM and Open JDK:
>    /usr/lib/jvm/jdk1.7.0_71/jre/lib/amd64/server                  Oracle JVM
>    /usr/lib/jvm/java-1.7.0-openjdk-amd64/jre/lib/amd64/server     OpenJDK
> However, the files:
>   libjsig.so
>   libjvm.so   (3 versions)
> do exist for IBM JVM.
> Anyway, creating the server directory and copying the files (tried with the 3 versions
of libjvm.so) does not fix the issue:
> checking whether or not we can build with JNI... /usr/lib/jvm/ibm-java-x86_64-71/jre/lib/amd64/server/libjvm.so:
undefined reference to `dlopen'
> /usr/lib/jvm/ibm-java-x86_64-71/jre/lib/amd64/server/libjvm.so: undefined reference to
`dlclose'
> /usr/lib/jvm/ibm-java-x86_64-71/jre/lib/amd64/server/libjvm.so: undefined reference to
`dlerror'
> /usr/lib/jvm/ibm-java-x86_64-71/jre/lib/amd64/server/libjvm.so: undefined reference to
`dlsym'
> /usr/lib/jvm/ibm-java-x86_64-71/jre/lib/amd64/server/libjvm.so: undefined reference to
`dladdr'
> Something (dlopen, dlclose, dlerror, dlsym, dladdr) is missing in IBM JVM.
> So, either the configure step relies on a feature that is not in the Java standard but
only in the Oracle JVM and OpenJDK, or the IBM JVM lacks part of the Java standard.
> I'm not an expert about this. So, I'd like Mesos people to experiment with IBM JVM. Maybe
there is another solution for this step of the Mesos configure that would work with all 3
JVMs.



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

Mime
View raw message