cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [02/10] cassandra git commit: Revert "Add nodetool gettraceprobability command" from 2.1
Date Mon, 31 Aug 2015 22:11:12 GMT
Revert "Add nodetool gettraceprobability command" from 2.1

This reverts commit 57d48a9ba074810ebb25324d3bfc4db086a1c44d.


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/542bb1fa
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/542bb1fa
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/542bb1fa

Branch: refs/heads/cassandra-2.2
Commit: 542bb1fa4741aaad62ce9e239fc4220bdc893ee0
Parents: 57d48a9
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Mon Aug 31 17:10:21 2015 -0500
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Mon Aug 31 17:10:21 2015 -0500

----------------------------------------------------------------------
 CHANGES.txt                                     |  1 -
 .../org/apache/cassandra/tools/NodeProbe.java   |  2 --
 .../org/apache/cassandra/tools/NodeTool.java    |  1 -
 .../tools/nodetool/GetTraceProbability.java     | 33 --------------------
 4 files changed, 37 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/542bb1fa/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index d57eaf7..7841f9b 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -2,7 +2,6 @@
  * Only check KeyCache when it is enabled
  * Change streaming_socket_timeout_in_ms default to 1 hour (CASSANDRA-8611)
  * (cqlsh) update list of CQL keywords (CASSANDRA-9232)
- * Add nodetool gettraceprobability command (CASSANDRA-10234)
 
 
 2.1.9

http://git-wip-us.apache.org/repos/asf/cassandra/blob/542bb1fa/src/java/org/apache/cassandra/tools/NodeProbe.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/NodeProbe.java b/src/java/org/apache/cassandra/tools/NodeProbe.java
index 51b1c93..caa12c3 100644
--- a/src/java/org/apache/cassandra/tools/NodeProbe.java
+++ b/src/java/org/apache/cassandra/tools/NodeProbe.java
@@ -971,8 +971,6 @@ public class NodeProbe implements AutoCloseable
         return ssProxy.getStreamThroughputMbPerSec();
     }
 
-    public double getTraceProbability() {return ssProxy.getTraceProbability();}
-
     public int getExceptionCount()
     {
         return ssProxy.getExceptionCount();

http://git-wip-us.apache.org/repos/asf/cassandra/blob/542bb1fa/src/java/org/apache/cassandra/tools/NodeTool.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/NodeTool.java b/src/java/org/apache/cassandra/tools/NodeTool.java
index cc6e6d4..8e88f45 100644
--- a/src/java/org/apache/cassandra/tools/NodeTool.java
+++ b/src/java/org/apache/cassandra/tools/NodeTool.java
@@ -138,7 +138,6 @@ public class NodeTool
                 GetCompactionThreshold.class,
                 GetCompactionThroughput.class,
                 GetStreamThroughput.class,
-                GetTraceProbability.class,
                 GetEndpoints.class,
                 GetSSTables.class,
                 GossipInfo.class,

http://git-wip-us.apache.org/repos/asf/cassandra/blob/542bb1fa/src/java/org/apache/cassandra/tools/nodetool/GetTraceProbability.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/nodetool/GetTraceProbability.java b/src/java/org/apache/cassandra/tools/nodetool/GetTraceProbability.java
deleted file mode 100644
index 3940790..0000000
--- a/src/java/org/apache/cassandra/tools/nodetool/GetTraceProbability.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.cassandra.tools.nodetool;
-
-import io.airlift.command.Command;
-
-import org.apache.cassandra.tools.NodeProbe;
-import org.apache.cassandra.tools.NodeTool.NodeToolCmd;
-
-@Command(name = "gettraceprobability", description = "Print the current trace probability
value")
-public class GetTraceProbability extends NodeToolCmd
-{
-    @Override
-    public void execute(NodeProbe probe)
-    {
-        System.out.println("Current trace probability: " + probe.getTraceProbability());
-    }
-}


Mime
View raw message