hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-3270) When we create the .version file, we should create it in a tmp location and then move it into place
Date Fri, 01 Aug 2014 16:51:38 GMT

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

stack commented on HBASE-3270:
------------------------------

Excellent [~apurtell]  +1

> When we create the .version file, we should create it in a tmp location and then move
it into place
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-3270
>                 URL: https://issues.apache.org/jira/browse/HBASE-3270
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>            Reporter: stack
>            Assignee: Andrew Purtell
>            Priority: Minor
>              Labels: newbie
>             Fix For: 0.99.0, 0.98.5, 2.0.0
>
>         Attachments: HBASE-3270.patch
>
>
> Todd suggests over in HBASE-3258 that writing hbase.version, we should write it off in
a /tmp location and then move it into place after writing it to protect against case where
file writer crashes between creation and write.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message