[ 
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)

Reply via email to