You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by jayavelu jaisenthilkumar <jo...@gmail.com> on 2010/04/02 14:16:57 UTC

General question regarding the hbase-site.xml file

Hi all,
                I come across Overview (HBase 0.20.3 API)

there they mentioned like

<configuration>
  ...
  <property>
    <name>hbase.rootdir</name>
    <value>hdfs://localhost:9000/hbase</value>
    <description>The directory shared by region servers.
    </description>
  </property>
  ...
</configuration>

is this /hbase is the HBASE_root directory, in my case  i installed
the directory is /home/hadoop/hbase-0.20.3.

What is the value here i need to give
hdfs://localhost:9000/home/hadoop/hbase-0.20.3
or
hdfs://localhost:9000/hbase-0.20.3

Can anybody tell me

Regs,
Senthil

Re: General question regarding the hbase-site.xml file

Posted by vishalsant <Vi...@gmail.com>.
I have the hadoop configured with

<property>
  <name>dfs.data.dir</name>
  <value>/mnt/hadoop/data</value>
  <description>Default block replication.
  The actual number of replications can be specified when the file is
created.
  The default is used if replication is not specified in create time.
  </description>
</property>


and my HBase has 

<property>
    <name>hbase.rootdir</name>
    <value>hdfs://cdh1:54310/hbase</value>
    <description>The directory shared by region servers.
    </description>
  </property>

the hdfs://cdh1:54310 is the hadoop url.

I would have expected the hbase dir , created at /mnt/hadoop/data/hbase but
it is being created at the user root. When I run MR on hadoop independent of
HBase , the data files are created at /mnt/hadoop/data/ thus proving that
hadoop independently is honoring the dfs.data.dir. 

NOTE that I have the hdfs-site.xml sym linked up in  [HBase_Dir]/conf though
I do not think it matters.


jayavelu jaisenthilkumar wrote:
> 
> Thanks a lot  Gary.  I will leave as it is.
> 
> Regs,
> Senthil
> 
> On 2 April 2010 15:23, Gary Helmling <gh...@gmail.com> wrote:
>> Hi Senthil,
>>
>> This property refers to the location in _HDFS_ where HBase will store the
>> table data.  This is completely separate from wherever you choose to
>> unpack
>> the HBase .tar.gz distribution to on your machine.
>>
>> If you are running a distributed setup, you will need to replace
>> "localhost"
>> with the hostname of your Hadoop NameNode.  Otherwise, just leave it as
>> is.
>>
>> If you haven't already, please look at the Hadoop Quick Start (
>> http://hadoop.apache.org/common/docs/current/quickstart.html) as well and
>> browse through the related HDFS documentation.
>>
>> Hope this helps.
>> Gary
>>
>>
>> On Fri, Apr 2, 2010 at 8:16 AM, jayavelu jaisenthilkumar <
>> joysenthil@gmail.com> wrote:
>>
>>> Hi all,
>>>                 I come across Overview (HBase 0.20.3 API)
>>>
>>> there they mentioned like
>>>
>>> <configuration>
>>>  ...
>>>  <property>
>>>    <name>hbase.rootdir</name>
>>>    <value>hdfs://localhost:9000/hbase</value>
>>>    <description>The directory shared by region servers.
>>>    </description>
>>>  </property>
>>>  ...
>>> </configuration>
>>>
>>> is this /hbase is the HBASE_root directory, in my case  i installed
>>> the directory is /home/hadoop/hbase-0.20.3.
>>>
>>> What is the value here i need to give
>>> hdfs://localhost:9000/home/hadoop/hbase-0.20.3
>>> or
>>> hdfs://localhost:9000/hbase-0.20.3
>>>
>>> Can anybody tell me
>>>
>>> Regs,
>>> Senthil
>>>
>>
> 
> 

-- 
View this message in context: http://old.nabble.com/General-question-regarding-the-hbase-site.xml-file-tp28118443p28119919.html
Sent from the HBase User mailing list archive at Nabble.com.


Re: Source code for stargate

Posted by vi...@nokia.com.
Sorry, there it is. Thank you.
Victor


On 4/2/10 10:30 AM, "ext Vukasin Toroman" <vu...@toroman.name> wrote:

did you look for stargate under "contrib"?
On Apr 2, 2010, at 4:22 PM, <vi...@nokia.com> wrote:

> Hi
>
> I was looking for stargate source code in this url.
> http://svn.apache.org/repos/asf/hadoop/hbase/
>
> But I did not find it stargate in here. Where can I find it?
>
> Thanks,
> Victor



Re: Source code for stargate

Posted by Vukasin Toroman <vu...@toroman.name>.
did you look for stargate under "contrib"?
On Apr 2, 2010, at 4:22 PM, <vi...@nokia.com> wrote:

> Hi
> 
> I was looking for stargate source code in this url.
> http://svn.apache.org/repos/asf/hadoop/hbase/
> 
> But I did not find it stargate in here. Where can I find it?
> 
> Thanks,
> Victor


Source code for stargate

Posted by vi...@nokia.com.
Hi

I was looking for stargate source code in this url.
http://svn.apache.org/repos/asf/hadoop/hbase/

But I did not find it stargate in here. Where can I find it?

Thanks,
Victor

Re: General question regarding the hbase-site.xml file

Posted by jayavelu jaisenthilkumar <jo...@gmail.com>.
Thanks a lot  Gary.  I will leave as it is.

Regs,
Senthil

On 2 April 2010 15:23, Gary Helmling <gh...@gmail.com> wrote:
> Hi Senthil,
>
> This property refers to the location in _HDFS_ where HBase will store the
> table data.  This is completely separate from wherever you choose to unpack
> the HBase .tar.gz distribution to on your machine.
>
> If you are running a distributed setup, you will need to replace "localhost"
> with the hostname of your Hadoop NameNode.  Otherwise, just leave it as is.
>
> If you haven't already, please look at the Hadoop Quick Start (
> http://hadoop.apache.org/common/docs/current/quickstart.html) as well and
> browse through the related HDFS documentation.
>
> Hope this helps.
> Gary
>
>
> On Fri, Apr 2, 2010 at 8:16 AM, jayavelu jaisenthilkumar <
> joysenthil@gmail.com> wrote:
>
>> Hi all,
>>                 I come across Overview (HBase 0.20.3 API)
>>
>> there they mentioned like
>>
>> <configuration>
>>  ...
>>  <property>
>>    <name>hbase.rootdir</name>
>>    <value>hdfs://localhost:9000/hbase</value>
>>    <description>The directory shared by region servers.
>>    </description>
>>  </property>
>>  ...
>> </configuration>
>>
>> is this /hbase is the HBASE_root directory, in my case  i installed
>> the directory is /home/hadoop/hbase-0.20.3.
>>
>> What is the value here i need to give
>> hdfs://localhost:9000/home/hadoop/hbase-0.20.3
>> or
>> hdfs://localhost:9000/hbase-0.20.3
>>
>> Can anybody tell me
>>
>> Regs,
>> Senthil
>>
>

Re: General question regarding the hbase-site.xml file

Posted by Gary Helmling <gh...@gmail.com>.
Hi Senthil,

This property refers to the location in _HDFS_ where HBase will store the
table data.  This is completely separate from wherever you choose to unpack
the HBase .tar.gz distribution to on your machine.

If you are running a distributed setup, you will need to replace "localhost"
with the hostname of your Hadoop NameNode.  Otherwise, just leave it as is.

If you haven't already, please look at the Hadoop Quick Start (
http://hadoop.apache.org/common/docs/current/quickstart.html) as well and
browse through the related HDFS documentation.

Hope this helps.
Gary


On Fri, Apr 2, 2010 at 8:16 AM, jayavelu jaisenthilkumar <
joysenthil@gmail.com> wrote:

> Hi all,
>                 I come across Overview (HBase 0.20.3 API)
>
> there they mentioned like
>
> <configuration>
>  ...
>  <property>
>    <name>hbase.rootdir</name>
>    <value>hdfs://localhost:9000/hbase</value>
>    <description>The directory shared by region servers.
>    </description>
>  </property>
>  ...
> </configuration>
>
> is this /hbase is the HBASE_root directory, in my case  i installed
> the directory is /home/hadoop/hbase-0.20.3.
>
> What is the value here i need to give
> hdfs://localhost:9000/home/hadoop/hbase-0.20.3
> or
> hdfs://localhost:9000/hbase-0.20.3
>
> Can anybody tell me
>
> Regs,
> Senthil
>