微型集群
windows 使用條件
1. NativeIO 替換掉殖妇,自己access直接返回true
2. 下載 winutil.exe
并配置System.setProperty("hadoop.home.dir","d:\winutil\");
注意 winnull.exe 放到winutil/bin目錄下
3. pom引入
1,2,3條可以在自己封裝的測試包中處理掉
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-server</artifactId>
<version>${hbase-client.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-server</artifactId>
<version>${hbase-client.version}</version>
<scope>test</scope>
<type>test-jar</type>
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-testing-util</artifactId>
<version>${hbase-client.version}</version>
<scope>test</scope>
</dependency>