hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billy Pearson" <sa...@pearsonwholesale.com>
Subject zookeeper/mapred problems
Date Mon, 28 Feb 2011 19:35:55 GMT
when I run a job hbase on a tasktracker that doesn ot have a local zookeeper server on it I
get this

java.net.ConnectException: Connection refused
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
2011-02-28 13:22:53,692 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to
server localhost/127.0.0.1:2181
2011-02-28 13:22:53,693 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null,
unexpected error, closing socket connection and attempting reconnect

in my hbase-site.xml
I have 
<property>
  <name>hbase.zookeeper.quorum</name>
  <value>10.0.0.30</value>
</property>

but in the job.xml it keep showing up as localhost
so I set it in the conf for the mapred job
conf.set("hbase.zookeeper.quorum", "10.0.0.30");
and it shows up right in the job.xml but the tasktrackers are still trying to connect to localhost/127.0.0.1

Any ideas on where to fix this?
i am running on 0.90.1+8-1 from cloudera

Billy

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message