cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maohua (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-8074) Add GetAllDataFileLocations to Cassandra Python Driver
Date Tue, 07 Oct 2014 21:09:34 GMT


Maohua commented on CASSANDRA-8074:

Thank you for the promptly reply. It seems to me mx4j needs Jython, which is not a pure Python
implementation and may be not feasible in a pure Python environment. Currently I use Jolokia
+ pyjolokia to get the information from a remote Python script. It would be great if we could
put the logic into Cassandra Python driver itself. But I agree with you that not using JMX
is a whole new API and may introduce changes to a lot of files. 

> Add GetAllDataFileLocations to Cassandra Python Driver
> ------------------------------------------------------
>                 Key: CASSANDRA-8074
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Config, Drivers (now out of tree)
>         Environment: Python driver on Linux
>            Reporter: Maohua
>              Labels: features
>             Fix For: 2.1.0
>   Original Estimate: 336h
>  Remaining Estimate: 336h
> To make data management easier, users need to know where their database files are stored.
Currently, Cassandra expose the "AllDataFileLocations" via JMX interface in org.apache.cassandra.db.StorageService
mbean. However, the information is not exposed through Python driver. 
> The improvement aims to enable Python driver to read the information directly, the changes
involve both Python driver and other changes necessary to reach org.apache.cassandra.config.DatabaseDescriptor

This message was sent by Atlassian JIRA

View raw message