hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8680) OzoneHandler : Add Local StorageHandler support for volumes
Date Thu, 02 Jul 2015 23:01:05 GMT

    [ https://issues.apache.org/jira/browse/HDFS-8680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14612655#comment-14612655

Chris Nauroth commented on HDFS-8680:

Hi [~anu].  I just noticed that {{OzoneUtils}} constructs {{Date}} instances based on {{Time#monotonicNow}}.
 I expect this doesn't create correct dates, because the {{Date}} constructor expects milliseconds
since 1970, but {{Time#monotonicNow}} is based on {{System#nanoTime}}, which can return any
arbitrary number depending on the state of the timer.  Switching to {{System#currentTimeMillis}}
ought to fix this.

> OzoneHandler : Add Local StorageHandler support for volumes
> -----------------------------------------------------------
>                 Key: HDFS-8680
>                 URL: https://issues.apache.org/jira/browse/HDFS-8680
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Anu Engineer
>            Assignee: Anu Engineer
>         Attachments: hdfs-8680-HDFS-7240.001.patch
> Add a local StorageHandler that can store data into local DB. This is useful for running
tests against MiniDFSCluster in the stand-alone mode.

This message was sent by Atlassian JIRA

View raw message