You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by mason deng <de...@gmail.com> on 2012/08/13 15:41:48 UTC
Connector error
Hi, Eric:
When I running the chukwa in cluster,I encountered a question about
the hbase Connector .My HBase normal run, But Connector error has
occurred, my hbase is 0.90.4 ,and hadoop is hadoop-1.0.0.chukwa is
chukwa-0.5.0 .
Connector.log error tips is :
2012-08-11 21:50:51,693 INFO Timer-2 HBaseWriter -
stat=HBaseWriter|dataRate=0
2012-08-11 21:50:51,766 INFO btpool0-1-SendThread(localhost:21818)
ClientCnxn - Opening socket connection to server localhost/127.0.0.1:21818
2012-08-11 21:50:51,767 WARN btpool0-1-SendThread(localhost:21818)
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:574)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
As someone's advice ,i removed the IPV6 in /etc/hosts (::1 localhost)and
disable the ipv6 functions.But still could not solve the problem。Can you
tell me how
to solve the problem? thanks!
Best regards ,
rainerdun
Re: Connector error
Posted by Eric Yang <er...@gmail.com>.
Hi Mason,
Are you using HBase provided ZooKeeper or standalone ZooKeeper? HBase
client in collector is trying to access ZooKeeper at port 21818, and
unable to connect because there is no ZooKeeper running on port 21818.
Standalone ZooKeeper is running at port 2181, and hbase-site.xml may
not have been configured correctly on the class path of collector.
HBASE_CONF_DIR should be defined in chukwa-env.sh for this to work
properly. Hope this helps.
regards,
Eric
On Mon, Aug 13, 2012 at 6:45 AM, mason deng <de...@gmail.com> wrote:
> Hi, Eric:
> When I running the chukwa in cluster,I encountered a question about
> the hbase Connector .My HBase normal run, But Connector error has occurred,
> my hbase is 0.90.4 ,and hadoop is hadoop-1.0.0.chukwa is chukwa-0.5.0 .
> Connector.log error tips is :
>
> 2012-08-11 21:50:51,693 INFO Timer-2 HBaseWriter -
> stat=HBaseWriter|dataRate=0
>
> 2012-08-11 21:50:51,766 INFO btpool0-1-SendThread(localhost:21818)
> ClientCnxn - Opening socket connection to server localhost/127.0.0.1:21818
>
> 2012-08-11 21:50:51,767 WARN btpool0-1-SendThread(localhost:21818)
> 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:574)
>
> at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
>
> As someone's advice ,i removed the IPV6 in /etc/hosts (::1 localhost)and
> disable the ipv6 functions.But still could not solve the problem。Can you
> tell me how
> to solve the problem? thanks!
>
>
> Best regards ,
> rainerdun
>
>
>
>
Connector error
Posted by mason deng <de...@gmail.com>.
Hi, Eric:
When I running the chukwa in cluster,I encountered a question about
the hbase Connector .My HBase normal run, But Connector error has
occurred, my hbase is 0.90.4 ,and hadoop is hadoop-1.0.0.chukwa is
chukwa-0.5.0 .
Connector.log error tips is :
2012-08-11 21:50:51,693 INFO Timer-2 HBaseWriter -
stat=HBaseWriter|dataRate=0
2012-08-11 21:50:51,766 INFO btpool0-1-SendThread(localhost:21818)
ClientCnxn - Opening socket connection to server localhost/127.0.0.1:21818
2012-08-11 21:50:51,767 WARN btpool0-1-SendThread(localhost:21818)
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:574)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
As someone's advice ,i removed the IPV6 in /etc/hosts (::1 localhost)and
disable the ipv6 functions.But still could not solve the problem。Can you
tell me how
to solve the problem? thanks!
Best regards ,
rainerdun
Re: Connector error
Posted by Lance Norskog <go...@gmail.com>.
You want the hadoop/chukwa list, not mahout.
On Mon, Aug 13, 2012 at 6:41 AM, mason deng <de...@gmail.com> wrote:
> Hi, Eric:
> When I running the chukwa in cluster,I encountered a question about
> the hbase Connector .My HBase normal run, But Connector error has
> occurred, my hbase is 0.90.4 ,and hadoop is hadoop-1.0.0.chukwa is
> chukwa-0.5.0 .
> Connector.log error tips is :
>
> 2012-08-11 21:50:51,693 INFO Timer-2 HBaseWriter -
> stat=HBaseWriter|dataRate=0
>
> 2012-08-11 21:50:51,766 INFO btpool0-1-SendThread(localhost:21818)
> ClientCnxn - Opening socket connection to server localhost/127.0.0.1:21818
>
> 2012-08-11 21:50:51,767 WARN btpool0-1-SendThread(localhost:21818)
> 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:574)
>
> at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
>
> As someone's advice ,i removed the IPV6 in /etc/hosts (::1 localhost)and
> disable the ipv6 functions.But still could not solve the problem。Can you
> tell me how
> to solve the problem? thanks!
>
>
> Best regards ,
> rainerdun
--
Lance Norskog
goksron@gmail.com