Kousuke Saruta created SPARK-3689:
-------------------------------------

             Summary: FileLogger should create new instance of FileSystem 
regardless of it's scheme
                 Key: SPARK-3689
                 URL: https://issues.apache.org/jira/browse/SPARK-3689
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 1.2.0
            Reporter: Kousuke Saruta


FileLogger creates new instance of FileSystem to avoid the effect of 
FileSystem#close from another module but it's expected only HDFS.
We can used another filesystem for the directory which event log is stored to.

{code}
    if (scheme == "hdfs") {
      conf.setBoolean("fs.hdfs.impl.disable.cache", true)
    }
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to