hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Wang <...@cloudera.com>
Subject Re: regionserver not starting
Date Mon, 02 Apr 2012 16:19:55 GMT
The link I referred you to states that forward and reverse resolution is
required for at least < 0.92.x.  If you do not have DNS, then perhaps you
can hardcode the resolutions in /etc/resolv.conf or similar.

- Dave

On Mon, Apr 2, 2012 at 7:19 AM, Ben Cuthbert <bencuthbert@ymail.com> wrote:

> Hi Dave
>
> Thanks. So what happens when you run in a network that does not have DNS
> over firewalls. So like running primary data center to backup data center?
> On 2 Apr 2012, at 14:33, Dave Wang wrote:
>
> > Ben,
> >
> > Please see:
> >
> > http://hbase.apache.org/book/os.html#dns
> >
> > - Dave
> >
> > On Mon, Apr 2, 2012 at 5:25 AM, Ben Cuthbert <bencuthbert@ymail.com>
> wrote:
> >
> >> Was thinking, does hbase have to use hostname? What if you are running
> >> this in a FW env that does not have DNS Access?
> >> On 2 Apr 2012, at 06:31, Ben Cuthbert wrote:
> >>
> >>> All when I try and run in distributed mode with two servers I get this
> >> error when starting the slave node
> >>>
> >>> two nodes
> >>>
> >>> node1 = master
> >>> node2 = slave
> >>>
> >>> <property>
> >>>              <name>hbase.zookeeper.quorum</name>
> >>>              <value>node1,node2</value>
> >>>      </property>
> >>>
> >>> When start it I see
> >>>
> >>> node1: starting zookeeper, logging to
> >>
> /apps/celertech/deployments/releases/current/logs/hbase/hbase-celertechapp-zookeeper-node1.out
> >>> node2: starting zookeeper, logging to
> >>
> /apps/celertech/deployments/releases/current/logs/hbase/hbase-celertechapp-zookeeper-node2.out
> >>> starting master, logging to
> >>
> /apps/celertech/deployments/releases/current/logs/hbase/hbase-celertechapp-master-node1.out
> >>> node1: starting regionserver, logging to
> >>
> /apps/celertech/deployments/releases/current/logs/hbase/hbase-celertechapp-regionserver-node1.out
> >>> node2: starting regionserver, logging to
> >>
> /apps/celertech/deployments/releases/current/logs/hbase/hbase-celertechapp-regionserver-node2.out
> >>>
> >>> node1 everything starts fine, no errors. Node1 has this in the region
> >> server log
> >>>
> >>> 2012-04-02 06:28:30,772 INFO org.apache.zookeeper.ZooKeeper: Initiating
> >> client connection, connectString=node2:2181,node12181
> sessionTimeout=90000
> >> watcher=hconnection
> >>> 2012-04-02 06:28:30,805 INFO org.apache.zookeeper.ClientCnxn: Opening
> >> socket connection to server node2/fe80:0:0:0:21c:42ff:fe00:8%8:2181
> >>> 2012-04-02 06:28:30,824 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:567)
> >>>      at
> >> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
> >>> 2012-04-02 06:28:31,407 INFO org.apache.zookeeper.ClientCnxn: Opening
> >> socket connection to server node2/fec0:0:0:fea9:0:0:0:1:2181
> >>> 2012-04-02 06:28:31,408 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:567)
> >>>      at
> >> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
> >>> 2012-04-02 06:28:31,586 INFO org.apache.zookeeper.ClientCnxn: Opening
> >> socket connection to server node2/144.10.1.8:2181
> >>> 2012-04-02 06:28:31,586 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:567)
> >>>      at
> >> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
> >>>
> >>> The zookeeper log on node2 seems to be up
> >>>
> >>> 2012-04-02 06:28:34,480 INFO
> >> org.apache.zookeeper.server.quorum.QuorumPeerMain: Starting quorum peer
> >>> 2012-04-02 06:28:34,517 INFO org.apache.zookeeper.server.NIOServerCnxn:
> >> binding to port 0.0.0.0/0.0.0.0:2181
> >>
> >>
>
>

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