首页 > 其他 > 详细

Hbase标准配置文件

时间:2019-09-04 17:36:31      阅读:74      评论:0      收藏:0      [点我收藏+]

1.可用配置文件

<?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://do4/hbase</value>
   </property>
     <!--启用分布式集群-->
   <property>
     <name>hbase.cluster.distributed</name>
     <value>true</value>
   </property>
      <!--默认HMaster HTTP访问端口-->
     <property>
      <name>hbase.master.info.port</name>
      <value>16010</value>
     </property>
      <!--默认HRegionServer HTTP访问端口-->
    <property>
       <name>hbase.regionserver.info.port</name>
       <value>16030</value>
    </property>
    <property>
      <name>hbase.zookeeper.quorum</name>
      <value>do9cloud01:2181,do8cloud02:2181,do7cloud03:2181</value>
    </property>
   <property>
      <name>hbase.coprocessor.abortonerror</name>
     <value>false</value>
    </property>
<property>
        <name>hbase.tmp.dir</name>
        <value>/do2cloud/hbase-2.0.5/tmp</value>
        <description>Temporary directory on the local filesystem.</description>
</property>
<property>
<name>hbase.unsafe.stream.capability.enforce</name>
<value>false</value>
</property>
 </configuration>

2.error: KeeperErrorCode = NoNode for /hbase/master

参考这篇文档

https://www.cnblogs.com/yanghuahui/p/3317682.html

技术分享图片

技术分享图片

Hbase标准配置文件

原文:https://www.cnblogs.com/hixiaowei/p/11460187.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!