From issues-return-671-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Fri Aug 9 00:28:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id A5091180642 for ; Fri, 9 Aug 2019 02:28:01 +0200 (CEST) Received: (qmail 75761 invoked by uid 500); 9 Aug 2019 00:28:01 -0000 Mailing-List: contact issues-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list issues@zookeeper.apache.org Received: (qmail 75746 invoked by uid 99); 9 Aug 2019 00:28:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Aug 2019 00:28:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 56329E01E5 for ; Fri, 9 Aug 2019 00:28:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1046326662 for ; Fri, 9 Aug 2019 00:28:00 +0000 (UTC) Date: Fri, 9 Aug 2019 00:28:00 +0000 (UTC) From: "TisonKun (JIRA)" To: issues@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Commented]_(ZOOKEEPER-3497)_org.apa?= =?utf-8?Q?che.zookeeper.jmx.MBea?= =?utf-8?Q?nRegistry_=E5=8D=95?= =?utf-8?Q?=E4=BE=8B_=E6=9E=84=E9=80=A0=E5=87=BD?= =?utf-8?Q?=E6=95=B0=E6=B2=A1=E6=9C=89=E7=A7=81=E6=9C=89=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ZOOKEEPER-3497?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D= 16903437#comment-16903437 ]=20 TisonKun commented on ZOOKEEPER-3497: ------------------------------------- Yep. If you want to provide a fix to this issue, I can help you ping some o= f our committer to grant you contributor permission and you can assign the = issue to yourself and work on it. What do you think? Besides, the common language of our community is English so it would be hel= pful you translate the issue into English. Also I'm glad to do it if you ha= ve any difficulty. > org.apache.zookeeper.jmx.MBeanRegistry =E5=8D=95=E4=BE=8B =E6=9E=84=E9=80= =A0=E5=87=BD=E6=95=B0=E6=B2=A1=E6=9C=89=E7=A7=81=E6=9C=89=E5=8C=96 > --------------------------------------------------- > > Key: ZOOKEEPER-3497 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3497 > Project: ZooKeeper > Issue Type: Improvement > Components: jmx > Affects Versions: 3.6.0 > Reporter: jwhao > Priority: Minor > > org.apache.zookeeper.jmx.MBeanRegistry > =E6=AD=A4=E7=B1=BB=E4=BD=BF=E7=94=A8=E5=8D=95=E4=BE=8B=E6=A8=A1=E5=BC=8F= =E5=AE=9E=E7=8E=B0=EF=BC=8C=E9=A1=B9=E7=9B=AE=E4=B8=AD=E5=85=B6=E4=BB=96=E6= =A8=A1=E5=9D=97=E4=B9=9F=E6=B2=A1=E6=9C=89=E6=89=8B=E5=8A=A8new=E6=AD=A4=E7= =B1=BB=EF=BC=8C=E4=BD=86=E6=98=AF=E6=AD=A4=E7=B1=BB=E7=9A=84=E6=9E=84=E9=80= =A0=E5=87=BD=E6=95=B0=E6=B2=A1=E6=9C=89=E7=A7=81=E6=9C=89=E5=8C=96 > public MBeanRegistry () { > =C2=A0 =C2=A0 try { > =C2=A0 =C2=A0 =C2=A0 =C2=A0 mBeanServer =3D ManagementFactory.getPlatform= MBeanServer();=20 > =C2=A0 =C2=A0 } catch (Error e) { > =C2=A0 =C2=A0 =C2=A0 =C2=A0 // Account for running within IKVM and create= a new MBeanServer > =C2=A0 =C2=A0 =C2=A0 =C2=A0 // if the PlatformMBeanServer does not exist. > =C2=A0 =C2=A0 =C2=A0 =C2=A0 mBeanServer =3D MBeanServerFactory.createMBea= nServer(); > =C2=A0 =C2=A0 } > } -- This message was sent by Atlassian JIRA (v7.6.14#76016)