hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiang Li (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-17916) Error message not clear when the permission of staging dir is not as expected
Date Fri, 14 Apr 2017 09:24:41 GMT

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

Mime
View raw message