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 <[email protected]> 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 <
>> [email protected]> 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.