You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by "Ralf R. Kotowski" <rr...@enlle.com> on 2013/08/09 21:43:04 UTC
HBase is able to connect to ZooKeeper but the connection closes immediately
HI,
I'm new to this, I'm trying to set-up, under Fedora Core 19, Hbase 0.90.4
Standalone to use with Nutch 2.2.1 as per the Nutch 2.x tutorial and Hbase
quickstart.
I'm getting following error, even just in the Hbase shell, just when issuing
the "status" command, and obviously when issuing nutch commands as well.
HBase is able to connect to ZooKeeper but the connection closes
immediately...
Neither can I log in via Telnet to default port 2181, neither does it look
under netstats -anp that this port is being used at all.
I have added
<property>
<name>hbase.zookeeper.property.maxClientCnxns</property>
<value>1000</value>
</property>
To hbase-site.xml
My /etc/hosts
127.0.0.1 localhost localhost.localdomain
localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6
localhost6.localdomain6
I've been scanning, googling and I seem to find a different answer everytime
this question is asked somewhere, any help would be appreciated, thnx
RE: HBase is able to connect to ZooKeeper but the connection closes immediately
Posted by "Ralf R. Kotowski" <rr...@enlle.com>.
Thnx St. Ack
I Downgraded from current releases in order to follow the Nutch 2.x tutorial
EXACTLY, because I could not get Nutch to work and every post I googled,
first thing everyone suggested on this error was to follow the Tutorial
EXACTLY
So far I finally have been able to get Nutch 1.7 binary to work with Solr
3.3.0, Once I downgraded from the current Solr 4.4.0 (no Hbase)
Ultimatly I'll be requirering Nutch 2.2.1 and Solr 4.4.0 - Have been playing
with this for weeks and no mater what, I can't get Nutch 2.2.1 to work, not
even when using the versions described in the tutorial. The zookeeper issue
seems to have gone away after I poked some holes into the firewall for port
2181 and now when running the crawl script it just sits there with blinking
cursor when it gets to the part of injecting URLS.
In your opinion/experience which versions should I use? What other tips do
you have? IMHO the tutorial leaves a few things out or assumes a few
pre-rquisites which I'm not aware off
Thnx
(BTW - Good nick you got yourself)
-----Original Message-----
From: saint.ack@gmail.com [mailto:saint.ack@gmail.com] On Behalf Of Stack
Sent: Sunday, August 11, 2013 7:39 AM
To: Hbase-User
Subject: Re: HBase is able to connect to ZooKeeper but the connection closes
immediately
On Fri, Aug 9, 2013 at 12:43 PM, Ralf R. Kotowski <rr...@enlle.com> wrote:
> HI,
>
>
>
> I'm new to this, I'm trying to set-up, under Fedora Core 19, Hbase 0.90.4
> Standalone to use with Nutch 2.2.1 as per the Nutch 2.x tutorial and Hbase
> quickstart.
>
>
>
0.90.4 hbase is very old, years old.
How do you mean it can connect to zk but then it disconnects immediately?
I'd suggest upgrading first. Folks around here don't remember how 0.90
used to work. If you upgrade we can help you out.
Thanks,
St.Ack
>
>
RE: HBase is able to connect to ZooKeeper but the connection closes immediately
Posted by "Ralf R. Kotowski" <rr...@enlle.com>.
When using ALL current versions, Nutch 2.2.1, Hbase-0.94.10, Solr 4.4.0 I get this error:
[root@localhost local]# bin/nutch inject /urls/seed.txt
InjectorJob: starting at 2013-08-11 17:40:14
InjectorJob: Injecting urlDir: /urls/seed.txt
InjectorJob: org.apache.gora.util.GoraException: java.lang.RuntimeException: java.lang.IllegalArgumentException: Not a host:port pair: �2249@localhost.localdomainlocalhost,45431,1376235201648
at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:167)
at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:135)
at org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:75)
at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:221)
at org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:251)
at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:273)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:282)
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Not a host:port pair: �2249@localhost.localdomainlocalhost,45431,1376235201648
at org.apache.gora.hbase.store.HBaseStore.initialize(HBaseStore.java:127)
at org.apache.gora.store.DataStoreFactory.initializeDataStore(DataStoreFactory.java:102)
at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:161)
... 7 more
Caused by: java.lang.IllegalArgumentException: Not a host:port pair: �2249@localhost.localdomainlocalhost,45431,1376235201648
at org.apache.hadoop.hbase.HServerAddress.<init>(HServerAddress.java:60)
at org.apache.hadoop.hbase.MasterAddressTracker.getMasterAddress(MasterAddressTracker.java:63)
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:354)
at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:94)
at org.apache.gora.hbase.store.HBaseStore.initialize(HBaseStore.java:109)
... 9 more
-----Original Message-----
From: saint.ack@gmail.com [mailto:saint.ack@gmail.com] On Behalf Of Stack
Sent: Sunday, August 11, 2013 7:39 AM
To: Hbase-User
Subject: Re: HBase is able to connect to ZooKeeper but the connection closes immediately
On Fri, Aug 9, 2013 at 12:43 PM, Ralf R. Kotowski <rr...@enlle.com> wrote:
> HI,
>
>
>
> I'm new to this, I'm trying to set-up, under Fedora Core 19, Hbase 0.90.4
> Standalone to use with Nutch 2.2.1 as per the Nutch 2.x tutorial and Hbase
> quickstart.
>
>
>
0.90.4 hbase is very old, years old.
How do you mean it can connect to zk but then it disconnects immediately?
I'd suggest upgrading first. Folks around here don't remember how 0.90
used to work. If you upgrade we can help you out.
Thanks,
St.Ack
>
>
Re: HBase is able to connect to ZooKeeper but the connection closes immediately
Posted by Stack <st...@duboce.net>.
On Fri, Aug 9, 2013 at 12:43 PM, Ralf R. Kotowski <rr...@enlle.com> wrote:
> HI,
>
>
>
> I'm new to this, I'm trying to set-up, under Fedora Core 19, Hbase 0.90.4
> Standalone to use with Nutch 2.2.1 as per the Nutch 2.x tutorial and Hbase
> quickstart.
>
>
>
0.90.4 hbase is very old, years old.
How do you mean it can connect to zk but then it disconnects immediately?
I'd suggest upgrading first. Folks around here don't remember how 0.90
used to work. If you upgrade we can help you out.
Thanks,
St.Ack
>
>