----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50434/#review143565 -----------------------------------------------------------
Ship it! +1 (non-binding). Thank you, Rajesh. - Chris Nauroth On July 26, 2016, 2:50 a.m., Rajesh Balamohan wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/50434/ > ----------------------------------------------------------- > > (Updated July 26, 2016, 2:50 a.m.) > > > Review request for hive, Ashutosh Chauhan and Chris Nauroth. > > > Bugs: HIVE-14323 > https://issues.apache.org/jira/browse/HIVE-14323 > > > Repository: hive-git > > > Description > ------- > > HIVE-14323: Reduce number of FS permissions and redundant FS operations > > 1. Honor HIVE_WAREHOUSE_SUBDIR_INHERIT_PERMS when getting stage directory in > Context and in mkdir() in FileUtils > 2. Reduce FS calls like exists()-->delete() to just delete(). > 3. Similar to #2 in Hive.replaceFiles() > 4. Refactor Hive.trashFiles() so that it can make use of FileStatus > information if available (s3 FS lookups are expensive) > 5. Refactor Hive.removeTempOrDuplicateFiles() so that it can make use of > FileStatus information if available (s3 FS lookups are expensive) > > > Diffs > ----- > > common/src/java/org/apache/hadoop/hive/common/FileUtils.java 23fcc8a > ql/src/java/org/apache/hadoop/hive/ql/Context.java ec5d693 > ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java cadda8f > ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java 9d927bd > > Diff: https://reviews.apache.org/r/50434/diff/ > > > Testing > ------- > > > Thanks, > > Rajesh Balamohan > >