bbeaudreault commented on code in PR #4788:
URL: https://github.com/apache/hbase/pull/4788#discussion_r1101374750
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/monitoring/TaskMonitor.java:
##########
@@ -85,14 +85,22 @@ public static synchronized TaskMonitor get() {
}
public MonitoredTask createStatus(String description) {
- return createStatus(description, false);
+ return createStatus(description, true);
}
- public MonitoredTask createStatus(String description, boolean ignore) {
- return createStatus(description, ignore, false);
+ public MonitoredTask createStatus(String description, boolean track) {
+ return createStatus(description, track, false);
}
- public synchronized MonitoredTask createStatus(String description, boolean
ignore,
+ /**
+ * Create a monitored task for users to inquire about the status
+ * @param description description of the status
+ * @param track whether to track(e.g. show/clear/expire) the task in
the
+ * {@link TaskMonitor}
+ * @param enableJournal enable when the task contains some stage journals
+ * @return a monitored task
+ */
+ public synchronized MonitoredTask createStatus(String description, boolean
track,
Review Comment:
Yes, that works, thanks!
--
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]