You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/09/12 19:10:23 UTC

[GitHub] [hbase] bharathv commented on a change in pull request #2389: HBASE-24974: Provide a flexibility to print only row key and filter for multiple tables in the WALPrettyPrinter

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:
users@infra.apache.org