Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
3.0.0
-
None
-
None
Description
In our production, we find that many shuffle files could be located in
/hadoop/2/yarn/local/usercache/b_carmel/appcache/application_1586487864336_4602/null-107d4e9c-d3c7-419e-9743-a21dc4eaeb3f/3a
The Util.createDirectory() uses a default parameter "spark"
def createDirectory(root: String, namePrefix: String = "spark"): File = {
But in some cases, the actual namePrefix is null. If the method is called with null, then the default value would not be applied.