You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ankit Raj Boudh (Jira)" <ji...@apache.org> on 2020/04/28 06:56:00 UTC

[jira] [Commented] (SPARK-31591) namePrefix could be null in Utils.createDirectory

    [ https://issues.apache.org/jira/browse/SPARK-31591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17094210#comment-17094210 ] 

Ankit Raj Boudh commented on SPARK-31591:
-----------------------------------------

Hi [~cltlfcjin] , I will start working on this issue. 

> namePrefix could be null in Utils.createDirectory
> -------------------------------------------------
>
>                 Key: SPARK-31591
>                 URL: https://issues.apache.org/jira/browse/SPARK-31591
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 3.0.0
>            Reporter: Lantao Jin
>            Priority: Minor
>
> 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"
> {code}
>   def createDirectory(root: String, namePrefix: String = "spark"): File = {
> {code}
> But in some cases, the actual namePrefix is null. If the method is called with null, then the default value would not be applied.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org