Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B298FFF68 for ; Mon, 25 Mar 2013 11:56:12 +0000 (UTC) Received: (qmail 32654 invoked by uid 500); 25 Mar 2013 11:56:12 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 32314 invoked by uid 500); 25 Mar 2013 11:56:09 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 32281 invoked by uid 99); 25 Mar 2013 11:56:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Mar 2013 11:56:08 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ramkrishna.s.vasudevan@gmail.com designates 209.85.216.45 as permitted sender) Received: from [209.85.216.45] (HELO mail-qa0-f45.google.com) (209.85.216.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Mar 2013 11:56:02 +0000 Received: by mail-qa0-f45.google.com with SMTP id hg5so911036qab.18 for ; Mon, 25 Mar 2013 04:55:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=YHqh+JjMjV6LvayQOb/DRQy3IYtd9cOY85Yb9ueUivU=; b=cRwUd70TKMQQqVifThliuR+0zGsbmwUTgSaiOgiE8ThFB5I04bUBoNBgw0Xbz23NOo I3gDZzqthi6m2qCySYrj9BB/JtWVbRIt6o7Kpfzc20/cwJWrAH81wkkoDhPBKPcNlBxw 8mbDv5zOot5qat00fzn9Wx++s0CQFmGqnKGjsuGfBUJBsJOXqFCn3rc4NgyBpQn26n4l IYVgqw1cbTMfnwq4pgwFNyH9EU3TL5Zved6PG0MZ775s5r7OVYlZyyStXdmm8Y1kVyQ8 LlTxt9Uwzx+GFtnqVP7jaNzTeyGtf7HMjYEZf0ke5Ugb0EJxHEKzAU2FjggbCJq9UeXU w4XA== MIME-Version: 1.0 X-Received: by 10.229.175.6 with SMTP id v6mr1709199qcz.4.1364212541344; Mon, 25 Mar 2013 04:55:41 -0700 (PDT) Received: by 10.49.15.68 with HTTP; Mon, 25 Mar 2013 04:55:41 -0700 (PDT) Date: Mon, 25 Mar 2013 17:25:41 +0530 Message-ID: Subject: Clearing the .tmp directory on master startup From: ramkrishna vasudevan To: dev@hbase.apache.org Content-Type: multipart/alternative; boundary=0016e68fcedbecd65f04d8be7b2b X-Virus-Checked: Checked by ClamAV on apache.org --0016e68fcedbecd65f04d8be7b2b Content-Type: text/plain; charset=ISO-8859-1 Hi Devs Currently the HMaster initilization deletes the files under .tmp using the HFileArchiver. in HMaster().new MasterFileSystem().createInitialFileSystemLayout(). Actually i was thinking of using this info in the .tmp directory for the tables that were partially created so that on master restart i can use this info to recreate the table fully. But i found that we are deleting this .tmp directory. My question here is will it be ok to delete the .tmp directory after the this.assignmentManager.joinCluster(), call in HMaster.finishInitialization? Because by this time i would be knowing what are the partially created tables. Just wanted to confirm before i can make this change? My worry was, may be snapshot is trying to utilize this info and doing something. Regards Ram --0016e68fcedbecd65f04d8be7b2b--