swamirishi commented on code in PR #4376:
URL: https://github.com/apache/ozone/pull/4376#discussion_r1143521203


##########
hadoop-hdds/rocks-native/src/main/java/org/apache/hadoop/hdds/utils/db/managed/ManagedSSTDumpIterator.java:
##########
@@ -116,13 +116,20 @@ public boolean hasNext() {
     return nextKey != null;
   }
 
+  /**
+   * Transform function to transform key to a certain value.
+   * @param value
+   * @return
+   */
+  protected abstract T getTransformedValue(KeyValue value);
+
   /**
    * Returns the next record from SSTDumpTool.
    * @return next Key
    * Throws Runtime Exception incase of failure.

Review Comment:
   the function checkSanityOfProcess() checks if the exit code is not 0, in 
that case it throws a RuntimeException.



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