hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Dimiduk <ndimi...@gmail.com>
Subject Re: HBase failing to restart in single-user mode
Date Wed, 20 May 2015 04:03:50 GMT
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