ptlrs commented on code in PR #7748:
URL: https://github.com/apache/ozone/pull/7748#discussion_r1972222410


##########
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/debug/replicas/ReplicasUtils.java:
##########
@@ -0,0 +1,124 @@
+/*
+ * 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.hadoop.ozone.debug.replicas;
+
+import java.io.IOException;
+import java.util.Iterator;
+import java.util.function.BiConsumer;
+import org.apache.hadoop.ozone.client.ObjectStore;
+import org.apache.hadoop.ozone.client.OzoneBucket;
+import org.apache.hadoop.ozone.client.OzoneClient;
+import org.apache.hadoop.ozone.client.OzoneKey;
+import org.apache.hadoop.ozone.client.OzoneVolume;
+import org.apache.hadoop.ozone.shell.OzoneAddress;
+
+/**
+ * Utils class for the replicas package.
+ */
+
+public final class ReplicasUtils {
+  private ReplicasUtils() {
+  }
+
+  static class KeyParts {
+    private String volumeName;
+    private String bucketName;
+    private String keyName;
+
+    KeyParts(String volumeName, String bucketName, String keyName) {
+      this.volumeName = volumeName;
+      this.bucketName = bucketName;
+      this.keyName = keyName;
+    }
+
+    public String getBucketName() {
+      return bucketName;
+    }
+
+    public String getVolumeName() {
+      return volumeName;
+    }
+
+    public void setVolumeName(String volumeName) {
+      this.volumeName = volumeName;
+    }
+
+    public void setBucketName(String bucketName) {
+      this.bucketName = bucketName;
+    }

Review Comment:
   Agree. Removed. 



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to