hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: Who creates hbase root.dir ?
Date Fri, 07 Feb 2014 23:45:08 GMT
IIRC it used to be an issue if the folder was already existing, even if
empty. It's not the case anymore.

J-D


On Fri, Feb 7, 2014 at 3:38 PM, Jay Vyas <jayunit100@gmail.com> wrote:

> Hi hbase.
>
> In normal installations, Im wondering who should create hbase root.dir.
>
> 1) I have seen pseudo-distributed mode docs implying that Hbase is smart
> enough to do it by itself.
>
> "Let HBase create the hbase.rootdir directory. If you don't, you'll get
> warning saying HBase needs a migration run because the directory is missing
> files expected by HBase (it'll create them if you let it)."
>
> 2) But in bigtop, I see "mkdir" in the init-hdfs.sh :
>
> su -s /bin/bash hdfs -c '/usr/bin/hadoop fs -mkdir /hbase'
> su -s /bin/bash hdfs -c '/usr/bin/hadoop fs -chown hbase:hbase /hbase'
>
> So whats the right way to maintain hbase-root ?
>
>
>
> --
> Jay Vyas
> http://jayunit100.blogspot.com
>

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