hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szehon Ho" <>
Subject Re: Review Request 21095: HIVE-7015 Failing to inherit group/permission should not fail the operation
Date Thu, 08 May 2014 00:14:11 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated May 8, 2014, 12:14 a.m.)

Review request for hive and Brock Noland.

Bugs: HIVE-7015

Repository: hive-git


There was some reported permission errors hit in Fs.setOwner during table creation, when the
inherit permission flag was on.  I realized that HDFS follows the BSD rule and anyway sets
new directory to be the same group as the parent, so actually no need to call 'setOwner' for
changing the group during mkdirs.

Minor cleanups elsewhere.  Changed the other call in mkdirs (Fs.setPermission) to use the
shell, so it doesnt throw an error (although I don't see why it should, as folder should be
owned by the current user whether its impersonated user or hive).  Also changing other places
as well to not throw error on failure, although again they shouldn't have failed as these
were already using the shell.


  common/src/java/org/apache/hadoop/hive/common/ 23a4b8e 
  ql/src/java/org/apache/hadoop/hive/ql/metadata/ d8ad873 



Ran TestFolderPermissions.


Szehon Ho

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message