I have a web application that I need to convince to read files out of cfs. The code calls org.apache.hadoop.fs.Path.getFileSystem() on an instance of a path object initialized with: cfs:///root/subdir/
But when I call that, I get:
java.io.IOException: No FileSystem for scheme: cfs
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1307)
at org.apache.hadoop.fs.FileSystem.access$100(FileSystem.java:65)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1328)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:226)
at org.apache.hadoop.fs.Path.getFileSystem(Path.java:187)
I know the hadoop classes are being loaded from the jars bundled with brisk, but I'm not sure how to convince this method call that my path is valid with cfs:// in front of it. If I drop that, I just get a reference to a local filesystem, which coincidentally exists.
Thoughts?
