You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jerry He (JIRA)" <ji...@apache.org> on 2014/06/09 19:23:02 UTC

[jira] [Commented] (HBASE-11311) Secure Bulk Load does not execute chmod 777 on the files

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

Jerry He commented on HBASE-11311:
----------------------------------

Hi, Matteo

The error happened during bulk loading, or happened in HBase log?

> Secure Bulk Load does not execute chmod 777 on the files
> --------------------------------------------------------
>
>                 Key: HBASE-11311
>                 URL: https://issues.apache.org/jira/browse/HBASE-11311
>             Project: HBase
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 0.99.0, 0.98.2
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>             Fix For: 0.99.0, 0.98.4
>
>
> With HBASE-10902 we lost the setPermission() on the hfiles that we are moving, resulting in a Permission denied when we try to remove the file
> {code}
> Permission denied: user=hbase, access=WRITE, inode="/hbase/.../3de9fdb2a99e4ef9937b4622317d10e0_SeqId_2_":testuser:hadoop:-rwxr-xr-x
> {code}
> {code}
>  for(Pair<byte[], String> el: familyPaths) {
> -   Path p = new Path(el.getSecond());
> -   LOG.trace("Setting permission for: " + p);
> -   fs.setPermission(p, PERM_ALL_ACCESS);
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)