How do I change the port that it tries to connect to?

On Tue, Sep 28, 2010 at 2:02 PM, Lance Norskog <[email protected]> wrote:
> These are one second apart. This means that the server immediately
> rejects client requests.
> This usually means that the server OS does not have the server port
> open to allow client connections.
> So either the client is not running, or the server has your client
> firewalled off somehow.
>
> On Tue, Sep 28, 2010 at 1:57 PM, Matt Tanquary <[email protected]> 
> wrote:
>> This worked at one time, but I now I'm having an issue:
>>
>> I have a basic python script for testing python/hive. The script just
>> does a few simple things:
>>
>> -show tables
>> -describe [a table]
>> -select * from [a table] limit 15
>>
>> The show tables and describe sections are functioning. However, when
>> it gets to the select command, then the hive server begins to issue:
>>
>> 10/09/28 13:38:24 INFO ipc.Client: Retrying connect to server:
>> mysvr/15.6.84.51:8020. Already tried 0 time(s).
>> 10/09/28 13:38:25 INFO ipc.Client: Retrying connect to server:
>> mysvr/15.6.84.51:8020. Already tried 1 time(s).
>> 10/09/28 13:38:26 INFO ipc.Client: Retrying connect to server:
>> mysvr/15.6.84.51:8020. Already tried 2 time(s).
>> 10/09/28 13:38:27 INFO ipc.Client: Retrying connect to server:
>> mysvr/15.6.84.51:8020. Already tried 3 time(s).
>> 10/09/28 13:38:28 INFO ipc.Client: Retrying connect to server:
>> mysvr/15.6.84.51:8020. Already tried 4 time(s).
>> 10/09/28 13:38:29 INFO ipc.Client: Retrying connect to server:
>> mysvr/15.6.84.51:8020. Already tried 5 time(s).
>> 10/09/28 13:38:30 INFO ipc.Client: Retrying connect to server:
>> .mysvr/15.6.84.51:8020. Already tried 6 time(s).
>> 10/09/28 13:38:31 INFO ipc.Client: Retrying connect to server:
>> mysvr/15.6.84.51:8020. Already tried 7 time(s).
>> 10/09/28 13:38:32 INFO ipc.Client: Retrying connect to server:
>> mysvr/15.6.84.51:8020. Already tried 8 time(s).
>> 10/09/28 13:38:33 INFO ipc.Client: Retrying connect to server:
>> mysvr/15.6.84.51:8020. Already tried 9 time(s).
>>
>> The problem I believe is the port that it's trying to connect to. My
>> hdfs namenode is serviced on port 54310.
>>
>> I tried adding the following setting to hive-site.xml:
>> <name>fs.default.name</name> <value>hdfs://mysvr:54310</value>
>>
>> Any other suggestions?
>>
>> Thanks!
>> --
>> Have you thanked a teacher today? ---> http://www.liftateacher.org
>>
>
>
>
> --
> Lance Norskog
> [email protected]
>



-- 
Have you thanked a teacher today? ---> http://www.liftateacher.org

Reply via email to