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

[jira] [Updated] (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:all-tabpanel ]

Xiang Li updated HBASE-17916:
-----------------------------
    Description: 
SecureBulkLoadEndpoint checks the permission of staging dir. If it is not “-rwx--x--x”, the following error is prompted:
{{Directory already exists but permissions aren't set to '-rwx--x--x'}}
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.


> 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
>             Fix For: 1.4.0
>
>
> SecureBulkLoadEndpoint checks the permission of staging dir. If it is not “-rwx--x--x”, the following error is prompted:
> {{Directory already exists but permissions aren't set to '-rwx--x--x'}}
> 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)