hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bradford Stephens <bradfordsteph...@gmail.com>
Subject Re: Hbase 0.20 give me such error in my java program.
Date Mon, 10 Aug 2009 21:03:06 GMT
We had this problem when we first were setting up our cluster. Indeed,
check your hosts file, etc.

On Sun, Aug 9, 2009 at 11:29 PM, lei wang<nutchmaillist@gmail.com> wrote:
> ubuntu8.04 server and localhost set to 127.0.0.1,
>
> On Thu, Aug 6, 2009 at 6:59 PM, Jean-Daniel Cryans <jdcryans@apache.org>wrote:
>
>> Well did you search what that exception means? From that forum post,
>> http://su.pr/9Eqsre, it seems that your localhost would be set to a
>> weird value. Please confirm that your OS network configuration is
>> valid.
>>
>> Also which OS are you using?
>>
>> Thx,
>>
>> J-D
>>
>> On Wed, Aug 5, 2009 at 11:12 PM, lei wang<nutchmaillist@gmail.com> wrote:
>> > can anyone help me? sometime it report such error, but sometime the
>> program
>> > goes well.
>> > Is  hbase0.20 still not stable enough?
>> >
>> ============================================================================================
>> >
>> > 2009-08-06 11:09:04
>> > [org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper]-[ERROR] Failed to
>> > create ZooKeeper object: java.io.IOException: Unable to establish
>> loopback
>> > connection
>> >  org.apache.hadoop.hbase.MasterNotRunningException: java.io.IOException:
>> > java.io.IOException: Unable to establish loopback connection
>> >    at
>> >
>> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getMaster(HConnectionManager.java:245)
>> >    at
>> org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:72)
>> >    at
>> >
>> casia.isiteam.pgroup.lei.util.HbaseClientConnection.getHTableConnection(HbaseClientConnection.java:67)
>> >    at
>> >
>> casia.isiteam.pgroup.lei.dataoperater.DataInput.recordListInsert(DataInput.java:143)
>> >    at
>> > casia.isiteam.pgroup.lei.dataoperater.DataInput.main(DataInput.java:63)
>> > Caused by: java.io.IOException: java.io.IOException: Unable to establish
>> > loopback connection
>> >    at
>> >
>> org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.<init>(ZooKeeperWrapper.java:90)
>> >    at
>> >
>> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getZooKeeperWrapper(HConnectionManager.java:820)
>> >    at
>> >
>> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getMaster(HConnectionManager.java:243)
>> >    ... 4 more
>> > Caused by: java.io.IOException: Unable to establish loopback connection
>> >    at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
>> >    at java.security.AccessController.doPrivileged(Native Method)
>> >    at sun.nio.ch.PipeImpl.<init>(Unknown Source)
>> >    at sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source)
>> >    at java.nio.channels.Pipe.open(Unknown Source)
>> >    at sun.nio.ch.WindowsSelectorImpl.<init>(Unknown Source)
>> >    at sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source)
>> >    at java.nio.channels.Selector.open(Unknown Source)
>> >    at org.apache.zookeeper.ClientCnxn.<init>(ClientCnxn.java:140)
>> >    at org.apache.zookeeper.ClientCnxn.<init>(ClientCnxn.java:261)
>> >    at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:346)
>> >    at
>> >
>> org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.<init>(ZooKeeperWrapper.java:87)
>> >    ... 6 more
>> > Caused by: java.net.SocketException: Invalid argument: listen
>> >    at sun.nio.ch.ServerSocketChannelImpl.listen(Native Method)
>> >    at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
>> >    at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
>> >    at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
>> >    ... 18 more
>> >
>>
>



-- 
http://www.roadtofailure.com -- The Fringes of Scalability, Social
Media, and Computer Science

Mime
View raw message