报错ZooKeeper exists failed after 4 attempts,sparkStreaming saveToPhoenix
ERROR (org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper:retryOrThrow) - ZooKeeper exists failed after 4 attemptsERROR (org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher:keeperException) - hconn
ERROR (org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper:retryOrThrow) - ZooKeeper exists failed after 4 attempts
ERROR (org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher:keeperException) - hconnection-0x2ab9dd470x0, quorum=node1:2181, node2:2181,node3:2181, baseZNode=/hbase Received unexpected KeeperException, re-throwing exception
org.apache.zookeeper.KeeperException$OperationTimeoutException: KeeperErrorCode = OperationTimeout
rdd.saveToPhoenix( "xx", Seq("xx", "xx"), new Configuration, Some("node1,node2,node3:2181") )
一直报zk的错误,但是hbase可以正常启用,查看了配置hbase的配置也没有错误,最后发现错误在这个saveToPhoenix,这个Some("node1,node2,node3:2181"),引号中的配置一个空格都不要加!!!!

GitCode 天启AI是一款由 GitCode 团队打造的智能助手,基于先进的LLM(大语言模型)与多智能体 Agent 技术构建,致力于为用户提供高效、智能、多模态的创作与开发支持。它不仅支持自然语言对话,还具备处理文件、生成 PPT、撰写分析报告、开发 Web 应用等多项能力,真正做到“一句话,让 Al帮你完成复杂任务”。
更多推荐
所有评论(0)