Currently, hbck creates a folder /hbase-[timestamp] to hold those regions sidelined, if it runs in fix mode and needs to sideline some regions, for example, to fix some overlapped regions. In most cases, this is fine. However, if HDFS security is turned on and the user doesn't have permission to create this folder, hbck can't move ahead. With this patch, administrator can just set the right privilege for folder /hbck, then it will be
good to go.
The other issue is that there will be serveral /hbase-[timestamp] folders after serveral run. It is better to put them all under /hbck so that we know they are created by hbck, to avoid confusion.
The next step is to fix
HBASE-5714, do some permission checking before trying to fix those problems invovling sideline some regions.