Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6990

Pretty print TTL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.99.0, 0.96.3, 0.98.3
    • Usability
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HBASE-6990.v4.patch
          9 kB
          Esteban Gutierrez
        2. HBASE-6990.v3.patch
          8 kB
          Esteban Gutierrez
        3. HBASE-6990.v2.patch
          7 kB
          Esteban Gutierrez
        4. HBASE-6990.v1.patch
          4 kB
          Esteban Gutierrez
        5. HBASE-6990.v0.patch
          4 kB
          Esteban Gutierrez

        Issue Links

          Activity

            People

              esteban Esteban Gutierrez
              jdcryans Jean-Daniel Cryans
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: