55 lines
2.0 KiB
XML
Executable File
55 lines
2.0 KiB
XML
Executable File
<?xml version="1.0"?>
|
|
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
|
|
<!--
|
|
/**
|
|
*
|
|
* Licensed to the Apache Software Foundation (ASF) under one
|
|
* or more contributor license agreements. See the NOTICE file
|
|
* distributed with this work for additional information
|
|
* regarding copyright ownership. The ASF licenses this file
|
|
* to you under the Apache License, Version 2.0 (the
|
|
* "License"); you may not use this file except in compliance
|
|
* with the License. You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
-->
|
|
<configuration>
|
|
<property>
|
|
<name>hbase.rootdir</name>
|
|
<value>hdfs://master:9000/hbase-1.1.5/data</value>
|
|
</property>
|
|
<property>
|
|
<name>hbase.cluster.distributed</name>
|
|
<value>true</value>
|
|
</property>
|
|
<property>
|
|
<name>hbase.zookeeper.property.dataDir</name>
|
|
<value>/opt/module/zookeeper-3.4.10/zkData</value>
|
|
</property>
|
|
<property>
|
|
<name>hbase.zookeeper.quorum</name>
|
|
<value>master:2181,slave1:2181,slave2:2181,slave3:2181</value>
|
|
</property>
|
|
<property>
|
|
<name>hbase.security.authorization</name>
|
|
<value>true</value>
|
|
</property>
|
|
|
|
<property>
|
|
<name>hbase.coprocessor.master.classes</name>
|
|
<value>org.apache.hadoop.hbase.security.access.AccessController</value>
|
|
</property>
|
|
|
|
<property>
|
|
<name>hbase.coprocessor.region.classes</name>
|
|
<value>org.apache.hadoop.hbase.security.token.TokenProvider,org.apache.hadoop.hbase.security.access.AccessController</value>
|
|
</property>
|
|
</configuration>
|