You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by do...@apache.org on 2024/11/27 17:10:33 UTC

(accumulo) branch 3.1 updated (0be51787e8 -> 3d19788123)

This is an automated email from the ASF dual-hosted git repository.

domgarguilo pushed a change to branch 3.1
in repository https://gitbox.apache.org/repos/asf/accumulo.git


    from 0be51787e8 Remove graphs from monitor (#5108)
     add 0de01c3022 Fix NPE caused by ExternalCompactions page in monitor (#5107)
     new 970af35df6 Merge remote-tracking branch 'upstream/2.1' into 3.1
     new 3d19788123 Remove unused method from Monitor.java

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../java/org/apache/accumulo/monitor/Monitor.java   | 21 +++++----------------
 1 file changed, 5 insertions(+), 16 deletions(-)


(accumulo) 01/02: Merge remote-tracking branch 'upstream/2.1' into 3.1

Posted by do...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

domgarguilo pushed a commit to branch 3.1
in repository https://gitbox.apache.org/repos/asf/accumulo.git

commit 970af35df6c2d3bd6d30c91dec2647679f63759c
Merge: 0be51787e8 0de01c3022
Author: Dom Garguilo <do...@apache.org>
AuthorDate: Wed Nov 27 12:05:02 2024 -0500

    Merge remote-tracking branch 'upstream/2.1' into 3.1

 .../src/main/java/org/apache/accumulo/monitor/Monitor.java       | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)



(accumulo) 02/02: Remove unused method from Monitor.java

Posted by do...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

domgarguilo pushed a commit to branch 3.1
in repository https://gitbox.apache.org/repos/asf/accumulo.git

commit 3d19788123b5e28e39308610ec334cf0bf2bccc3
Author: Dom Garguilo <do...@apache.org>
AuthorDate: Wed Nov 27 12:09:11 2024 -0500

    Remove unused method from Monitor.java
    
    PR #5108 removed the graphs from the monitor. A lot of supporting code was able to be removed too. This commit removes one of those methods that was left out of the initial PR.
---
 .../src/main/java/org/apache/accumulo/monitor/Monitor.java   | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java b/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
index 7a2b61fe90..3b2e618456 100644
--- a/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
+++ b/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
@@ -201,18 +201,6 @@ public class Monitor extends AbstractServer implements HighlyAvailableService {
       return totalRate;
     }
 
-    synchronized long calculateCount() {
-      long count = 0;
-
-      for (Entry<String,Pair<Long,Long>> entry : prevSamples.entrySet()) {
-        Pair<Long,Long> prevSample = entry.getValue();
-        Pair<Long,Long> sample = samples.get(entry.getKey());
-
-        count += sample.getSecond() - prevSample.getSecond();
-      }
-
-      return count;
-    }
   }
 
   public void fetchData() {