Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0014811FAC for ; Sat, 19 Jul 2014 00:28:38 +0000 (UTC) Received: (qmail 96957 invoked by uid 500); 19 Jul 2014 00:28:38 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 96909 invoked by uid 500); 19 Jul 2014 00:28:38 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 96895 invoked by uid 99); 19 Jul 2014 00:28:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jul 2014 00:28:38 +0000 Date: Sat, 19 Jul 2014 00:28:38 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-3270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14067277#comment-14067277 ] Andrew Purtell commented on HBASE-3270: --------------------------------------- [~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 > 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)