Jean-Daniel Cryans created HBASE-6990:
-----------------------------------------

             Summary: Pretty print TTL
                 Key: HBASE-6990
                 URL: https://issues.apache.org/jira/browse/HBASE-6990
             Project: HBase
          Issue Type: Improvement
    Affects Versions: 0.92.2, 0.94.2
            Reporter: Jean-Daniel Cryans
            Priority: Minor
             Fix For: 0.92.3, 0.94.3, 0.96.0


I've seen a lot of users getting confused by the TTL configuration and I think 
that if we just pretty printed it it would solve most of the issues. For 
example, let's say a user wanted to set a TTL of 90 days. That would be 
7776000. But let's say that it was typo'd to 77760000 instead, it gives you 900 
days!

So when we print the TTL we could do something like "x days, x hours, x 
minutes, x seconds (real_ttl_value)". This would also help people when they use 
ms instead of seconds as they would see really big values in there.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to