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/08/01 18:37:39 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14082453#comment-14082453 ]
Andrew Purtell commented on HBASE-3270:
---------------------------------------
Attached patch that applies to 0.98+. Tested with master, some unit tests fail for other reasons. Tested with 0.98, all unit tests pass, minicluster will come up. No reason to think the change presents a problem. Ping [~stack]
> 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)