Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5A4A618633 for ; Wed, 20 May 2015 04:37:26 +0000 (UTC) Received: (qmail 31946 invoked by uid 500); 20 May 2015 04:37:24 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 31780 invoked by uid 500); 20 May 2015 04:37:24 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 30902 invoked by uid 99); 20 May 2015 04:37:23 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2015 04:37:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 1AFE4C6448 for ; Wed, 20 May 2015 04:37:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.98 X-Spam-Level: ** X-Spam-Status: No, score=2.98 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 67-M4Ub6Tmu3 for ; Wed, 20 May 2015 04:37:19 +0000 (UTC) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 506DB20B96 for ; Wed, 20 May 2015 04:37:18 +0000 (UTC) Received: by labbd9 with SMTP id bd9so56134011lab.2 for ; Tue, 19 May 2015 21:37:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=QH1zQOMpqqRar3rNsgLmPxwP11mh7acIcYqVFHtdogo=; b=Q3Y+OqYHXOi/mD3zQpNVDWr0+vD/U0idcjnMkimntPxM4K9MVDbVtdHuQB8veKwaQO bbl2/sixYtGP2IekXUQYAUYUtNObhuIB93O1UU/XyLn1mviHn/dcGuQJy7B6IEq3Dk2O XFMFfFA2tHH7G0pHW19RIBXwgRRUfc3CFtacSu+2wyhQZyL8Bnf3/lr+rmN1ooIpFQK9 FrcevHZ2BVYdoTdYitPDbiyPa24Xem0ciwxoooH2SGAmM1WVsK9tCfXcq74lMlUADalu GZF8kXx/PYK1uCmUJyQHN7ptEUyXB9VJjaJkedsXD9TOdgAWhu2SlSg6+Kb/RXL6yxhI bR6Q== X-Gm-Message-State: ALoCoQkXdgSwq44vwxE07B8DtAX89ygYqczpyX/Ib+ckp5ovU8UAjewEWcVUFK4biLyHqmMCAOdH X-Received: by 10.152.204.40 with SMTP id kv8mr5777008lac.113.1432096637734; Tue, 19 May 2015 21:37:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.143.148 with HTTP; Tue, 19 May 2015 21:37:02 -0700 (PDT) In-Reply-To: References: From: Esteban Gutierrez Date: Tue, 19 May 2015 21:37:02 -0700 Message-ID: Subject: Re: HBase failing to restart in single-user mode To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a11347da6606f5a05167bfb45 --001a11347da6606f5a05167bfb45 Content-Type: text/plain; charset=UTF-8 The randomshit is generated per user. /var/folders has multiple subdirectories and each one contains subdirs of the users. Also there are some rules under /etc/defaults/periodic.conf and /etc/periodic/daily/110.clean-tmps that define how frequently the tmp directories are cleaned so its rare people change that on Mac OS X but thats something to consider. I tried to reproduce Benoit's issue few times following the same steps and changing TMPDIR and no luck, perhaps there is something else in Benoit's environment. esteban. -- Cloudera, Inc. On Tue, May 19, 2015 at 9:03 PM, Nick Dimiduk wrote: > On Tue, May 19, 2015 at 4:45 PM, tsuna wrote: > > > On Tue, May 19, 2015 at 11:27 AM, Esteban Gutierrez > > wrote: > > > Something that works for me is to set manually > > > -Djava.io.tmpdir=/User/esteban/tmp in the jvm arguments, otherwise Mac > > OS > > > X will use /var/folders/c2//T for TMPDIR causing all > > > kind of weird issues. You could also set TMPDIR to point to another > > > location but you will have to remember that all the time. > > > > How do we explain this? What does ZK care whether it uses > > /Users/foo/blah or /var/folders/c2/randomshit/T or anything else? > > > > Is the randomshit a hash of the processID, for instance? I don't know what > OSX is doing under the hood with this /tmp mapping. Hence I explicitly tell > hbase to use "/tmp" instead of ${java.io.tmpdir}. I guess Esteban's > -Djava.io.tmpdir override would achieve similar results. > --001a11347da6606f5a05167bfb45--