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

Jimmy Xiang commented on HBASE-5734:
------------------------------------

Thanks.

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.

                
> Change hbck sideline root
> -------------------------
>
>                 Key: HBASE-5734
>                 URL: https://issues.apache.org/jira/browse/HBASE-5734
>             Project: HBase
>          Issue Type: Improvement
>          Components: hbck
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Trivial
>             Fix For: 0.90.7, 0.92.2, 0.94.0, 0.96.0
>
>         Attachments: hbase-5734-90.patch, hbase-5734.patch
>
>
> Currently hbck sideline root is the root which can run into permission issue. 
> We can change it to /hbck

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to