hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 梁景明 <futur...@gmail.com>
Subject Re: How to run java program
Date Tue, 27 Oct 2009 01:57:13 GMT
hi , at first u should add the configure files in hbase to ur HBaseConfiguration
like this
conf.addResource("/hbase-site.xml");
and the file in ur hbase conf path.
if u change ur hbase conf ,just change it.




2009/10/27, Liu Xianglong <sallonchina@hotmail.com>:
> Now, I can run my program correctly if I add sentence
> "config.set("hbase.master","<hmaster IP>:60000")", otherwise it will report
> the error I mentioned in last emails. So what do you think about the
> problem? Should I change some configuration? Now I do not add "hbase.master"
> in hbase-site for full-distributed mode.
> --------------------------------------------------
> From: "Tatsuya Kawano" <tatsuyaml@snowcocoa.info>
> Sent: Tuesday, October 27, 2009 9:03 AM
> To: <hbase-user@hadoop.apache.org>; <sallonchina@hotmail.com>
> Subject: Re: How to run java program
>
>> Hi Liu,
>>
>> You didn't receive any email by some reason?
>> We have been trying to answer your question for a week.
>>
>> http://www.nabble.com/Qustion-about-HBase-error-td25969212.html
>> http://www.nabble.com/java-api-error%3A-connection-to-HMaster-td25976824.html
>> http://www.nabble.com/How-to-run-java-program-td26058149.html
>>
>>
>> So why don't you start to read above answers?
>>
>> Thanks,
>>
>> --
>> Tatsuya Kawano (Mr.)
>> Tokyo, Japan
>>
>>
>>
>> 2009/10/27 Liu Xianglong <sallonchina@hotmail.com>:
>>> would someone can answer my question? thanks a lot!
>>>
>>> --------------------------------------------------
>>> From: "Liu Xianglong" <sallonchina@hotmail.com>
>>> Sent: Monday, October 26, 2009 7:36 PM
>>> To: <hbase-user@hadoop.apache.org>
>>> Subject: How to run java program
>>>
>>>> Hi, everyone. I am using HBase Java API to retrieve data in HTable. Now
>>>> I
>>>> run my java program in HMaster node, but I am wondering whether there
>>>> are
>>>> other ways to run java program, or need I copy my java program into
>>>> server
>>>> every time I want to run them?
>>>>
>>>> Thanks!
>>>>
>>>>
>>>> Best Wishes!
>>>> _____________________________________________________________
>>>>
>>>> 刘祥龙  Liu Xianglong
>>
>

Mime
View raw message