GitHub user kaspersorensen opened a pull request: https://github.com/apache/metamodel/pull/79
HdfsResource with non-"hdfs" scheme Suggested fix for METAMODEL-220. I based this PR on the branch that is represented in PR #78, so please review that one first. There is only the last commit in the branch that adds to the work in #78. In this PR I've added a scheme to the HdfsResource. To make the scheme dynamic I also needed to improve the URI parsing, which anyways ended up being a very good improvement. You can merge this pull request into a Git repository by running: $ git pull https://github.com/kaspersorensen/metamodel METAMODEL-220-hadoop-filesystem-other-schemes Alternatively you can review and apply these changes as the patch at: https://github.com/apache/metamodel/pull/79.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #79 ---- commit 14b63cdc262d40b0d6469de6cfc12103aa6239e3 Author: Kasper Sørensen <i.am.kasper.soren...@gmail.com> Date: 2015-12-10T20:59:29Z Moved HDFS resource stream classes to separate files. commit 1e5dfe34d65cb9880a8ccd0e6adaa3a765640527 Author: Kasper Sørensen <i.am.kasper.soren...@gmail.com> Date: 2015-12-10T21:06:09Z Improved FileHelper.safeClose(...) method by using AutoCloseable ... which is now super-interface for Closeable, Connection, Statement, ResultSet and more. commit 7b5fb0c09c5dac7af3a2f2ff0e2aef8e0bbf2012 Author: Kasper Sørensen <i.am.kasper.soren...@gmail.com> Date: 2015-12-10T21:24:39Z METAMODEL-219: Added loading of core-site.xml and hdfs-site.xml commit 28537a1a0f5d40f67a64f902cdf3a32f0dfd5d3f Author: Kasper Sørensen <i.am.kasper.soren...@gmail.com> Date: 2015-12-10T21:45:42Z METAMODEL-220: Added dynamic schemes to HdfsResource ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---