0
Amazon EMR에서 HBase를 실행하고 있습니다.amzon EMR에서 hbase를 실행하면 외부 hbase 클라이언트에서 Zookeeper 쿼럼 문제가 발생합니다.
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property><name>fs.hdfs.impl</name><value>emr.hbase.fs.BlockableFileSystem</value></property>
<property><name>hbase.regionserver.handler.count</name><value>100</value></property>
<property><name>hbase.zookeeper.quorum</name><value>ip-xx-xxx-aa-aa.us-west-1.compute.internal</value></property>
<property><name>hbase.rootdir</name><value>hdfs://xx.xxx.aa.aa:9000/hbase</value></property>
<property><name>hbase.cluster.distributed</name><value>true</value></property>
<property><name>hbase.tmp.dir</name><value>/mnt/var/lib/hbase/tmp-data</value></property>
<property><name>hbase.master.wait.for.log.splitting</name><value>true</value></property>
</configuration>
위의 구성입니다.
val zk_quoroum = "xx.xxx.aa.aa"
val hBaseClient = new HBaseClient(zk_quoroum)
내가 어떻게 든 사육사에 연결 얻을 수 없습니다입니다 : 지금은 사용하여 새 HBase를 클라이언트를 시작하려고
6:04:54.238 [main-SendThread()] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server /xx.xxx.aa.aa:2181
16:04:59.264 [main-SendThread(xx.xxx.aa.aa:2181)] INFO org.apache.zookeeper.ClientCnxn - Client session timed out, have not heard from server in 5026ms for sessionid 0x0, closing socket connection and attempting reconnect
재 연결이 시도에 유지를하지만 연결을 얻을 수 없다 . 정족수가 내부 URL이라는 사실과 관련이 있습니까? 클라이언트는 AWS에 살지 않습니다. 누구든지 전에 이것을 경험 했습니까?
마스터 노드에 대한 보안 그룹에 규칙을 추가 했습니까? – Gevorg
마스터 노드의 SG에 예 – Sharad