Skip to content

Commit

Permalink
Merge branch '3.1' into remove-zoosession
Browse files Browse the repository at this point in the history
  • Loading branch information
ctubbsii committed Jan 4, 2025
2 parents 67dd3ea + c48adea commit 61a63e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import java.util.UUID;
import java.util.concurrent.CountDownLatch;
Expand Down Expand Up @@ -64,6 +65,7 @@
import org.apache.accumulo.core.conf.AccumuloConfiguration;
import org.apache.accumulo.core.conf.ConfigurationCopy;
import org.apache.accumulo.core.conf.Property;
import org.apache.accumulo.core.conf.cluster.ClusterConfigParser;
import org.apache.accumulo.core.data.NamespaceId;
import org.apache.accumulo.core.data.TableId;
import org.apache.accumulo.core.dataImpl.KeyExtent;
Expand Down Expand Up @@ -169,6 +171,7 @@ public interface FileCompactorRunnable extends Runnable {
protected Compactor(ConfigOpts opts, String[] args) {
super("compactor", opts, args);
queueName = super.getConfiguration().get(Property.COMPACTOR_QUEUE_NAME);
ClusterConfigParser.validateGroupNames(Set.of(queueName));
}

private long getTotalEntriesRead() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
import org.apache.accumulo.core.clientImpl.thrift.ThriftSecurityException;
import org.apache.accumulo.core.conf.AccumuloConfiguration;
import org.apache.accumulo.core.conf.Property;
import org.apache.accumulo.core.conf.cluster.ClusterConfigParser;
import org.apache.accumulo.core.dataImpl.KeyExtent;
import org.apache.accumulo.core.dataImpl.thrift.InitialMultiScan;
import org.apache.accumulo.core.dataImpl.thrift.InitialScan;
Expand Down Expand Up @@ -277,6 +278,7 @@ public ScanServer(ConfigOpts opts, String[] args) {
delegate = newThriftScanClientHandler(new WriteTracker());

this.groupName = getConfiguration().get(Property.SSERV_GROUP_NAME);
ClusterConfigParser.validateGroupNames(Set.of(groupName));

ThreadPools.watchCriticalScheduledTask(getContext().getScheduledExecutor()
.scheduleWithFixedDelay(() -> cleanUpReservedFiles(scanServerReservationExpiration),
Expand Down

0 comments on commit 61a63e1

Please sign in to comment.