• Hbase标准配置文件 + 增删改查 -- zkui Zookeeper可视化工具


    0.https://www.cnblogs.com/cheyunhua/p/9776627.html  zkui它提供了一个管理界面,可以针对zookeepr的节点值进行CRUD操作,同时也提供了安全认证。

    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

    ----------------------------------------------------------------------------------------------------------

    1.查询方式

    1、全表查询:scan tableName
    
    2、基于rowkey的单行查询:get tableName,'1'
    
    3、基于rowkey的范围扫描:scan tableName, {STARTROW=>'1',STOPROW=>'2'}
    https://zhuanlan.zhihu.com/p/75454915
  • 相关阅读:
    问题——虚拟机连接,查本地DNS,查软件位置,payload生成,检测注册表变化
    nmap命令解释
    SMB扫描,SMTP扫描
    操作系统识别,SNMP扫描
    服务扫描——查询banner信息,服务识别
    nmap之扫描端口(附加hping3隐藏扫描)
    scapy简单用法——四层发现
    转载 界面组装器模式
    设计模式=外观模式
    如何进行自动化测试和手工测试
  • 原文地址:https://www.cnblogs.com/hixiaowei/p/11460187.html
Copyright © 2020-2023  润新知