--- patching/ignite/modules/hadoop/src/main/java/org/apache/ignite/hadoop/fs/v1/IgniteHadoopFileSystem.java 2018-09-10 13:51:59.000000000 +0200 +++ ignite/modules/hadoop/src/main/java/org/apache/ignite/hadoop/fs/v1/IgniteHadoopFileSystem.java 2018-09-10 14:02:50.000000000 +0200 @@ -205,6 +205,10 @@ this.colocateFileWrites = colocateFileWrites; } + @Override public String getScheme() { + return "igfs"; + } + /** {@inheritDoc} */ @SuppressWarnings("ConstantConditions") @Override public void initialize(URI name, Configuration cfg) throws IOException { @@ -284,17 +288,7 @@ /** {@inheritDoc} */ @Override protected void checkPath(Path path) { - URI uri = path.toUri(); - - if (uri.isAbsolute()) { - if (!F.eq(uri.getScheme(), IGFS_SCHEME)) - throw new InvalidPathException("Wrong path scheme [expected=" + IGFS_SCHEME + ", actual=" + - uri.getAuthority() + ']'); - - if (!F.eq(uri.getAuthority(), uriAuthority)) - throw new InvalidPathException("Wrong path authority [expected=" + uriAuthority + ", actual=" + - uri.getAuthority() + ']'); - } + super.checkPath(path); } /** {@inheritDoc} */ @@ -926,4 +920,4 @@ public String user() { return user; } -} \ No newline at end of file +}