hadoop - how to store hbase tables permanently on VM -



hadoop - how to store hbase tables permanently on VM -

i doing simple stuff in hbase on vm using mass load . how how persist tables permanently in hbase. if restart vm tables gone so, have command store permanently .

if start hbase in local mode (i.e., using file scheme , not hdfs), of info default saved in /tmp. linux systems wipe /tmp on reboot (i.e. turning vm on , off).

there 3 ways of dealing this

use hdfs store data change hbase-site.xml file point location other /tmp data never, ever, shutdown vm (seriously, don't this)

the right property set, quoting hbase book:

<property> <name>hbase.rootdir</name> <value>file:///directory/hbase</value> </property>

where directory replaced whereever want store data

hadoop hive hbase

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -