Thank you that did work. 

So I can connect while logged into the hbase master, all that remains is to
achieve connection from a remote machine.  I think I'll try running my java
program from the hbase master as opposed from a remote machine and see it
that works.


Jean-Daniel Cryans-2 wrote:
> 
> 60010 is the default port for the web ui
> 60030 is the default port for the region servers
> 
> If you tried "telnet localhost 60000" and it failed, then that's
> probably because you specified "hbase01:60000" in your hbase-site so
> it was binded on whichever interface it is (most probably not
> localhost). Try, on the master node, "telnet hbase01 60000" and it
> should work.
> 
> J-D
> 
> On Wed, May 27, 2009 at 12:43 PM, gcr44 <geoffry.robe...@gmail.com> wrote:
>>
>> I tried
>>
>> - http://192.168.25.49:60010 from the browser and it works
>> - 192.168.25.49 60010 and it connects.
>> - <property>
>>    <name>hbase.master</name>
>>    <value>192.168.25.49:60010</value>
>>  </property> throws an error in the console (see below) but nothing in
>> the
>> log files.
>>
>> If I log in to the hbase master machine and try to telnet to localhost
>> 60000
>> I get connection refused.  If I do the same thing on ports 60010 or 60030
>> it
>> connects.
>>
>> Console output:
>>
>> 09/05/27 09:35:10 INFO client.HConnectionManager$TableServers: getMaster
>> attempt 0 of 10 failed; retrying after sleep of 2000
>> java.io.IOException: Call to /192.168.25.49:60010 failed on local
>> exception:
>> java.io.EOFException
>>        at
>> org.apache.hadoop.hbase.ipc.HBaseClient.wrapException(HBaseClient.java:736)
>>        at
>> org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:704)
>>        at
>> org.apache.hadoop.hbase.ipc.HBaseRPC$Invoker.invoke(HBaseRPC.java:321)
>>        at $Proxy0.getProtocolVersion(Unknown Source)
>>        at
>> org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:467)
>>        at
>> org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:443)
>>        at
>> org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:491)
>>        at
>> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getMaster(HConnectionManager.java:207)
>>        at
>> org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:70)
>>        at FlightLoader.checkHTable(FlightLoader.java:67)
>>        at FlightLoader.getHTable(FlightLoader.java:90)
>>        at FlightLoader.putRow(FlightLoader.java:42)
>>        at FlightLoader.main(FlightLoader.java:160)
>> Caused by: java.io.EOFException
>>        at java.io.DataInputStream.readInt(Unknown Source)
>>        at
>> org.apache.hadoop.hbase.ipc.HBaseClient$Connection.receiveResponse(HBaseClient.java:498)
>>        at
>> org.apache.hadoop.hbase.ipc.HBaseClient$Connection.run(HBaseClient.java:443)
>>
>>
>> Jean-Daniel Cryans-2 wrote:
>>>
>>> Well the IP I was talking about is 192.168.25.49 so try
>>> http://192.168.25.49:60010
>>>
>>> J-D
>>>
>>> On Wed, May 27, 2009 at 12:16 PM, gcr44 <geoffry.robe...@gmail.com>
>>> wrote:
>>>>
>>>> When I connected via http, I used the same IP from the same client
>>>> machine as
>>>> with telnet. This works from the browser: http://hbase1:60010 as does
>>>> http://hbase1:60030.
>>>> For now, I'm stumped.
>>>>
>>>>
>>>>
>>>> Jean-Daniel Cryans-2 wrote:
>>>>>
>>>>> If you aren't able to telnet, then this is a network issue. Can you
>>>>> figure why you can't telnet? When you connected via http, did you use
>>>>> the same IP address and was it from the same client machine? Did you
>>>>> try setting hbase1.qn-niat.net:60000 as your hbase.master?
>>>>>
>>>>> J-D
>>>>>
>>>>> On Wed, May 27, 2009 at 11:12 AM, gcr44 <geoffry.robe...@gmail.com>
>>>>> wrote:
>>>>>>
>>>>>> No, I am not able to telnet either.  However, when I try to connect
>>>>>> via
>>>>>> http
>>>>>> on port 60010, I see a web page that says, "Master:
>>>>>> hbase1.qn-niat.net:60000", which looks to me like the master is up
>>>>>> and
>>>>>> running correctly.  Also, the log files appear not to contain any
>>>>>> errors.
>>>>>>
>>>>>> Could the problem be in the hbase.rootdir element from my
>>>>>> hbase-site.xml?
>>>>>> The port of 54310 is what the server side hbase-site.xml has for its
>>>>>> hbase.rootdir element.
>>>>>>
>>>>>>  <property>
>>>>>>    <name>hbase.rootdir</name>
>>>>>>    <value>hdfs://hbase1:54310/hbase</value>
>>>>>>    <description>The directory shared by region servers.
>>>>>>    </description>
>>>>>>  </property>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Jean-Daniel Cryans-2 wrote:
>>>>>>>
>>>>>>> Are you able to telnet from the client machine to your master node
>>>>>>> (192.168.25.49) on port 60000?
>>>>>>>
>>>>>>> J-D
>>>>>>>
>>>>>>> On Tue, May 26, 2009 at 7:58 PM, gcr44 <geoffry.robe...@gmail.com>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> All,
>>>>>>>>
>>>>>>>> I'm just getting started with HBASE 0.19.1.  I am running it on a
>>>>>>>> five
>>>>>>>> node
>>>>>>>> Linux cluster. Everything seen to be working well.  I can
>>>>>>>> successfully
>>>>>>>> manipulate tables via the shell.  I cannot, however, connect from a
>>>>>>>> remote
>>>>>>>> java client.  I have configured an hbase-site.xml file and my
>>>>>>>> client
>>>>>>>> app
>>>>>>>> certainly appears to be reading it.  But I get a message: "HBASE
>>>>>>>> Connection
>>>>>>>> Refused: no further information" after a series of Retrying to
>>>>>>>> connect
>>>>>>>> messages.
>>>>>>>>
>>>>>>>> The retry messages correspond to the property in my configuration
>>>>>>>> file
>>>>>>>> so
>>>>>>>> I
>>>>>>>> assume the problem is elsewhere. Is this some kind of permissions
>>>>>>>> problem?
>>>>>>>>
>>>>>>>> Retry message fragment:
>>>>>>>> ...Retrying connect to server:hbase1/192.168.25.49:60000...
>>>>>>>>
>>>>>>>> Property in question:
>>>>>>>>  <property>
>>>>>>>>    <name>hbase.master</name>
>>>>>>>>    <value>hbase1:60000</value>
>>>>>>>>    ...
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> View this message in context:
>>>>>>>> http://www.nabble.com/HBASE-Connection-Refused%3A-no-further-information-tp23733471p23733471.html
>>>>>>>> Sent from the HBase User mailing list archive at Nabble.com.
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://www.nabble.com/HBASE-Connection-Refused%3A-no-further-information-tp23733471p23744539.html
>>>>>> Sent from the HBase User mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/HBASE-Connection-Refused%3A-no-further-information-tp23733471p23745808.html
>>>> Sent from the HBase User mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/HBASE-Connection-Refused%3A-no-further-information-tp23733471p23746327.html
>> Sent from the HBase User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/HBASE-Connection-Refused%3A-no-further-information-tp23733471p23747682.html
Sent from the HBase User mailing list archive at Nabble.com.

Reply via email to