You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2014/10/11 01:16:34 UTC

[jira] [Created] (ACCUMULO-3229) Shell displays authTimeout poorly

Christopher Tubbs created ACCUMULO-3229:
-------------------------------------------

             Summary: Shell displays authTimeout poorly
                 Key: ACCUMULO-3229
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3229
             Project: Accumulo
          Issue Type: Bug
          Components: shell
            Reporter: Christopher Tubbs
            Assignee: Christopher Tubbs
             Fix For: 1.5.3, 1.6.2, 1.7.0


The authTimeout in the shell is displayed badly when executing {{about -v}}.
Even though it is configured in integer minutes, it is converted to seconds for display as a floating point number with 2 decimals. This makes no sense, since the decimals will always be {{.00}}.

We can keep the units in seconds, I guess, but this needs to be displayed with {{%ds}} not {{%.2fs}}. This was broken in ACCUMULO-3224 by using TimeUnit to convert the number, instead of dividing by 1000.0 as we were doing manually before.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)