From 8692f521faaf5f76b8b498743d2b21940506de9f Mon Sep 17 00:00:00 2001 From: "n.fraison" Date: Fri, 8 Sep 2017 09:37:45 +0200 Subject: [PATCH] Add viewfs dataset --- .../java/org/kitesdk/data/spi/filesystem/Loader.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/kite-data/kite-data-core/src/main/java/org/kitesdk/data/spi/filesystem/Loader.java b/kite-data/kite-data-core/src/main/java/org/kitesdk/data/spi/filesystem/Loader.java index 0898e72443..983177215f 100644 --- a/kite-data/kite-data-core/src/main/java/org/kitesdk/data/spi/filesystem/Loader.java +++ b/kite-data/kite-data-core/src/main/java/org/kitesdk/data/spi/filesystem/Loader.java @@ -109,6 +109,15 @@ public void load() { new URIPattern("hdfs:*path/:namespace/:dataset"), builder); + Registration.register( + new URIPattern("viewfs:/*path?absolute=true"), + new URIPattern("viewfs:/*path/:namespace/:dataset?absolute=true"), + builder); + Registration.register( + new URIPattern("viewfs:*path"), + new URIPattern("viewfs:*path/:namespace/:dataset"), + builder); + Registration.register( new URIPattern("webhdfs:/*path?absolute=true"), new URIPattern("webhdfs:/*path/:namespace/:dataset?absolute=true"),