Apache9 commented on code in PR #5494:
URL: https://github.com/apache/hbase/pull/5494#discussion_r1381625626


##########
hbase-common/src/main/java/org/apache/hadoop/hbase/util/PrettyPrinter.java:
##########
@@ -184,7 +184,12 @@ private static long humanReadableIntervalToSec(final 
String humanReadableInterva
       hours = matcher.group(6);
       minutes = matcher.group(8);
       seconds = matcher.group(10);
+    } else {
+      LOG.warn(
+        "Given interval value : {} is not a number and not match human 
readable format, TTL will set to 0.",

Review Comment:
   Oh, we should not explicitly say 'TTL' here? This is a general method for 
parsing interval...



-- 
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: issues-unsubscr...@hbase.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to