You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Paulo Ricardo Paz Vital (JIRA)" <ji...@apache.org> on 2012/10/30 16:24:11 UTC

[jira] [Created] (ZOOKEEPER-1571) Allow QuorumUtil.java build with IBM Java

Paulo Ricardo Paz Vital created ZOOKEEPER-1571:
--------------------------------------------------

             Summary: Allow QuorumUtil.java build with IBM Java
                 Key: ZOOKEEPER-1571
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1571
             Project: ZooKeeper
          Issue Type: Improvement
          Components: tests
    Affects Versions: 3.4.4
         Environment: Linux (x86_64), RHEL 6.3, IBM Java 6 SR 11
            Reporter: Paulo Ricardo Paz Vital
             Fix For: 3.4.4


The org.apache.zookeeper.test.QuorumUtil class imports the com.sun.management.UnixOperatingSystemMXBean class, that fail to build when using IBM Java 6 SR 11.  This issue is resolved by new class OSMXBean class proposed in JIRA's 1474.

The class OSMXBean (org.apache.zookeeper.server.util.OSMXBean) is a wrapper for the implementation of com.sun.management.UnixOperatingSystemMXBean, and decides to use the SUN API or its own implementation depending on the runtime (vendor) used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (ZOOKEEPER-1571) Allow QuorumUtil.java build with IBM Java

Posted by "Paulo Ricardo Paz Vital (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paulo Ricardo Paz Vital resolved ZOOKEEPER-1571.
------------------------------------------------

    Resolution: Duplicate

Duplicate of ZOOKEEPER-1564
                
> Allow QuorumUtil.java build with IBM Java
> -----------------------------------------
>
>                 Key: ZOOKEEPER-1571
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1571
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: tests
>    Affects Versions: 3.4.4
>         Environment: Linux (x86_64), RHEL 6.3, IBM Java 6 SR 11
>            Reporter: Paulo Ricardo Paz Vital
>              Labels: test
>             Fix For: 3.4.4
>
>         Attachments: zookeeper-1571.patch
>
>
> The org.apache.zookeeper.test.QuorumUtil class imports the com.sun.management.UnixOperatingSystemMXBean class, that fail to build when using IBM Java 6 SR 11.  This issue is resolved by new class OSMXBean class proposed in JIRA's 1474.
> The class OSMXBean (org.apache.zookeeper.server.util.OSMXBean) is a wrapper for the implementation of com.sun.management.UnixOperatingSystemMXBean, and decides to use the SUN API or its own implementation depending on the runtime (vendor) used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (ZOOKEEPER-1571) Allow QuorumUtil.java build with IBM Java

Posted by "Paulo Ricardo Paz Vital (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paulo Ricardo Paz Vital updated ZOOKEEPER-1571:
-----------------------------------------------

    Attachment: zookeeper-1571.patch

Patch using the wrapper class OSMXBean added by fix of the issue ZOOKEEPER-1474. This patch was created upon zookeeper-3.4.4 repository.
                
> Allow QuorumUtil.java build with IBM Java
> -----------------------------------------
>
>                 Key: ZOOKEEPER-1571
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1571
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: tests
>    Affects Versions: 3.4.4
>         Environment: Linux (x86_64), RHEL 6.3, IBM Java 6 SR 11
>            Reporter: Paulo Ricardo Paz Vital
>              Labels: test
>             Fix For: 3.4.4
>
>         Attachments: zookeeper-1571.patch
>
>
> The org.apache.zookeeper.test.QuorumUtil class imports the com.sun.management.UnixOperatingSystemMXBean class, that fail to build when using IBM Java 6 SR 11.  This issue is resolved by new class OSMXBean class proposed in JIRA's 1474.
> The class OSMXBean (org.apache.zookeeper.server.util.OSMXBean) is a wrapper for the implementation of com.sun.management.UnixOperatingSystemMXBean, and decides to use the SUN API or its own implementation depending on the runtime (vendor) used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira