You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Matteo Bertozzi (JIRA)" <ji...@apache.org> on 2014/06/09 15:41:01 UTC
[jira] [Created] (HBASE-11311) Secure Bulk Load does not execute
chmod 777 on the files
Matteo Bertozzi created HBASE-11311:
---------------------------------------
Summary: 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
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)