Support Questions

Find answers, ask questions, and share your expertise

/tmp/hbase-tablename loaded with data , what might be the reason ?

avatar
Rising Star

we observed there is folder with hbase table name is created under /tmp . there are _temporary folders , part-m files are there in those . what might be the create/storing data here ? Is there any data loss or any table corruption happens if we try to delete those temporary table directory ?

1 ACCEPTED SOLUTION

avatar
Super Guru

Sounds like the output of a MapReduce job that you ran. HBase does not store anything outside of the value of "hbase.rootdir" in hbase-site.xml. On HDP, this defaults to "/apps/hbase/data".

As long as you have no changed this configuration property, you can rest assured that HBase is not actively referring to files stored in "/tmp".

View solution in original post

1 REPLY 1

avatar
Super Guru

Sounds like the output of a MapReduce job that you ran. HBase does not store anything outside of the value of "hbase.rootdir" in hbase-site.xml. On HDP, this defaults to "/apps/hbase/data".

As long as you have no changed this configuration property, you can rest assured that HBase is not actively referring to files stored in "/tmp".