You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/07/19 02:26:39 UTC

[jira] [Updated] (HBASE-3270) When we create the .version file, we should create it in a tmp location and then move it into place

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

Andrew Purtell updated HBASE-3270:
----------------------------------

    Fix Version/s: 2.0.0
                   0.98.5
                   0.99.0

Still worth doing? I checked FSUtils#setVersion and we still don't do as suggested on this issue.

> 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
>            Priority: Minor
>             Fix For: 0.99.0, 0.98.5, 2.0.0
>
>
> 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)