hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Kolbasov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-17953) Metrics should move to destination atomically
Date Wed, 01 Nov 2017 01:03:14 GMT

    [ https://issues.apache.org/jira/browse/HIVE-17953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16233531#comment-16233531
] 

Alexander Kolbasov commented on HIVE-17953:
-------------------------------------------

[~asherman] [~stakiar] FYI

> Metrics should move to destination atomically
> ---------------------------------------------
>
>                 Key: HIVE-17953
>                 URL: https://issues.apache.org/jira/browse/HIVE-17953
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 3.0.0
>            Reporter: Alexander Kolbasov
>            Assignee: Alexander Kolbasov
>         Attachments: HIVE-17953.01.patch
>
>
> HIVE-17563 reimplemented metrics using native nio interfaces. It used the assumption
that{{Files.move()}} is atomic operation. It turns out that by default it isn't, unless {{ATOMIC_MOVE}}
option is specified. Otherwise the destination file is unlinked and then the source file is
copied.
> This may cause test failure since the file may be temporarily unavailable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message