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
用一个例子来演示会更加清晰
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 如何调用 DeepSeek 的自然语言处理 API 接口并集成到在线客服系统
· 【译】Visual Studio 中新的强大生产力特性
· 2025年我用 Compose 写了一个 Todo App