Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

what does Average percentage of local files to RegionServer mean?

Solved Go to solution

what does Average percentage of local files to RegionServer mean?

Super Guru

I found the metric Regionserver.Server.percentFilesLocal on ambari which is showing 20%. What is the meaning of the metric? Any details would be appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: what does Average percentage of local files to RegionServer mean?

That's the ratio of HFiles associated with regions served by an RS having one replica stored on the local Data Node in HDFS. RS can access local files directly from a local disk if short-circuit is enabled. And If you, for example run a RS on a machine without DN, its locality will be zero. You can find more details here. And on HBase Web UI page you can find locality per table.

1 REPLY 1

Re: what does Average percentage of local files to RegionServer mean?

That's the ratio of HFiles associated with regions served by an RS having one replica stored on the local Data Node in HDFS. RS can access local files directly from a local disk if short-circuit is enabled. And If you, for example run a RS on a machine without DN, its locality will be zero. You can find more details here. And on HBase Web UI page you can find locality per table.

Don't have an account?
Coming from Hortonworks? Activate your account here