Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.5.0
-
None
-
spark master
Description
- The isFile method in the FileSystem is Deprecated,Use
{@link #getFileStatus(Path)}
instead;
HdfsUtils.scala// Some comments here def getOutputStream(path: String, conf: Configuration): FSDataOutputStream = { val dfsPath = new Path(path) val dfs = getFileSystemForPath(dfsPath, conf) // If the file exists and we have append support, append instead of creating a new file val stream: FSDataOutputStream = { if (dfs.isFile(dfsPath)) { .....
Attachments
Issue Links
- links to