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/11/01 14:29:12 UTC

[jira] [Commented] (ZOOKEEPER-1474) Cannot build Zookeeper with IBM Java: use of Sun MXBean classes

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

Paulo Ricardo Paz Vital commented on ZOOKEEPER-1474:
----------------------------------------------------

Patrick,

Regarding the points 1 and 2, I removed the comments and I'm going to upload a new version of the patch.

Regarding question 3, I tested this patch in a RHEL6.3 on x86_64 using IBM Java (6SR11) and Oracle Java (6u35) and in a RHEL6.3 on PPC64 using IBM Java (6SR11).

Regarding the tests in Windows, I haven't tested it, yet. I need set up a system before and then can try the patch using IBM Java (6SR11) and Oracle Java (6u35). However, the portion of code modified is Unix only (the problem is the import of com.sun.management.UnixOperatingSystemMXBean class), so I guess Windows tests will not be impacted with this changes - that maintains the Unix only usage.
                
> Cannot build Zookeeper with IBM Java: use of Sun MXBean classes
> ---------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1474
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1474
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.4.0, 3.4.3, 3.4.4
>            Reporter: Adalberto Medeiros
>            Assignee: Adalberto Medeiros
>              Labels: build
>         Attachments: zookeeper-1474.patch, zookeeper-1474-v2.patch, zookeeper-1474-v3.patch
>
>
> zookeeper.server.NIOServerCnxn and zookeeper.server.NettyServerCnxn imports com.sun.management.UnixOperatingSystemMXBean . This OperatingSystemMXBean class is not implemented by IBM or open java. 
> In my case, I need IBM Java so I can run zookeeper in Power ppc64 servers.

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