hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-11311) Secure Bulk Load does not execute chmod 777 on the files
Date Mon, 09 Jun 2014 19:35:02 GMT

     [ https://issues.apache.org/jira/browse/HBASE-11311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matteo Bertozzi updated HBASE-11311:
------------------------------------

    Status: Patch Available  (was: Open)

> 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.98.2, 0.99.0
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>             Fix For: 0.99.0, 0.98.4
>
>         Attachments: HBASE-11311-v0.patch
>
>
> 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)

Mime
View raw message