[ 
https://issues.apache.org/jira/browse/HBASE-2243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970028#action_12970028
 ] 

Kannan Muthukkaruppan commented on HBASE-2243:
----------------------------------------------

Ran into this in 0.89 just yesterday.

Turned out to be because countRegionsOnFS() relied on TableDirFilter() which is 
supposed to ignore all non-table directories. It was ignoring the .logs 
directory but not .oldlogs directory. As a result, the Regions on FS count 
could be reported as higher than the actual value.

But in the latest code base (as part of the new master rewrite commit I think), 
the web ui no longer displays Regions on FS metric. The countRegionsOnFS() 
function also no longer exists in the code base. So this issue no longer 
applies. 



> Regions on FS metric almost always inflated
> -------------------------------------------
>
>                 Key: HBASE-2243
>                 URL: https://issues.apache.org/jira/browse/HBASE-2243
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>            Priority: Minor
>             Fix For: 0.92.0
>
>
> The Regions on FS metric is almost always bigger than the real number of 
> regions, it means we somehow not always clean region directories and they 
> pile up. I guess it shouldn't be too hard spending some time loading a system 
> until it gets wrong and then see why.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to