ivandika3 commented on code in PR #6756:
URL: https://github.com/apache/ozone/pull/6756#discussion_r1836279247
##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/protocol/OzoneManagerProtocol.java:
##########
@@ -1145,11 +1145,37 @@ void setTimes(OmKeyArgs keyArgs, long mtime, long atime)
boolean setSafeMode(SafeModeAction action, boolean isChecked)
throws IOException;
+ /**
+ * Gets the tags for the specified key.
+ * @param args Key args
+ * @return Tags associated with the key.
+ */
+ Map<String, String> getObjectTagging(OmKeyArgs args) throws IOException;
+
+ /**
+ * Sets the tags to an existing key.
+ * @param args Key args
+ */
+ default void putObjectTagging(OmKeyArgs args) throws IOException {
+ throw new UnsupportedOperationException("OzoneManager does not require " +
+ "this to be implemented, as write requests use a new approach.");
+ }
+
+ /**
+ * Removes all the tags from the specified key.
+ * @param args Key args
+ */
+ default void deleteObjectTagging(OmKeyArgs args) throws IOException {
+ throw new UnsupportedOperationException("OzoneManager does not require " +
+ "this to be implemented, as write requests use a new approach.");
+ }
+
/**
* Get status of last triggered quota repair in OM.
* @return String
* @throws IOException
*/
+
String getQuotaRepairStatus() throws IOException;
Review Comment:
Updated.
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java:
##########
@@ -4767,6 +4767,18 @@ public void startQuotaRepair(List<String> buckets)
throws IOException {
new QuotaRepairTask(this).repair(buckets);
}
+ /**
+ * {@inheritDoc}
+ */
Review Comment:
Thanks for the tip. 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]