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

Claude Falbriard commented on ZOOKEEPER-1474:
---------------------------------------------

Dear colleagues, 
The same error also happens under the IBM Java s390x platform: 
mvn assembly:assembly -DskipTests -Prelease
hbase source build fails - error missing com.sunmanagement package 
                                         class UnixOperatingSystemMXBean

 package com.sun.management does not exist
cannot find symbol
[ERROR] symbol  : class UnixOperatingSystemMXBean
[ERROR] location: class org.apache.hadoop.hbase.ResourceChecker.ResourceAnalyzer

A build from source is needed to fix the authentication run-time error
which currently loads the LinuxPrincipal (defered) class in place of the newer 
UsernamePrincipal class. This happens on Power64 and s390x machine 
architecture, for components zookeeper and hbase.  

                
> 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
>            Reporter: Adalberto Medeiros
>            Assignee: Adalberto Medeiros
>
> 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: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to