DomGarguilo commented on issue #5098:
URL: https://github.com/apache/accumulo/issues/5098#issuecomment-2494849236
The following makes it so the exception is not thrown but I'm not sure if
this is the best solution:
```diff
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 80dd69b8cd..bd5111af47 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
@@ -688,7 +688,7 @@ public class Monitor extends AbstractServer implements
HighlyAvailableService {
public final Map<String,TExternalCompaction> ecRunningMap;
private ExternalCompactionsSnapshot(Map<String,TExternalCompaction>
ecRunningMap) {
- this.ecRunningMap = Collections.unmodifiableMap(ecRunningMap);
+ this.ecRunningMap = ecRunningMap == null ? Collections.emptyMap() :
Collections.unmodifiableMap(ecRunningMap);
this.runningCompactions = new RunningCompactions(ecRunningMap);
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]