bharathv commented on a change in pull request #2389:
URL: https://github.com/apache/hbase/pull/2389#discussion_r487439163



##########
File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALPrettyPrinter.java
##########
@@ -223,6 +218,22 @@ public void setRowFilter(String row) {
     this.row = row;
   }
 
+  /**
+   * Option to print the row key only in case you just need the row keys from 
the WAL
+   */
+  public void setOutputOnlyRowKey() {
+    this.outputOnlyRowKey = true;
+  }
+
+  /**
+   * sets the position to start seeking the WAL file
+   * @param position
+   *          initial position to start seeking the given WAL file
+   */
+  public void setPosition(long position) {

Review comment:
       This code seems to be from HBASE-21185. Mind cherry-picking that in a 
separate commit (in the same PR). Easier to track it that way.




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