You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/04/14 14:55:41 UTC

[jira] [Commented] (HBASE-17916) Error message not clear when the permission of staging dir is not as expected

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

Ted Yu commented on HBASE-17916:
--------------------------------

lgtm

> Error message not clear when the permission of staging dir is not as expected
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-17916
>                 URL: https://issues.apache.org/jira/browse/HBASE-17916
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Xiang Li
>            Assignee: Xiang Li
>            Priority: Minor
>              Labels: easyfix
>             Fix For: 1.4.0
>
>         Attachments: HBASE-17916.branch-1.000.patch
>
>
> SecureBulkLoadEndpoint checks the permission of staging dir. If it is not “-rwx--x--x”, the following error is prompted:
> {code}
> Directory already exists but permissions aren't set to '-rwx--x--x'
> {code}
> It says "Directory", but user has no idea what the directory is. User need to read code according to the stack trace to find that the error is for staging dir.
> Need to add more info into the error message.
> Master branch does not have this issue, as it does not check the permission any more.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)