Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E0B1FE4DC for ; Tue, 5 Feb 2013 19:56:11 +0000 (UTC) Received: (qmail 96412 invoked by uid 500); 5 Feb 2013 19:56:11 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 96336 invoked by uid 500); 5 Feb 2013 19:56:11 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 96327 invoked by uid 99); 5 Feb 2013 19:56:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 19:56:11 +0000 Date: Tue, 5 Feb 2013 19:56:11 +0000 (UTC) From: "Sumit Mohanty (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-1260) Remove hard coded JMX port mappings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13571670#comment-13571670 ] Sumit Mohanty commented on AMBARI-1260: --------------------------------------- +1 > Remove hard coded JMX port mappings > ----------------------------------- > > Key: AMBARI-1260 > URL: https://issues.apache.org/jira/browse/AMBARI-1260 > Project: Ambari > Issue Type: Improvement > Components: controller > Affects Versions: 1.2.1 > Reporter: Siddharth Wagle > Assignee: Siddharth Wagle > Fix For: 1.3.0 > > Attachments: AMBARI-1260.patch > > > The JMXPropertyProvider contains a map of component names to ports ... > {code} > JMX_PORTS.put("NAMENODE", "50070"); > JMX_PORTS.put("DATANODE", "50075"); > JMX_PORTS.put("JOBTRACKER", "50030"); > JMX_PORTS.put("TASKTRACKER", "50060"); > JMX_PORTS.put("HBASE_MASTER", "60010"); > {code} > These ports can change in configuration. Need to create the mapping dynamically. > This is required for secure HDP cluster to work. -- 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