Midhun Mathew Sunny
Midhun Mathew Sunny

Reputation: 1361

Location of schema and data of a table in hbase

When we create a table in hbase and insert some data in it, where exactly is the data getting stored in hdfs. I want to know where the schema of hbase table is stored in hdfs

Upvotes: 1

Views: 1855

Answers (1)

PradeepKumbhar
PradeepKumbhar

Reputation: 3421

Look for the property named hbase.rootdir in conf/hbase-site.xml

e.g. In my case, the value is as follows:

<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost:54310/user/hbase/store</value>
</property>

You'll find all your hbase data using command e.g. hdfs dfs -ls /user/hbase/store

Upvotes: 1

Related Questions