You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eric Evans (JIRA)" <ji...@apache.org> on 2009/04/10 22:41:14 UTC

[jira] Created: (CASSANDRA-75) wire up memtable mbean

wire up memtable mbean
----------------------

                 Key: CASSANDRA-75
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-75
             Project: Cassandra
          Issue Type: Improvement
    Affects Versions: trunk
            Reporter: Eric Evans
            Assignee: Eric Evans
             Fix For: trunk


It would be useful in the tuning of MemtableSizeInMB and MemtableObjectCountInMillions if the Memtable values for currentSize_ and currentObjectCount_ where exposed via JMX.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (CASSANDRA-75) wire up memtable mbean

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698585#action_12698585 ] 

Eric Evans edited comment on CASSANDRA-75 at 4/13/09 4:14 PM:
--------------------------------------------------------------

0003-jmx-resource-names-to-reflect-the-move-to-apache.patch

This is primarily a cosmetic change. If the Facebook folks have existing tools which use these names, and they can not easily be updated, then this changeset can safely be omitted.

      was (Author: urandom):
    This is primarily a cosmetic change. If the Facebook folks have existing tools which use these names, and they can not easily be updated, then this changeset can safely be omitted.
  
> wire up memtable mbean
> ----------------------
>
>                 Key: CASSANDRA-75
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-75
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: trunk
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>             Fix For: trunk
>
>         Attachments: 0001-add-instrumentation-for-memtable-attributes.patch, 0002-an-MBean-attribute-for-displaying-a-flush-counter.patch, 0003-jmx-resource-names-to-reflect-the-move-to-apache.patch
>
>
> It would be useful in the tuning of MemtableSizeInMB and MemtableObjectCountInMillions if the Memtable values for currentSize_ and currentObjectCount_ where exposed via JMX.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (CASSANDRA-75) wire up memtable mbean

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698583#action_12698583 ] 

Eric Evans edited comment on CASSANDRA-75 at 4/13/09 4:13 PM:
--------------------------------------------------------------

0001-add-instrumentation-for-memtable-attributes.patch

The current Memtable class implements an MBean interface, but it is not wired up. Most likely, this is because it would become defunct after the first flush when the memtable is switched out for a new one.

The solution is to instrument ColumnFamilyStore and expose the memtable attributes from there.

      was (Author: urandom):
    The current Memtable class implements an MBean interface, but it is not wired up. Most likely, this is because it would become defunct after the first flush when the memtable is switched out for a new one.

The solution is to instrument ColumnFamilyStore and expose the memtable attributes from there.
  
> wire up memtable mbean
> ----------------------
>
>                 Key: CASSANDRA-75
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-75
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: trunk
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>             Fix For: trunk
>
>         Attachments: 0001-add-instrumentation-for-memtable-attributes.patch, 0002-an-MBean-attribute-for-displaying-a-flush-counter.patch, 0003-jmx-resource-names-to-reflect-the-move-to-apache.patch
>
>
> It would be useful in the tuning of MemtableSizeInMB and MemtableObjectCountInMillions if the Memtable values for currentSize_ and currentObjectCount_ where exposed via JMX.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (CASSANDRA-75) wire up memtable mbean

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698584#action_12698584 ] 

Eric Evans edited comment on CASSANDRA-75 at 4/13/09 4:14 PM:
--------------------------------------------------------------

0002-an-MBean-attribute-for-displaying-a-flush-counter.patch

This changeset adds a new attribute to the ColumnFamilyStore MBean which displays the number of times the memtable has been "switched". This attribute (along with the newly added count and size attributes), should prove useful in tuning thresholds.

      was (Author: urandom):
    This changeset adds a new attribute to the ColumnFamilyStore MBean which displays the number of times the memtable has been "switched". This attribute (along with the newly added count and size attributes), should prove useful in tuning thresholds.
  
> wire up memtable mbean
> ----------------------
>
>                 Key: CASSANDRA-75
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-75
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: trunk
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>             Fix For: trunk
>
>         Attachments: 0001-add-instrumentation-for-memtable-attributes.patch, 0002-an-MBean-attribute-for-displaying-a-flush-counter.patch, 0003-jmx-resource-names-to-reflect-the-move-to-apache.patch
>
>
> It would be useful in the tuning of MemtableSizeInMB and MemtableObjectCountInMillions if the Memtable values for currentSize_ and currentObjectCount_ where exposed via JMX.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-75) wire up memtable mbean

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Evans updated CASSANDRA-75:
--------------------------------

    Attachment: 0002-an-MBean-attribute-for-displaying-a-flush-counter.patch

This changeset adds a new attribute to the ColumnFamilyStore MBean which displays the number of times the memtable has been "switched". This attribute (along with the newly added count and size attributes), should prove useful in tuning thresholds.

> wire up memtable mbean
> ----------------------
>
>                 Key: CASSANDRA-75
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-75
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: trunk
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>             Fix For: trunk
>
>         Attachments: 0001-add-instrumentation-for-memtable-attributes.patch, 0002-an-MBean-attribute-for-displaying-a-flush-counter.patch, 0003-jmx-resource-names-to-reflect-the-move-to-apache.patch
>
>
> It would be useful in the tuning of MemtableSizeInMB and MemtableObjectCountInMillions if the Memtable values for currentSize_ and currentObjectCount_ where exposed via JMX.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-75) wire up memtable mbean

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Evans updated CASSANDRA-75:
--------------------------------

    Attachment: 0003-jmx-resource-names-to-reflect-the-move-to-apache.patch

This is primarily a cosmetic change. If the Facebook folks have existing tools which use these names, and they can not easily be updated, then this changeset can safely be omitted.

> wire up memtable mbean
> ----------------------
>
>                 Key: CASSANDRA-75
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-75
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: trunk
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>             Fix For: trunk
>
>         Attachments: 0001-add-instrumentation-for-memtable-attributes.patch, 0002-an-MBean-attribute-for-displaying-a-flush-counter.patch, 0003-jmx-resource-names-to-reflect-the-move-to-apache.patch
>
>
> It would be useful in the tuning of MemtableSizeInMB and MemtableObjectCountInMillions if the Memtable values for currentSize_ and currentObjectCount_ where exposed via JMX.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-75) wire up memtable mbean

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-75:
------------------------------------

    Fix Version/s:     (was: 0.4)
                   0.3

> wire up memtable mbean
> ----------------------
>
>                 Key: CASSANDRA-75
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-75
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>             Fix For: 0.3
>
>         Attachments: 0001-add-instrumentation-for-memtable-attributes.patch, 0002-an-MBean-attribute-for-displaying-a-flush-counter.patch, 0003-jmx-resource-names-to-reflect-the-move-to-apache.patch
>
>
> It would be useful in the tuning of MemtableSizeInMB and MemtableObjectCountInMillions if the Memtable values for currentSize_ and currentObjectCount_ where exposed via JMX.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-75) wire up memtable mbean

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Evans updated CASSANDRA-75:
--------------------------------

    Attachment: 0001-add-instrumentation-for-memtable-attributes.patch

The current Memtable class implements an MBean interface, but it is not wired up. Most likely, this is because it would become defunct after the first flush when the memtable is switched out for a new one.

The solution is to instrument ColumnFamilyStore and expose the memtable attributes from there.

> wire up memtable mbean
> ----------------------
>
>                 Key: CASSANDRA-75
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-75
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: trunk
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>             Fix For: trunk
>
>         Attachments: 0001-add-instrumentation-for-memtable-attributes.patch, 0002-an-MBean-attribute-for-displaying-a-flush-counter.patch, 0003-jmx-resource-names-to-reflect-the-move-to-apache.patch
>
>
> It would be useful in the tuning of MemtableSizeInMB and MemtableObjectCountInMillions if the Memtable values for currentSize_ and currentObjectCount_ where exposed via JMX.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CASSANDRA-75) wire up memtable mbean

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-75.
-------------------------------------

    Resolution: Fixed

looks good.  applied.

> wire up memtable mbean
> ----------------------
>
>                 Key: CASSANDRA-75
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-75
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: trunk
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>             Fix For: trunk
>
>         Attachments: 0001-add-instrumentation-for-memtable-attributes.patch, 0002-an-MBean-attribute-for-displaying-a-flush-counter.patch, 0003-jmx-resource-names-to-reflect-the-move-to-apache.patch
>
>
> It would be useful in the tuning of MemtableSizeInMB and MemtableObjectCountInMillions if the Memtable values for currentSize_ and currentObjectCount_ where exposed via JMX.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.