accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-3229) Shell displays authTimeout poorly
Date Fri, 10 Oct 2014 23:16:34 GMT
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)

Mime
View raw message