cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yang Yang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1872) Provide ability send notifications via JMX when an SSTable is written
Date Fri, 04 Mar 2011 22:32:45 GMT

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

Yang Yang commented on CASSANDRA-1872:
--------------------------------------

Thanks Jonathan.


here is the patch to do hardlink before the minor compaction is submitted , in addSStable().
   then we have the hard links in data_file_location/backup/KS/cf-file-name-same-as-original

we will scrape the dir later to find these files. so the notification mechanism is not used
anymore.

(in fact we were using the hardlink approach before with the JMX notification , kind of similar)


Yang

> Provide ability send notifications via JMX when an SSTable is written
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-1872
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1872
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Nate McCall
>         Attachments: backup.diff, full.diff, jmockit-0.999.5.jar
>
>
> One application of interest is the immediate backup of new SSTables. Relying on JMX's
MBeanNotificationInfo would be a minimally intrusive to add "listeners" to CFS to facilitate
this. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message