HBASE-24823 Port HBASE-22762 Print the delta between phases in the sp…#2204
HBASE-24823 Port HBASE-22762 Print the delta between phases in the sp…#2204sguggilam wants to merge 2 commits intoapache:masterfrom sguggilam:master
Conversation
…lit/merge/compact/flush transaction journals to master branch
|
🎊 +1 overall
This message was automatically generated. |
|
Sample snapshot journal after the change: Table snapshot journal : |
| public String prettyPrintJournal() { | ||
| return StringUtils.join("\n\t", getStatusJournal()); | ||
| StringBuilder sb = new StringBuilder(); | ||
| for (int i = 0; i < journal.size(); i++) { |
There was a problem hiding this comment.
@liuml07 That's a good point. It would thrown an NPE and thereafter abort the master if we print the journal without enabling it. Pushed the change to have a safety check before printing the journal entries
liuml07
left a comment
There was a problem hiding this comment.
+1
Checked original patch for HBASE-22762. This backport looks good to me
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
…lit/merge/compact/flush transaction journals Closes #2204 Signed-off-by: Andrew Purtell <apurtell@apache.org> Signed-off-by: Mingliang Liu <liuml07@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org>
…lit/merge/compact/flush transaction journals Closes #2204 Signed-off-by: Andrew Purtell <apurtell@apache.org> Signed-off-by: Mingliang Liu <liuml07@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org>
…lit/merge/compact/flush transaction journals Closes apache#2204 Signed-off-by: Andrew Purtell <apurtell@apache.org> Signed-off-by: Mingliang Liu <liuml07@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org>
…lit/merge/compact/flush transaction journals to master branch