hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Esteban Gutierrez <este...@cloudera.com>
Subject Re: HBase failing to restart in single-user mode
Date Wed, 20 May 2015 04:37:02 GMT
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


Cloudera, Inc.

On Tue, May 19, 2015 at 9:03 PM, Nick Dimiduk <ndimiduk@gmail.com> wrote:

> On Tue, May 19, 2015 at 4:45 PM, tsuna <tsunanet@gmail.com> wrote:
> > On Tue, May 19, 2015 at 11:27 AM, Esteban Gutierrez
> > <esteban@cloudera.com> 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/<some kind of hash>/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.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message