swamirishi commented on PR #38377:
URL: https://github.com/apache/spark/pull/38377#issuecomment-1302754420

   > If we do necessarily need the fully qualified path, we can use 
`fileSystem.resolvePath(new Path ...)` instead.
   
   FileUtils.get().absolutePath() would resolve file path based on the 
System.property("user.dir") in the case of  while fileSystem.resolvePath will 
throw FilenotfoundException


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to