conf/hbase-site.xml
<?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文件改为
127.0.0.1 localhost #127.0.1.1 rush-Vostro-1400 127.0.0.1 rush-Vostro-1400