Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Some examples are given below.
1. When creating stage directory, FileUtils sets the directory permissions by running a set of chgrp and chmod commands. In systems like S3, this would not be relevant.
2. In some cases, fs.delete() is followed by fs.exists(). In this case, it might be redundant to check for exists() (lookup ops are expensive in systems like S3).
Attachments
Attachments
Issue Links
- causes
-
HIVE-18702 INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
- Closed
- is depended upon by
-
HADOOP-13525 Optimize uses of FS operations in the ASF analysis frameworks and libraries
- Resolved
-
HIVE-14269 Performance optimizations for data on S3
- Open
- is related to
-
HADOOP-13321 Deprecate FileSystem APIs that promote inefficient call patterns.
- Resolved
-
HADOOP-13427 Eliminate needless uses of FileSystem#{exists(), isFile(), isDirectory()}
- Resolved
-
SPARK-16736 remove redundant FileSystem status checks calls from Spark codebase
- Resolved
- relates to
-
HIVE-13925 ETL optimizations
- Open