[jira] [Commented] (CASSANDRA-5838) Upgrade metrics-core library

2013-08-30 Thread Jonathan Ellis (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13755008#comment-13755008
 ] 

Jonathan Ellis commented on CASSANDRA-5838:
---

Will address 2.2 upgrade in CASSANDRA-5947.

 Upgrade metrics-core library
 

 Key: CASSANDRA-5838
 URL: https://issues.apache.org/jira/browse/CASSANDRA-5838
 Project: Cassandra
  Issue Type: Improvement
Reporter: Eugen Paraschiv
Assignee: Dave Brosius
Priority: Minor
 Fix For: 2.1

 Attachments: 5838-2.txt, 5838-3.txt, 5838.txt, Screen Shot 2013-08-27 
 at 2.53.39 PM.png


 Cassandra is now using [metrics|https://github.com/codahale/metrics] and is 
 depending on metrics-core 2.0.3. 
 It would be great to make the jump to the latest version of the library which 
 is 3.x - [latest is 
 3.0.1|http://search.maven.org/#search|gav|1|g%3A%22com.codahale.metrics%22%20AND%20a%3A%22metrics-core%22].
  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CASSANDRA-5838) Upgrade metrics-core library

2013-08-28 Thread Chris Burroughs (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13752448#comment-13752448
 ] 

Chris Burroughs commented on CASSANDRA-5838:


 What problems does that solve?

CASSANDRA-5947, java 7 VirtualMachineMetrics, and various other things 
https://github.com/codahale/metrics/blob/v2.2.0/docs/source/about/release-notes.rst

 Upgrade metrics-core library
 

 Key: CASSANDRA-5838
 URL: https://issues.apache.org/jira/browse/CASSANDRA-5838
 Project: Cassandra
  Issue Type: Improvement
Reporter: Eugen Paraschiv
Assignee: Dave Brosius
Priority: Minor
 Fix For: 2.1

 Attachments: 5838-2.txt, 5838-3.txt, 5838.txt, Screen Shot 2013-08-27 
 at 2.53.39 PM.png


 Cassandra is now using [metrics|https://github.com/codahale/metrics] and is 
 depending on metrics-core 2.0.3. 
 It would be great to make the jump to the latest version of the library which 
 is 3.x - [latest is 
 3.0.1|http://search.maven.org/#search|gav|1|g%3A%22com.codahale.metrics%22%20AND%20a%3A%22metrics-core%22].
  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CASSANDRA-5838) Upgrade metrics-core library

2013-08-28 Thread Jonathan Ellis (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13752465#comment-13752465
 ] 

Jonathan Ellis commented on CASSANDRA-5838:
---

Is it drop in compatible?  Have you tried it?

I have nightmares about another oops, we broke CentOS in a minor release. :)

 Upgrade metrics-core library
 

 Key: CASSANDRA-5838
 URL: https://issues.apache.org/jira/browse/CASSANDRA-5838
 Project: Cassandra
  Issue Type: Improvement
Reporter: Eugen Paraschiv
Assignee: Dave Brosius
Priority: Minor
 Fix For: 2.1

 Attachments: 5838-2.txt, 5838-3.txt, 5838.txt, Screen Shot 2013-08-27 
 at 2.53.39 PM.png


 Cassandra is now using [metrics|https://github.com/codahale/metrics] and is 
 depending on metrics-core 2.0.3. 
 It would be great to make the jump to the latest version of the library which 
 is 3.x - [latest is 
 3.0.1|http://search.maven.org/#search|gav|1|g%3A%22com.codahale.metrics%22%20AND%20a%3A%22metrics-core%22].
  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CASSANDRA-5838) Upgrade metrics-core library

2013-08-27 Thread Chris Burroughs (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13751612#comment-13751612
 ] 

Chris Burroughs commented on CASSANDRA-5838:


Not sure if this ticket is the right place, but could we upgrade to the latest 
metrics v2 in cassandra 2.0.x?

 Upgrade metrics-core library
 

 Key: CASSANDRA-5838
 URL: https://issues.apache.org/jira/browse/CASSANDRA-5838
 Project: Cassandra
  Issue Type: Improvement
Reporter: Eugen Paraschiv
Assignee: Dave Brosius
Priority: Minor
 Fix For: 2.1

 Attachments: 5838-2.txt, 5838-3.txt, 5838.txt


 Cassandra is now using [metrics|https://github.com/codahale/metrics] and is 
 depending on metrics-core 2.0.3. 
 It would be great to make the jump to the latest version of the library which 
 is 3.x - [latest is 
 3.0.1|http://search.maven.org/#search|gav|1|g%3A%22com.codahale.metrics%22%20AND%20a%3A%22metrics-core%22].
  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CASSANDRA-5838) Upgrade metrics-core library

2013-08-27 Thread Jonathan Ellis (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13751631#comment-13751631
 ] 

Jonathan Ellis commented on CASSANDRA-5838:
---

What problems does that solve?

 Upgrade metrics-core library
 

 Key: CASSANDRA-5838
 URL: https://issues.apache.org/jira/browse/CASSANDRA-5838
 Project: Cassandra
  Issue Type: Improvement
Reporter: Eugen Paraschiv
Assignee: Dave Brosius
Priority: Minor
 Fix For: 2.1

 Attachments: 5838-2.txt, 5838-3.txt, 5838.txt


 Cassandra is now using [metrics|https://github.com/codahale/metrics] and is 
 depending on metrics-core 2.0.3. 
 It would be great to make the jump to the latest version of the library which 
 is 3.x - [latest is 
 3.0.1|http://search.maven.org/#search|gav|1|g%3A%22com.codahale.metrics%22%20AND%20a%3A%22metrics-core%22].
  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CASSANDRA-5838) Upgrade metrics-core library

2013-08-27 Thread Michael Rose (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13751635#comment-13751635
 ] 

Michael Rose commented on CASSANDRA-5838:
-

It would be advantageous to wait for Metrics 3.1. 
https://groups.google.com/forum/#!topic/metrics-user/Mr3H7rXOvtA According to 
Coda, 3.1 will include the ability to provide a custom naming strategy to the 
JMXReporter. Otherwise every monitoring tool built around JMX will break.

 Upgrade metrics-core library
 

 Key: CASSANDRA-5838
 URL: https://issues.apache.org/jira/browse/CASSANDRA-5838
 Project: Cassandra
  Issue Type: Improvement
Reporter: Eugen Paraschiv
Assignee: Dave Brosius
Priority: Minor
 Fix For: 2.1

 Attachments: 5838-2.txt, 5838-3.txt, 5838.txt


 Cassandra is now using [metrics|https://github.com/codahale/metrics] and is 
 depending on metrics-core 2.0.3. 
 It would be great to make the jump to the latest version of the library which 
 is 3.x - [latest is 
 3.0.1|http://search.maven.org/#search|gav|1|g%3A%22com.codahale.metrics%22%20AND%20a%3A%22metrics-core%22].
  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CASSANDRA-5838) Upgrade metrics-core library

2013-08-27 Thread Nick Bailey (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13751650#comment-13751650
 ] 

Nick Bailey commented on CASSANDRA-5838:


So this changes moves all the mbeans into a single domain due to how 3.0 does 
things (see attached picture). 

This will break all existing clients for the new metrics mbeans (did we update 
nodetool and such or are they using the old mbeans?). I'm not really a huge fan 
of this change for that reason. From discussion on IRC it looks like we'd need 
to have multiple jmx reporters defined to match the old behavior. Or there is 
some speculation that this might be fixed/easier in metrics 3.1.

I'd be in favor of reverting this until we can figure out how to match the old 
format or confirm the current behavior (breaking) is absolutely what we want 
going forward.


 Upgrade metrics-core library
 

 Key: CASSANDRA-5838
 URL: https://issues.apache.org/jira/browse/CASSANDRA-5838
 Project: Cassandra
  Issue Type: Improvement
Reporter: Eugen Paraschiv
Assignee: Dave Brosius
Priority: Minor
 Fix For: 2.1

 Attachments: 5838-2.txt, 5838-3.txt, 5838.txt, Screen Shot 2013-08-27 
 at 2.53.39 PM.png


 Cassandra is now using [metrics|https://github.com/codahale/metrics] and is 
 depending on metrics-core 2.0.3. 
 It would be great to make the jump to the latest version of the library which 
 is 3.x - [latest is 
 3.0.1|http://search.maven.org/#search|gav|1|g%3A%22com.codahale.metrics%22%20AND%20a%3A%22metrics-core%22].
  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CASSANDRA-5838) Upgrade metrics-core library

2013-08-13 Thread Yuki Morishita (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13738305#comment-13738305
 ] 

Yuki Morishita commented on CASSANDRA-5838:
---

[~dbrosius] Looks like metrics-core 3.0.x no longer exports metrics to JMX by 
default. I think you have to [register JMXReporter 
explicitly|http://metrics.codahale.com/manual/core/#man-core-reporters-jmx].

 Upgrade metrics-core library
 

 Key: CASSANDRA-5838
 URL: https://issues.apache.org/jira/browse/CASSANDRA-5838
 Project: Cassandra
  Issue Type: Improvement
Reporter: Eugen Paraschiv
Assignee: Dave Brosius
Priority: Minor
 Fix For: 2.1

 Attachments: 5838-2.txt, 5838-3.txt, 5838.txt


 Cassandra is now using [metrics|https://github.com/codahale/metrics] and is 
 depending on metrics-core 2.0.3. 
 It would be great to make the jump to the latest version of the library which 
 is 3.x - [latest is 
 3.0.1|http://search.maven.org/#search|gav|1|g%3A%22com.codahale.metrics%22%20AND%20a%3A%22metrics-core%22].
  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CASSANDRA-5838) Upgrade metrics-core library

2013-08-13 Thread Dave Brosius (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13739090#comment-13739090
 ] 

Dave Brosius commented on CASSANDRA-5838:
-

thanks.. i guess i wasn't looking at the right metrics when i saw them in 
jconsole

ninja'd

static
{
JmxReporter reporter = JmxReporter.forRegistry(defaultRegistry).build();
reporter.start();
}

as commit c651f83627b4bc491e2ebe6c8f29c311d40ed2a6 to trunk

 Upgrade metrics-core library
 

 Key: CASSANDRA-5838
 URL: https://issues.apache.org/jira/browse/CASSANDRA-5838
 Project: Cassandra
  Issue Type: Improvement
Reporter: Eugen Paraschiv
Assignee: Dave Brosius
Priority: Minor
 Fix For: 2.1

 Attachments: 5838-2.txt, 5838-3.txt, 5838.txt


 Cassandra is now using [metrics|https://github.com/codahale/metrics] and is 
 depending on metrics-core 2.0.3. 
 It would be great to make the jump to the latest version of the library which 
 is 3.x - [latest is 
 3.0.1|http://search.maven.org/#search|gav|1|g%3A%22com.codahale.metrics%22%20AND%20a%3A%22metrics-core%22].
  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CASSANDRA-5838) Upgrade metrics-core library

2013-08-09 Thread Jonathan Ellis (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13735079#comment-13735079
 ] 

Jonathan Ellis commented on CASSANDRA-5838:
---

I'm seeing this error in the tests:

{noformat}
[junit] Testcase: testKeyCacheLoad(org.apache.cassandra.db.KeyCacheTest):   
Caused an ERROR
[junit] A metric named org.apache.cassandra.metrics.Cache.Capacity.KeyCache 
already exists
[junit] java.lang.IllegalArgumentException: A metric named 
org.apache.cassandra.metrics.Cache.Capacity.KeyCache already exists
{noformat}


 Upgrade metrics-core library
 

 Key: CASSANDRA-5838
 URL: https://issues.apache.org/jira/browse/CASSANDRA-5838
 Project: Cassandra
  Issue Type: Improvement
Reporter: Eugen Paraschiv
Assignee: Dave Brosius
Priority: Minor
 Fix For: 2.1

 Attachments: 5838.txt


 Cassandra is now using [metrics|https://github.com/codahale/metrics] and is 
 depending on metrics-core 2.0.3. 
 It would be great to make the jump to the latest version of the library which 
 is 3.x - [latest is 
 3.0.1|http://search.maven.org/#search|gav|1|g%3A%22com.codahale.metrics%22%20AND%20a%3A%22metrics-core%22].
  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CASSANDRA-5838) Upgrade metrics-core library

2013-08-09 Thread Jonathan Ellis (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13735745#comment-13735745
 ] 

Jonathan Ellis commented on CASSANDRA-5838:
---

+1, that did the trick

 Upgrade metrics-core library
 

 Key: CASSANDRA-5838
 URL: https://issues.apache.org/jira/browse/CASSANDRA-5838
 Project: Cassandra
  Issue Type: Improvement
Reporter: Eugen Paraschiv
Assignee: Dave Brosius
Priority: Minor
 Fix For: 2.1

 Attachments: 5838-2.txt, 5838-3.txt, 5838.txt


 Cassandra is now using [metrics|https://github.com/codahale/metrics] and is 
 depending on metrics-core 2.0.3. 
 It would be great to make the jump to the latest version of the library which 
 is 3.x - [latest is 
 3.0.1|http://search.maven.org/#search|gav|1|g%3A%22com.codahale.metrics%22%20AND%20a%3A%22metrics-core%22].
  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CASSANDRA-5838) Upgrade metrics-core library

2013-08-07 Thread Jonathan Ellis (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13732239#comment-13732239
 ] 

Jonathan Ellis commented on CASSANDRA-5838:
---

Not opposed in principle.  What does 3.0.x buy us?

 Upgrade metrics-core library
 

 Key: CASSANDRA-5838
 URL: https://issues.apache.org/jira/browse/CASSANDRA-5838
 Project: Cassandra
  Issue Type: Improvement
Reporter: Eugen Paraschiv
Assignee: Dave Brosius
Priority: Minor
 Fix For: 2.1


 Cassandra is now using [metrics|https://github.com/codahale/metrics] and is 
 depending on metrics-core 2.0.3. 
 It would be great to make the jump to the latest version of the library which 
 is 3.x - [latest is 
 3.0.1|http://search.maven.org/#search|gav|1|g%3A%22com.codahale.metrics%22%20AND%20a%3A%22metrics-core%22].
  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CASSANDRA-5838) Upgrade metrics-core library

2013-08-07 Thread Eugen Paraschiv (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13732663#comment-13732663
 ] 

Eugen Paraschiv commented on CASSANDRA-5838:


Lots of upgrades in both the library itself as well as its dependencies 
([metrics full release 
notes|http://metrics.codahale.com/about/release-notes/]). Besides all of that, 
one of the main advantages with the latest Cassandra using the latest Metrics - 
is that basically it makes it easier to have Cassandra as a dependency while 
also having Metrics 3 on the classpath (otherwise both Metrics 2 and 3 will be 
on the classpath - which is not ideal). 
Thanks. 
Eugen. 

 Upgrade metrics-core library
 

 Key: CASSANDRA-5838
 URL: https://issues.apache.org/jira/browse/CASSANDRA-5838
 Project: Cassandra
  Issue Type: Improvement
Reporter: Eugen Paraschiv
Assignee: Dave Brosius
Priority: Minor
 Fix For: 2.1


 Cassandra is now using [metrics|https://github.com/codahale/metrics] and is 
 depending on metrics-core 2.0.3. 
 It would be great to make the jump to the latest version of the library which 
 is 3.x - [latest is 
 3.0.1|http://search.maven.org/#search|gav|1|g%3A%22com.codahale.metrics%22%20AND%20a%3A%22metrics-core%22].
  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira