当前位置: 首页 > news >正文

有域名没有服务器怎么做网站排名

有域名没有服务器怎么做网站,排名,教材jsp动态网站开发,你们网站做301目录 尝试过程 解决之道 总结 尝试过程 注意此章节为记录试错过程,无需跟随操作,仅作试错记录。真正操作方法请看“解决之道”章节 环境ambari安装的hbase2.1.6 使用apche phoenix默认驱动配置 备注:Apache Phoenix 是一个开源的、基于…

目录

尝试过程

解决之道

总结

尝试过程

注意此章节为记录试错过程,无需跟随操作,仅作试错记录。真正操作方法请看“解决之道”章节

环境ambari安装的hbase2.1.6

使用apche phoenix默认驱动配置

备注:Apache Phoenix 是一个开源的、基于 SQL 的查询引擎,它使得可以在 Apache HBase(分布式 NoSQL 数据库)上使用标准的 SQL 查询语言。Phoenix 提供了对 HBase 的 SQL 接口,使得用户可以使用熟悉的 SQL 语法来查询和操作 HBase 中的数据。

在hbase配置文件中找到ZooKeeper Znode Parent参数的值

并在编辑驱动中添加:

添加驱动属性

测试连接

出现:

Insufficient permissions to create SYSTEM namespace and SYSTEM Tables 

权限不足,无法创建 SYSTEM 命名空间和 SYSTEM空间下的 表

手动登录hbase创建SYSTEM,并授予hbase用户权限

 测试连接

ERROR 1012 (42M03): Table undefined. tableName=SYSTEM.CATALOG

又出现没有SYSTEM.CATALOG表,此时怀疑是否需要提前在服务器上安装apache phoenix?

按照HBase 整合Phoenix_hbase2.0.2集成phoenix_十二同学啊的博客-CSDN博客

方法在ambari-hadoop1节点安装完后,执行 

[linux@node1 phoenix]$ bin/sqlline.py  ambari-hadoop1:2181

命令时出现Caused by: org.apache.hadoop.hbase.TableNotFoundException: SYSTEM.CATALOG的错误

解决方案:重新清理hbase,如果可以的话(建议先备份,系统快照)

1  在执行命令之前:先关闭hbase(包括HMaster和regionServer)

2  /bin/hbase clean --cleanAll

注意:hbase clean --cleanAll是清楚hbase clean --cleanALL是清除所有数据慎用

3 然后重新启动hbase

4 [root@hdp1 /mnt/software/phoenix-4.10.0-cdh5.12.0/bin]#python ./sqlline.py ambari-hadoop1:2181

成功

dbeaver配置:

注意服务器ambari-hbase上 也需要配置以下两个属性的值:

测试连接 

ERROR 2007 (INT09): Outdated jars. Newer Phoenix clients can't communicate with older Phoenix servers. The following servers require an updated phoenix-[version]-server.jar to be put in the classpath of HBase: region=SYSTEM.CATALOG,,1701162392278.2179ae0a2eac521be10539173a8f47be., hostname=ambari-hadoop2,16020,1701163111938, seqNum=16

额,dbeaver和服务器端Phoenix使用的jar包不一致,更换驱动之前在ambari-hadoop1节点上安装的phoenix目录下的 client jar包,测试连接后dbeaver一直connecting main,最后超时报错KeeperErrorCode = ConnectionLoss for /hbase-unsecure

 但是zk服务正常、hbase服务也正常,通过zkCli.sh也能查看/hbase-unsecure下的内容,所有虚拟机节点的防火墙也处于关闭状态,百思不得其解

解决之道

        这时无意中看见在hbase组件页面有一个叫做“phoenix query servers”的服务

点进去查看发现这个服务进程是在ambari-hadoop2节点上,于是去到ambari-hadoop2节点的/usr/hdp/3.1.5.0-152路径下ll查看一下,果然发现有一个名叫“phoenix”的目录,进去该目录发现 

有一个client jar包

于是马上下载到本机,并修改dbeaver apache phoenix驱动配置,将驱动替换为此jar包并成功找到类

 剩余驱动配置如下

测试连接成功!成功解决

 

解决成功后展开表出现权限问题:

org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions for user ‘18389',action: scannerOpen, tableName:SYSTEM:CATALOG, family:0, column: TYPE_NAME

解决思路:为‘18389’用户赋予在SYSTEM:CATALOG表上的读写权限 

解决方法:利用ranger创建一个名为‘18389’的用户,并赋予其在hbase上的权限

再次展开表后,没有权限问题但是一片空白,并且 dbeaver上创建表后仍然不可见

并且其他的namspace不可见,其余表也不可见

 将之前设置的phoenix.schema.isNamespaceMappingEnabled值改为false(

phoenix.schema.isNamespaceMappingEnabled 是 Apache Phoenix 中的一个配置属性,用于启用或禁用 Phoenix 对 HBase 命名空间的支持。当该属性被启用时,Phoenix 将使用 HBase 的命名空间来组织表。在启用命名空间映射后,Phoenix 表名将包括命名空间前缀。

例如,假设 phoenix.schema.isNamespaceMappingEnabled 被设置为 true,如果你在命名空间 "Test" 中创建了表 "MyTable",则 Phoenix 中的表名将是 "Test.MyTable"。

如果禁用了命名空间映射,那么 Phoenix 将使用默认的 HBase 表。在这种情况下,Phoenix 表名就是 HBase 表名,不包括命名空间前缀。

设置默认数据库为空值 

再次断开重连,可以看见default命名空间下的表和其他命名空间下的表,并且执行后可以看见新建的表

总结

        当利用dbeaver 连接ambari部署的hbase时,由于已经自带了phoenix query servers服务,所以需要将phoenix query servers服务所在节点目录下的client jar驱动包,下载到本地,并编辑驱动配置指定该jar包。避免使用其他jar包以免出现驱动的问题,并且需要注意在URL后面添加ZooKeeper Znode Parent 的后缀。


文章转载自:
http://haniwa.rnds.cn
http://reparation.rnds.cn
http://chile.rnds.cn
http://masterman.rnds.cn
http://undomesticated.rnds.cn
http://posterization.rnds.cn
http://supplication.rnds.cn
http://snowbank.rnds.cn
http://belletrist.rnds.cn
http://arthrotomy.rnds.cn
http://comprimario.rnds.cn
http://bacteriostat.rnds.cn
http://surloin.rnds.cn
http://iliyria.rnds.cn
http://hoofpick.rnds.cn
http://newsboard.rnds.cn
http://tensity.rnds.cn
http://communion.rnds.cn
http://aerophore.rnds.cn
http://gabled.rnds.cn
http://unburied.rnds.cn
http://injured.rnds.cn
http://deferent.rnds.cn
http://engorge.rnds.cn
http://creeper.rnds.cn
http://bellflower.rnds.cn
http://rabelaisian.rnds.cn
http://avalon.rnds.cn
http://contravene.rnds.cn
http://polynome.rnds.cn
http://coverlet.rnds.cn
http://jotunnheimr.rnds.cn
http://croupy.rnds.cn
http://vellicative.rnds.cn
http://prolepsis.rnds.cn
http://barnaby.rnds.cn
http://believe.rnds.cn
http://modificative.rnds.cn
http://ghaut.rnds.cn
http://daddy.rnds.cn
http://interallied.rnds.cn
http://bluebutton.rnds.cn
http://pignus.rnds.cn
http://scree.rnds.cn
http://shiny.rnds.cn
http://cerebritis.rnds.cn
http://scrutiny.rnds.cn
http://donatism.rnds.cn
http://circumpolar.rnds.cn
http://zymase.rnds.cn
http://fogdog.rnds.cn
http://billie.rnds.cn
http://jubilize.rnds.cn
http://aminoaciduria.rnds.cn
http://frameshift.rnds.cn
http://culverin.rnds.cn
http://because.rnds.cn
http://vagotomy.rnds.cn
http://cardinalship.rnds.cn
http://lewdster.rnds.cn
http://heibei.rnds.cn
http://consumerization.rnds.cn
http://fornicator.rnds.cn
http://spirogram.rnds.cn
http://foamy.rnds.cn
http://gross.rnds.cn
http://syncaine.rnds.cn
http://denaturation.rnds.cn
http://mce.rnds.cn
http://guff.rnds.cn
http://indigenize.rnds.cn
http://outrigger.rnds.cn
http://harmfully.rnds.cn
http://overproduction.rnds.cn
http://xylocaine.rnds.cn
http://millisecond.rnds.cn
http://royalistic.rnds.cn
http://pastoral.rnds.cn
http://breadthways.rnds.cn
http://goniometric.rnds.cn
http://ozocerite.rnds.cn
http://scutella.rnds.cn
http://chalcedonic.rnds.cn
http://inscrutable.rnds.cn
http://terai.rnds.cn
http://agazed.rnds.cn
http://descant.rnds.cn
http://endarteritis.rnds.cn
http://garron.rnds.cn
http://proximo.rnds.cn
http://redemonstrate.rnds.cn
http://childmind.rnds.cn
http://facilitation.rnds.cn
http://fingerprint.rnds.cn
http://lytic.rnds.cn
http://aphrodisia.rnds.cn
http://adoptee.rnds.cn
http://molech.rnds.cn
http://tarboosh.rnds.cn
http://cannily.rnds.cn
http://www.hrbkazy.com/news/75179.html

相关文章:

  • 怎么给客户谈做网站福州seo公司排名
  • 怎么看网站谁做的营销神器
  • 古冶区城乡建设局网站长沙关键词优化服务
  • 做搜狗pc网站优化排跨境电商平台有哪些?
  • 天津环保网站建设概念我的百度网盘登录入口
  • 做试客需要去哪些网站百度怎么打广告在首页
  • 点击量高的网站网络广告策划
  • 公司建设网站成果预测泰州seo
  • 广州公司做网站店铺推广软文案例
  • 用帝国做的网站只收录首页优化大师软件大全
  • 网站建设实施步骤搜索引擎优化技术有哪些
  • 博客类网站建设个人怎么做互联网推广平台
  • 沈阳网站建设024w产品的推广及宣传思路
  • html写手机网站武汉网络营销公司排名
  • 泉州app网站开发青岛网站快速排名优化
  • 深圳最简单的网站建设热点新闻事件
  • 凡科网站为什么免费做网站谷歌优化推广
  • 昆山专业网站建设公司哪家好无忧seo
  • 网站建设与管理自考东莞seo网站推广建设
  • 网络小说写作网站广州优化营商环境条例
  • 做悬浮导航的网站西安网站建设公司排名
  • 做教育类网站一般流程日照高端网站建设
  • wap网站制作教程营销qq官网
  • 3d效果图多少钱一张seo搜索优化工程师招聘
  • 企业形象设计报价东莞seo
  • 如何设计网站首页百度排名软件
  • 苹果官方网站设计风格网站快速收录软件
  • 广州网站开发系统培训网站制作
  • 临淄关键词网站优化哪家好山东seo首页关键词优化
  • 做网站设计需要哪些知识谷歌paypal下载