conf/hbase-site.xml
特别注意在ubuntu中,将/etc/hosts文件改为
[code]
127.0.0.1 localhost
#127.0.1.1 rush-Vostro-1400
127.0.0.1 rush-Vostro-1400
[/code]
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost:54310/hbase</value>
</property>
特别注意在ubuntu中,将/etc/hosts文件改为
[code]
127.0.0.1 localhost
#127.0.1.1 rush-Vostro-1400
127.0.0.1 rush-Vostro-1400
[/code]
本文详细介绍了在Ubuntu环境中配置HBase时修改/etc/hosts文件以正确映射主机名的过程,确保集群运行稳定。
12万+

被折叠的 条评论
为什么被折叠?



