안녕하세요.
Tajo에서 Hbase 테이블 생성 시 오류 관련 문의입니다.
Zookeeper의 기본 포트인 2181포트를 다른 포트로 변경하여 사용하고 있습니다.
이 때 Tajo에서 Hbase 테이블을 생성하려고 하면 다음과 같은 에러가 발생합니다.
zookeeper의 포트를 별도로 설정하는 부분이 있나요?
혹은 기본포트로만 설정 가능한가요?
$HBASE_HOME/conf/hbase-site.xml 에는 아래와 같이 zookeeper 가 설정되어 있습니다.
<property>
<name>hbase.zookeeper.quorum</name>
<value>data01,data02,data03</value>
</property>
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>50004</value>
</property>
$TAJO_HOME/conf/tajo-env.sh HBASE_HOME 디렉토리도 설정되어 있습니다.
CREATE EXTERNAL TABLE hbase_blog (rowkey text, author text, register_date text, title text)
USING hbase WITH (
'table'='blog'
, 'columns'=':key,info:author,info:date,content:title'
, 'hbase.zookeeper.quorum'='data01,data02,data03');
ERROR: Attempt to start meta tracker failed.
# tajo master 로그
2015-01-26 01:28:45,787 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:739)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
2015-01-26 01:28:45,850 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server
data03/10.11.81.130:2181. Will not attempt to authenticate using SASL (unknown error)
2015-01-26 01:28:45,851 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
...
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/meta-region-server
확인 요청드립니다.
그럼, 수고하세요.