cassandra-commits mailing list archives

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

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

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: https://issues.apache.org/jira/browse/CASSANDRA-8074
>             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
class. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message