keith-turner commented on a change in pull request #2096:
URL: https://github.com/apache/accumulo/pull/2096#discussion_r632084089



##########
File path: 
core/src/main/java/org/apache/accumulo/core/util/compaction/CompactionExecutorIdImpl.java
##########
@@ -0,0 +1,51 @@
+/*
+ * 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.accumulo.core.util.compaction;
+
+import org.apache.accumulo.core.spi.compaction.CompactionExecutorId;
+import org.apache.accumulo.core.spi.compaction.CompactionServiceId;
+
+import com.google.common.base.Preconditions;
+
+public class CompactionExecutorIdImpl extends CompactionExecutorId {

Review comment:
       To give some context using the DefaultPlanner as an example.  It will 
make SPI calls that give it a CompactionExecutorId like 
[here](https://github.com/apache/accumulo/blob/129d06b66ca52307a77f12cee203b70e3604585a/core/src/main/java/org/apache/accumulo/core/spi/compaction/DefaultCompactionPlanner.java#L126).
  In never instantiates a CompactionExecutorId.  Then later it will pass those 
IDs back when planning like 
[here](https://github.com/apache/accumulo/blob/129d06b66ca52307a77f12cee203b70e3604585a/core/src/main/java/org/apache/accumulo/core/spi/compaction/DefaultCompactionPlanner.java#L240-L242)




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to