Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B1145DF61 for ; Tue, 31 Jul 2012 05:02:39 +0000 (UTC) Received: (qmail 58877 invoked by uid 500); 31 Jul 2012 05:02:38 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 58673 invoked by uid 500); 31 Jul 2012 05:02:38 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 58581 invoked by uid 99); 31 Jul 2012 05:02:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2012 05:02:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id E5A7114285A for ; Tue, 31 Jul 2012 05:02:34 +0000 (UTC) Date: Tue, 31 Jul 2012 05:02:34 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <2138070251.119986.1343710954944.JavaMail.jiratomcat@issues-vm> In-Reply-To: <2098300564.77969.1342729055533.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (CASSANDRA-4452) remove RangeKeySample from attributes in jmx 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/CASSANDRA-4452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-4452: -------------------------------------- Priority: Minor (was: Major) Labels: jmx (was: ) > remove RangeKeySample from attributes in jmx > -------------------------------------------- > > Key: CASSANDRA-4452 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4452 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 1.1.2 > Reporter: Jan Prach > Assignee: Jan Prach > Priority: Minor > Labels: jmx > Fix For: 1.1.3 > > Attachments: cassandra-1.1.2-4452.txt > > > RangeKeySample in org.apache.cassandra.db:type=StorageService MBean can be really huge (over 200MB in our case). That's a problem for monitoring tools as they're not build for that. Recommended and often used mx4j may be killer in this situation. > It would be good enough to make RangeKeySample "operation" instead of "attribute" in jmx. Looking at how MBeanServer.registerMBean() works we can do one of the following: > a) add some dummy parameter to getRangeKeySample > b) name it differently - not like getter (next time somebody will rename it back) > c) implement MXBean instead of MBean (a lot of work) > Any of those work. All of them are "hacks". Any better idea? > BTW: It's blocker for some installations. Our update to 1.1.2 caused downtime, downgrade back to 1.0.x, repairs, etc. -- 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