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/10 22:33:34 UTC

[jira] [Updated] (ACCUMULO-3224) Shell should use nanos for auth timeout

     [ https://issues.apache.org/jira/browse/ACCUMULO-3224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Tubbs updated ACCUMULO-3224:
----------------------------------------
    Status: Patch Available  (was: Open)

> Shell should use nanos for auth timeout
> ---------------------------------------
>
>                 Key: ACCUMULO-3224
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3224
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: shell
>            Reporter: Christopher Tubbs
>            Assignee: Christopher Tubbs
>             Fix For: 1.5.3, 1.6.2, 1.7.0
>
>
> I was looking at the code done for ACCUMULO-3221 and noticed that we're using the system clock instead of the JDK's internal relative time, System.nanoTime(). This is a problem, because any auth timeout that depends on the system clock can be easily bypassed by changing the system time.
> We can also do the time conversion more reliably with {{TimeUnit}} to avoid the potential arithmetic bug identified in ACCUMULO-3221.



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