概述使用HBql Zookeeper不会尝试使用SASL进行身份validation
我想testingHBase的HBase的简单用法。我遵循HBql网站( http://www.hbql.com/installation.HTML )上描述的步骤。 最后,在HBQL控制台中键入version-command来valIDation我的安装时,我收到以下消息:
[main] INFO org.apache.zookeeper.ZooKeeper – ClIEnt environment:zookeeper.version=3.4.4-1386507,built on 09/17/2012 08:33 GMT [main] INFO org.apache.zookeeper.ZooKeeper – ClIEnt environment:host.name=aleebi [main] INFO org.apache.zookeeper.ZooKeeper – ClIEnt environment:java.version=1.6.0_18 [main] INFO org.apache.zookeeper.ZooKeeper – ClIEnt environment:java.vendor=Sun Microsystems Inc. [main] INFO org.apache.zookeeper.ZooKeeper – ClIEnt environment:java.home=/usr/lib/jvm/java-6-openjdk/jre [main] INFO org.apache.zookeeper.ZooKeeper – ClIEnt environment:java.class.path=:/usr/local/hbase-0.94.2/hbase-0.94.2.jar:/usr/local/hadoop-1.0.4/hadoop-core-1.0.4.jar:/usr/local/hadoop-1.0.4/contrib/index/hadoop-index-1.0.4.jar:/usr/local/hbql-0.90.0.1/hbql-0.90.0.1.jar:/usr/local/hbase-transactional-tableindexed/org/apache/hbase-trx-0.90.0RC3.jar:/usr/local/hbql-0.90.0.1/lib/antlr-runtime-3.1.3.jar:/usr/local/hbql-0.90.0.1/lib/jline-0.9.94.jar:/usr/local/commons-logging-1.1.1/commons-logging-1.1.1.jar:/usr/local/hbase-0.94.2/lib:/usr/local/hadoop-1.0.4/lib:/usr/local/commons-configuration-1.9/commons-configuration-1.9.jar:/usr/local/commons-configuration-1.9/apache-commons-lang.jar:/usr/local/zookeeper-3.4.4/zookeeper-3.4.4.jar:/usr/local/slf4j-1.7.2/slf4j-api-1.7.2.jar:/usr/local/slf4j-1.7.2/slf4j-simple-1.7.2.jar::/usr/local/hbql-0.90.0.1/lib/jline-0.9.94.jar:/usr/local/hbql-0.90.0.1/lib/antlr-runtime-3.1.3.jar:/usr/local/hbql-0.90.0.1/hbql-0.90.0.1 [main] INFO org.apache.zookeeper.ZooKeeper – ClIEnt environment:java.library.path=/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib/jni:/lib:/usr/lib [main] INFO org.apache.zookeeper.ZooKeeper – ClIEnt environment:java.io.tmpdir=/tmp [main] INFO org.apache.zookeeper.ZooKeeper – ClIEnt environment:java.compiler=<NA> [main] INFO org.apache.zookeeper.ZooKeeper – ClIEnt environment:os.name=linux [main] INFO org.apache.zookeeper.ZooKeeper – ClIEnt environment:os.arch=amd64 [main] INFO org.apache.zookeeper.ZooKeeper – ClIEnt environment:os.version=2.6.32-5-amd64 [main] INFO org.apache.zookeeper.ZooKeeper – ClIEnt environment:user.name=aleebi [main] INFO org.apache.zookeeper.ZooKeeper – ClIEnt environment:user.home=/home/aleebi [main] INFO org.apache.zookeeper.ZooKeeper – ClIEnt environment:user.dir=/usr/local/hbql-0.90.0.1 [main] INFO org.apache.zookeeper.ZooKeeper – Initiating clIEnt connection,connectString=localhost:2181 sessionTimeout=180000 watcher=hconnection [main-SendThread(localhost:2181)] INFO org.apache.zookeeper.ClIEntCnxn – opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unkNown error) [main-SendThread(localhost:2181)] WARN org.apache.zookeeper.ClIEntCnxn – Session 0x0 for server null,unexpected error,closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.socketChannelimpl.checkConnect(Native Method) at sun.nio.ch.socketChannelimpl.finishConnect(SocketChannelimpl.java:592) at org.apache.zookeeper.ClIEntCnxnSocketNIO.doTransport(ClIEntCnxnSocketNIO.java:348) at org.apache.zookeeper.ClIEntCnxn$SendThread.run(ClIEntCnxn.java:1068) 24.10.2012 12:57:55 org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper <init> INFO: The IDentifIEr of this process is 4698@aleebi 24.10.2012 12:57:55 org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper retryOrThrow WARNUNG: Possibly transIEnt ZooKeeper exception: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/master 24.10.2012 12:57:55 org.apache.hadoop.hbase.util.RetryCounter sleepUntilNextRetry
这些消息仅在使用HBql控制台时才会打印。 HBase以分布式模式成功运行,将数据存储在Debian上的HDFS上。您需要更多的信息吗? 我做了什么错误? 为什么SASL在这里需要,一般情况下像HBase的shell不是?
也许一些重要的configuration:
hbase-env.sh
windows上的Zookeeper
Startin HBase Shell – Zookeeper存在但失败
有没有办法dynamicconfigurationNginx(或其他快速反向代理)?
如何等待一个TCP端口真的(本地)在Java中closures?
动物园pipe理员高磁盘IO
hbase_manage_zk=true
HBase的-site.xml中
<property> <name>hbase.zookeeper.property.clIEntPort</name> <value>2222</value> </property> <property> <name>hbase.zookeeper.quorum</name> <value>master</value> </property> <property> <name>hbase.zookeeper.property.dataDir</name> <value>/usr/local/zookeeper</value> </property>
谢谢!
无法让ZooKeeper集群工作,选举从未发生
在linux重新启动后,Kafka抛出“尝试重新平衡时没有find中间商”
Kafkaspout没有收到来自Kafka的任何东西
在windows中设置Kafka日志目录属性
卡夫卡在没有docker的docker组成?
我最近用Nutch和Solr安装了HBase,也有类似的问题。 我不知道是否完全一样,不幸的是我没有日志,但肯定是连接相关。
事实证明,ZooKeeper的默认连接限制太低,增加hbase-site.xml这个值为我解决了这个问题:
<property> <name>hbase.zookeeper.property.maxClIEntCnxns</name> <value>1000</value> </property>
我有同样的问题。 这个答案假设你在linux上工作,并相应地编辑你的etc / hosts文件( https://stackoverflow.com/a/13540883/1607022 )
zookeeper的客户端端口号必须与HBase的配置文件中的相同,以及您在其上使用的任何端口号。 解决办法是; (在我的情况下,使用GORA 0.3的HBASE 0.90.4)检查HBASE_HOME / src / main / resources下的hbase-default.xml:
<name>hbase.zookeeper.property.clIEntPort</name> <value>2181</value>
在HBQL下应该有一个hbase-site.xml文件:
<property> <name>hbase.zookeeper.property.clIEntPort</name> <value>2181</value> <description>Property from ZooKeeper\’s config zoo.cfg. The port at which the clIEnts will connect. </description> </property>
端口号应该是一样的。
总结
以上是内存溢出为你收集整理的使用HBql Zookeeper不会尝试使用SASL进行身份validation全部内容,希望文章能够帮你解决使用HBql Zookeeper不会尝试使用SASL进行身份validation所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
请登录后查看评论内容