cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "JmxInterface" by RobertColi
Date Tue, 16 Mar 2010 07:20:50 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "JmxInterface" page has been changed by RobertColi.
The comment on this change is: some more operations and attributes. only a few more left!.
http://wiki.apache.org/cassandra/JmxInterface?action=diff&rev1=18&rev2=19

--------------------------------------------------

  ||[[#org.apache.cassandra.db|org.apache.cassandra.db]] ||./db/CompactionManagerMBean.java
||[[#org.apache.cassandra.db.CompactionManager|CompactionManager]] || || ||[[#org.apache.cassandra.db.CompactionManager.Attributes.BytesCompacted|BytesCompacted]]
<<BR>> [[#org.apache.cassandra.db.CompactionManager.Attributes.BytesTotalInProgress|BytesTotalInProgress]]
<<BR>> [[#org.apache.cassandra.db.CompactionManager.Attributes.ColumnFamilyInProgress|ColumnFamilyInProgress]]
<<BR>> [[#org.apache.cassandra.db.CompactionManager.Attributes.MaximumCompactionThreshold|MaximumCompactionThreshold]]
<<BR>> [[#org.apache.cassandra.db.CompactionManager.Attributes.MinimumCompactionThreshold|MinimumCompactionThreshold]]
<<BR>> [[#org.apache.cassandra.db.CompactionManager.Attributes.PendingTasks|PendingTasks]]
<<BR>> || ||
  ||[[#org.apache.cassandra.gms|org.apache.cassandra.gms]] ||./gms/FailureDetectorMBean.java
||[[#org.apache.cassandra.gms.FailureDetector|FailureDetector]] || || || ||[[#org.apache.cassandra.gms.FailureDetector.Operations.dumpInterArrivalTimes|dumpInterArrivalTimes]]
<<BR>> ||
  ||[[#org.apache.cassandra.service|org.apache.cassandra.service]] ||./service/StorageServiceMBean.java
||[[#org.apache.cassandra.service.StorageService|StorageService]] || || ||[[#org.apache.cassandra.service.StorageService.Attributes.CurrentGenerationNumber|CurrentGenerationNumber]]
<<BR>> [[#org.apache.cassandra.service.StorageService.Attributes.LiveNodes|LiveNodes]]
<<BR>> [[#org.apache.cassandra.service.StorageService.Attributes.LoadMap|LoadMap]]
<<BR>> [[#org.apache.cassandra.service.StorageService.Attributes.LoadString|LoadString]]
<<BR>> [[#org.apache.cassandra.service.StorageService.Attributes.RangeToEndPointMap|RangeToEndPointMap]]
<<BR>> [[#org.apache.cassandra.service.StorageService.Attributes.Token|Token]]
<<BR>> [[#org.apache.cassandra.service.StorageService.Attributes.UnreachableNodes|UnreachableNodes]]
<<BR>> ||[[#org.apache.cassandra.service.StorageService.Operations.clearSnapshot|clearSnapshot]]<<BR>>
[[#org.apache.cassandra.service.StorageService.Operations.decommission|decommission]]<<BR>>
[[#org.apache.cassandra.service.StorageService.Operations.forceTableCleanup|forceTableCleanup]]<<BR>>
[[#org.apache.cassandra.service.StorageService.Operations.forceTableCompaction|forceTableCompaction]]<<BR>>
[[#org.apache.cassandra.service.StorageService.Operations.forceTableFlush|forceTableFlush]]<<BR>>
[[#org.apache.cassandra.service.StorageService.Operations.forceTableRepair|forceTableRepair]]<<BR>>
[[#org.apache.cassandra.service.StorageService.Operations.getLiveNaturalEndpoints|getLiveNaturalEndpoints]]<<BR>>
[[#org.apache.cassandra.service.StorageService.Operations.getNaturalEndpoints|getNaturalEndpoints]]<<BR>>
[[#org.apache.cassandra.service.StorageService.Operations.getRangeToEndPointMap|getRangeToEndPointMap]]<<BR>>
[[#org.apache.cassandra.service.StorageService.Operations.loadBalance|loadBalance]]<<BR>>
[[#org.apache.cassandra.service.StorageService.Operations.move|move]]<<BR>> [[#org.apache.cassandra.service.StorageService.Operations.removeToken|removeToken]]<<BR>>
[[#org.apache.cassandra.service.StorageService.Operations.setLog4jLevel|setLog4jLevel]]<<BR>>
[[#org.apache.cassandra.service.StorageService.Operations.takeAllSnapshot|takeAllSnapshot]]<<BR>>
[[#org.apache.cassandra.service.StorageService.Operations.takeSnapshot|takeSnapshot]]<<BR>>
||
- ||[[#org.apache.cassandra.service|org.apache.cassandra.service]] ||./service/StorageProxyMBean.java
||[[#org.apache.cassandra.service.StorageProxy|StorageProxy]] || || ||[[#org.apache.cassandra.service.StorageProxy.Attributes.RangeOperations|RangeOperations]]
<<BR>> [[#org.apache.cassandra.service.StorageProxy.Attributes.ReadOperations|ReadOperations]]
<<BR>> [[#org.apache.cassandra.service.StorageProxy.Attributes.RecentRangeLatencyMicros|RecentRangeLatencyMicros]]
<<BR>> [[#org.apache.cassandra.service.StorageProxy.Attributes.RecentReadLatencyMicros|RecentReadLatencyMicros]]
<<BR>> [[#org.apache.cassandra.service.StorageProxy.Attributes.RecentWriteLatencyMicros|RecentWriteLatencyMicros]]
<<BR>> [[#org.apache.cassandra.service.StorageProxy.Attributes.TotalRangeLatencyMicros|TotalRangeLatencyMicros]]
<<BR>> [[#org.apache.cassandra.service.StorageProxy.Attributes.TotalReadLatencyMicros|TotalReadLatencyMicros]]
<<BR>> [[#org.apache.cassandra.service.StorageProxy.Attributes.TotalWriteLatencyMicros|TotalWriteLatencyMicros]]
<<BR>> || ||
+ ||[[#org.apache.cassandra.service|org.apache.cassandra.service]] ||./service/StorageProxyMBean.java
||[[#org.apache.cassandra.service.StorageProxy|StorageProxy]] || || ||[[#org.apache.cassandra.service.StorageProxy.Attributes.RangeOperations|RangeOperations]]
<<BR>> [[#org.apache.cassandra.service.StorageProxy.Attributes.ReadOperations|ReadOperations]]
<<BR>> [[#org.apache.cassandra.service.StorageProxy.Attributes.RecentRangeLatencyMicros|RecentRangeLatencyMicros]]
<<BR>> [[#org.apache.cassandra.service.StorageProxy.Attributes.RecentReadLatencyMicros|RecentReadLatencyMicros]]
<<BR>> [[#org.apache.cassandra.service.StorageProxy.Attributes.RecentWriteLatencyMicros|RecentWriteLatencyMicros]]
<<BR>> [[#org.apache.cassandra.service.StorageProxy.Attributes.TotalRangeLatencyMicros|TotalRangeLatencyMicros]]
<<BR>> [[#org.apache.cassandra.service.StorageProxy.Attributes.TotalReadLatencyMicros|TotalReadLatencyMicros]]
<<BR>> [[#org.apache.cassandra.service.StorageProxy.Attributes.TotalWriteLatencyMicros|TotalWriteLatencyMicros]]
<<BR>> [[#org.apache.cassandra.service.StorageProxy.Attributes.WriteOperations|WriteOperations]]
<<BR>> || ||
  ||[[#org.apache.cassandra.streaming|org.apache.cassandra.streaming]] ||./streaming/StreamingService.java
||[[#org.apache.cassandra.streaming.StreamingService|StreamingService]] || || ||[[#org.apache.cassandra.streaming.StreamingService.Attributes.StreamDestinations|StreamDestinations]]
<<BR>> [[#org.apache.cassandra.streaming.StreamingService.Attributes.StreamSources|StreamSources]]
<<BR>> ||[[#org.apache.cassandra.streaming.StreamingService.Operations.getOutgoingFiles|getOutgoingFiles]]<<BR>>
[[#org.apache.cassandra.streaming.StreamingService.Operations.getIncomingFiles|getIncomingFiles]]<<BR>>
||
  
  <<Anchor(org.apache.cassandra.concurrent)>>
@@ -351, +351 @@

  <<Anchor(org.apache.cassandra.service.StorageService.Operations.clearSnapshot)>>
  ==== org.apache.cassandra.service.StorageService.Operations.clearSnapshot ====
  ||Arguments ||Return Type ||Notes ||
- ||n/a ||void ||Clear all the snapshots for a given table. (FIXME? for a given table?) ||
+ ||n/a ||void ||Clear all the snapshots for this node's keyspace.  ||
  
  Per src/java/org/apache/cassandra/db/Table.java : 
  {{{
@@ -428, +428 @@

  
  <<Anchor(org.apache.cassandra.service.StorageProxy.Attributes.RangeOperations)>>
  ==== org.apache.cassandra.service.StorageProxy.Attributes.RangeOperations ====
+ ||Type ||Units ||Range ||Notes ||
+ ||long ||Operations ||>=0 ||The number of range operations since executor start. ||
  
  <<Anchor(org.apache.cassandra.service.StorageProxy.Attributes.ReadOperations)>>
  ==== org.apache.cassandra.service.StorageProxy.Attributes.ReadOperations ====
+ ||Type ||Units ||Range ||Notes ||
+ ||long ||Operations ||>=0 ||The number of read operations since executor start. ||
  
  <<Anchor(org.apache.cassandra.service.StorageProxy.Attributes.RecentRangeLatencyMicros)>>
  ==== org.apache.cassandra.service.StorageProxy.Attributes.RecentRangeLatencyMicros ====
+ ||Type ||Units ||Range ||Notes ||
+ ||double ||Microseconds ||>=0 ||The latency of range operations since the last time this
attribute was read. ||
+ 
+ See Also : [[#org.apache.cassandra.service.StorageProxy.Attributes.RecentReadLatencyMicros|RecentReadLatencyMicros]],
[[#org.apache.cassandra.service.StorageProxy.Attributes.RecentWriteLatencyMicros|RecentWriteLatencyMicros]].
+ 
+ Per src/java/org/apache/cassandra/utils/Latency``Tracker.``java/getRecentLatencyMicros :
+ {{{
+         long ops = opCount.get();
+         long n = totalLatency.get();        
+         return ((double)n - lastLatency) / (ops - lastOpCount);
+         ...
+         lastLatency = n;
+         lastOpCount = ops;
+ }}}
  
  <<Anchor(org.apache.cassandra.service.StorageProxy.Attributes.RecentReadLatencyMicros)>>
  ==== org.apache.cassandra.service.StorageProxy.Attributes.RecentReadLatencyMicros ====
+ ||Type ||Units ||Range ||Notes ||
+ ||double ||Microseconds ||>=0 ||The latency of range operations since the last time this
attribute was read. ||
+ 
+ See Also [[#org.apache.cassandra.service.StorageProxy.Attributes.RecentRangeLatencyMicros|RecentRangeLatencyMicros]],
[[#org.apache.cassandra.service.StorageProxy.Attributes.RecentWriteLatencyMicros|RecentWriteLatencyMicros]].
  
  <<Anchor(org.apache.cassandra.service.StorageProxy.Attributes.RecentWriteLatencyMicros)>>
  ==== org.apache.cassandra.service.StorageProxy.Attributes.RecentWriteLatencyMicros ====
+ ||Type ||Units ||Range ||Notes ||
+ ||double ||Microseconds ||>=0 ||The latency of write operations since the last time this
attribute was read. ||
+ 
+ See Also : [[#org.apache.cassandra.service.StorageProxy.Attributes.RecentRangeLatencyMicros|RecentRangeLatencyMicros]],
[[#org.apache.cassandra.service.StorageProxy.Attributes.RecentReadLatencyMicros|RecentReadLatencyMicros]].
  
  <<Anchor(org.apache.cassandra.service.StorageProxy.Attributes.TotalRangeLatencyMicros)>>
  ==== org.apache.cassandra.service.StorageProxy.Attributes.TotalRangeLatencyMicros ====
+ ||Type ||Units ||Range ||Notes ||
+ ||long ||Microseconds ||>=0 ||The latency of all range operations since executor start.
||
  
  <<Anchor(org.apache.cassandra.service.StorageProxy.Attributes.TotalReadLatencyMicros)>>
  ==== org.apache.cassandra.service.StorageProxy.Attributes.TotalReadLatencyMicros ====
+ ||Type ||Units ||Range ||Notes ||
+ ||long ||Microseconds ||>=0 ||The latency of all read operations since executor start.
||
  
  <<Anchor(org.apache.cassandra.service.StorageProxy.Attributes.TotalWriteLatencyMicros)>>
  ==== org.apache.cassandra.service.StorageProxy.Attributes.TotalWriteLatencyMicros ====
+ ||Type ||Units ||Range ||Notes ||
+ ||long ||Microseconds ||>=0 ||The latency of all write operations since executor start.
||
+ 
+ <<Anchor(org.apache.cassandra.service.StorageProxy.Attributes.WriteOperations)>>
+ ==== org.apache.cassandra.service.StorageProxy.Attributes.WriteOperations ====
+ ||Type ||Units ||Range ||Notes ||
+ ||long ||Operations ||>=0 ||The number of write operations since executor start. ||
  
  <<Anchor(org.apache.cassandra.streaming)>>
  == org.apache.cassandra.streaming ==

Mime
View raw message