Github user uce commented on the issue:
https://github.com/apache/flink/pull/2288
Hey Cliff! I looked over this again and I think we have to address some
things:
- The problem you mentioned on the mailing list with respect to to
flattening is actually something we should not ignore. Can't we create the
directory manually and then copy the files there instead of flattening?
- With #2345 the RocksDB part will be removed and we only use
`copyFromLocal` in YARN for JAR copies. Therefore I would move the utility
method to `flink-yarn/src/main/java/org/apache/flink/yarn/Utils.java` and only
use it in YARN (ignore the RocksDB part).
- The check for the `file://` scheme is unrelated and we should address in
a separate issue (remove `checkFileScheme` and `checkInitialDirectory`). This
might point to a bug in some other place actually.
Feel free to ping me if you don't have time to address this and I can also
do it. Sorry for the back and forth.
---
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.
---