Github user rmetzger commented on the pull request:
https://github.com/apache/incubator-flink/pull/202#issuecomment-63971965
I think if you have a flink.Path() object, you can call getFileSystem() or
so on it.. The FileSystem class you're getting is abstracting from the actual
file system (remote, local).
If you are not adding a scheme prefix (file:/// or hdfs:///) it will
automatically use the local file system. I think the Path() thing is also able
to handle relative paths.
Maybe its a good idea to put these "temp" files into the home directory of
the user (".flink/python"). The YARN client is also doing it this way. You
should make sure to clean everything up afterwards.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---