|
@@ -0,0 +1,90 @@
|
|
|
+<?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://sagaCluster:8020/hbase</value>
|
|
|
+ </property>
|
|
|
+
|
|
|
+ <property>
|
|
|
+ <name>hbase.cluster.distributed</name>
|
|
|
+ <value>true</value>
|
|
|
+ </property>
|
|
|
+
|
|
|
+ <property>
|
|
|
+ <name>hbase.zookeeper.quorum</name>
|
|
|
+ <value>hadoop01,hadoop02,hadoop03</value>
|
|
|
+ </property>
|
|
|
+
|
|
|
+ <property>
|
|
|
+ <name>hbase.master.maxclockskew</name>
|
|
|
+ <value>180000</value>
|
|
|
+ <description>Time difference of regionserver from master</description>
|
|
|
+ </property>
|
|
|
+
|
|
|
+ <property>
|
|
|
+ <name>hbase.unsafe.stream.capability.enforce</name>
|
|
|
+ <value>false</value>
|
|
|
+ </property>-->
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 开启schema与namespace的对应关系 -->
|
|
|
+ <property>
|
|
|
+ <name>phoenix.schema.isNamespaceMappingEnabled</name>
|
|
|
+ <value>true</value>
|
|
|
+ </property>
|
|
|
+
|
|
|
+<!-- <property>
|
|
|
+ <name>phoenix.schema.mapSystemTablesToNamespace</name>
|
|
|
+ <value>true</value>
|
|
|
+ </property>-->
|
|
|
+ <!-- 配置Hbase支持Phoenix创建二级索引 -->
|
|
|
+ <!-- phoenix regionserver 配置参数 -->
|
|
|
+ <!--<property>
|
|
|
+ <name>hbase.regionserver.wal.codec</name>
|
|
|
+ <value>org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec</value>
|
|
|
+ </property>
|
|
|
+
|
|
|
+ <property>
|
|
|
+ <name>hbase.region.server.rpc.scheduler.factory.class</name>
|
|
|
+ <value>org.apache.hadoop.hbase.ipc.PhoenixRpcSchedulerFactory</value>
|
|
|
+ </property>
|
|
|
+
|
|
|
+ <property>
|
|
|
+ <name>hbase.rpc.controllerfactory.class</name>
|
|
|
+ <value>org.apache.hadoop.hbase.ipc.controller.ServerRpcControllerFactory</value>
|
|
|
+ </property>-->
|
|
|
+
|
|
|
+ <!-- phoenix master 配置参数 -->
|
|
|
+<!-- <property>
|
|
|
+ <name>hbase.master.loadbalancer.class</name>
|
|
|
+ <value>org.apache.phoenix.hbase.index.balancer.IndexLoadBalancer</value>
|
|
|
+ </property>
|
|
|
+
|
|
|
+ <property>
|
|
|
+ <name>hbase.coprocessor.master.classes</name>
|
|
|
+ <value>org.apache.phoenix.hbase.index.master.IndexMasterObserver</value>
|
|
|
+ </property>-->
|
|
|
+
|
|
|
+</configuration>
|