hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Meil <doug.m...@explorysmedical.com>
Subject Re: Is there an easy way to check HFile locality in HDFS?
Date Fri, 16 Dec 2011 13:15:16 GMT

Hi there-

There is an example of inspecting the Hbase files on HDFS in here...


... that should be useful in this case.  You can check the replicas of the
StoreFiles from there.

On 12/16/11 12:50 AM, "Bruce Bian" <weidong.ban@gmail.com> wrote:

>some disks of one node in my hbase cluster were broken, and after I
>some new ones and start regionserver/datanode on that node again, there
>can't be data locality anymore unless I trigger a major_compaction on the
>table manually(datanode/regionserver share the same physical node)
>My question is, is there an easy way to check that all the regionservers
>have a copy of its regions on the same physical node,like a script or
>command,or else where to get the information so I can write one? I know
> the region info is stored in the .META. table, how about the region's
>hfile blocks?

View raw message