Skip to content

Commit

Permalink
view scheme added
Browse files Browse the repository at this point in the history
  • Loading branch information
n3nash authored and prasannarajaperumal committed May 22, 2017
1 parent 70dd7a2 commit 3c98444
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -57,6 +57,7 @@ public class HoodieWrapperFileSystem extends FileSystem {
// Hoodie currently relies on underlying object store being fully
// consistent so only regional buckets should be used.
SUPPORT_SCHEMES.add("gs");
SUPPORT_SCHEMES.add("viewfs");
}

private ConcurrentMap<String, SizeAwareFSDataOutputStream> openStreams =
Expand Down Expand Up @@ -666,7 +667,7 @@ public static String getHoodieScheme(String scheme) {
newScheme = HOODIE_SCHEME_PREFIX + scheme;
} else {
throw new IllegalArgumentException(
"BlockAlignedAvroParquetWriter does not support schema " + scheme);
"BlockAlignedAvroParquetWriter does not support scheme " + scheme);
}
return newScheme;
}
Expand Down

0 comments on commit 3c98444

Please sign in to comment.