windows 10 bash + hbase

先看下系统信息

下载 JDK 和 hbase 到 D 盘,然后设置环境变量

设置 hbase-env.sh
export JAVA_HOME=/mnt/d/Test/bash/jdk1.8.0_131

设置 hbase-site.xml

<configuration>
<property>
<name>hbase.rootdir</name>
<value>file:///mnt/d/Test/bash/tmp/hbase</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/mnt/d/Test/bash/tmp/zookeeper</value>
</property>
</configuration>

就可以启动了

web 页面也能用

启动客户端

————————————————————————————————————————————————
PS:
1.如果有问题可以删除这里
cd %LOCALAPPDATA%/lxss
rd temp /s /q

2.不建议做上边的测试

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s