[英]Is it possible to connect HADOOP from non HDFS filesystem HBASE?
Configuration of hbase-site.xml @HBase hbase-site.xml @HBase的配置
<property> <name>hbase.rootdir</name> <value>file:///D:/LocalData/HBASEDATA/</value> </property>
HBase use Hadoop to leverage distributed file system and robust fault tolerant nature. HBase使用Hadoop来利用分布式文件系统和强大的容错性。 If you are planning for non HDFS filesystem for Hbase, it will still work.
如果您计划为Hbase使用非HDFS文件系统,它将仍然有效。 You would not be able to get above advantages of HDFS and then there is no point in connecting to Hadoop, if you do not want to use HDFS.
您将无法获得HDFS的上述优势,因此,如果您不想使用HDFS,则没有必要连接到Hadoop。
I would suggest to use HDFS filesystem, if your data spans more than single machine. 如果您的数据跨越单个计算机,则建议使用HDFS文件系统。 You can then set above property with hdfs path.
然后,您可以使用hdfs path设置上述属性。
hdfs://nn:port/hbase HDFS:// NN:端口/ HBase的
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.