scylla-jmx/src/main/java/org/apache/cassandra
Pekka Enberg 2cd5a5f048 StorageService: Fix scrub() variant API wiring
The 'nodetool scrub' command ends up calling the variant that is not
wired up to the Scylla API which causes the following error to be
printed out to the user:

  [penberg@nero scylla-tools-java]$ ./bin/nodetool scrub
  error: For input string: ""
  -- StackTrace --
  java.lang.NumberFormatException: For input string: ""
          at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
          at java.lang.Integer.parseInt(Integer.java:592)
          at java.lang.Integer.parseInt(Integer.java:615)
          at com.scylladb.jmx.api.APIClient.getIntValue(APIClient.java:216)
          at com.scylladb.jmx.api.APIClient.getIntValue(APIClient.java:220)
          at org.apache.cassandra.service.StorageService.scrub(StorageService.java:1291)

Fix the problem by implementing the said scrub() variant.
Message-Id: <1458035736-26349-1-git-send-email-penberg@scylladb.com>
2016-03-16 08:35:30 +02:00
..
db CompactionManager: Fix compaction manager API URLs 2016-01-21 09:22:51 +02:00
gms Clean the jmxproxy output 2015-12-30 09:27:33 +02:00
locator Clean the jmxproxy output 2015-12-30 09:27:33 +02:00
metrics Remove leftover println from StreamingMetrics 2016-01-18 10:50:23 +02:00
net MessagingService: Ignore exception on the dropped messages thread 2016-02-18 14:54:53 +02:00
repair Add the RepairParallelism enum 2015-08-27 20:46:02 +03:00
service StorageService: Fix scrub() variant API wiring 2016-03-16 08:35:30 +02:00
streaming SessionInfo: Add receiving_files and sending_files support 2016-02-27 03:34:22 +02:00