Repository: hadoop Updated Branches: refs/heads/branch-2 437965804 -> 57b17ae80
http://git-wip-us.apache.org/repos/asf/hadoop/blob/57b17ae8/hadoop-common-project/hadoop-common/src/site/markdown/filesystem/filesystem.md ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/src/site/markdown/filesystem/filesystem.md b/hadoop-common-project/hadoop-common/src/site/markdown/filesystem/filesystem.md index dd788f3..b87ee4c 100644 --- a/hadoop-common-project/hadoop-common/src/site/markdown/filesystem/filesystem.md +++ b/hadoop-common-project/hadoop-common/src/site/markdown/filesystem/filesystem.md @@ -416,7 +416,7 @@ If the filesystem is not location aware, it SHOULD return BlockLocation(["localhost:50010"] , ["localhost"], ["/default/localhost"] - 0, F.getLen()) + 0, f.getLen()) ] ; http://git-wip-us.apache.org/repos/asf/hadoop/blob/57b17ae8/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCaching.java ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCaching.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCaching.java index 07b07dc..214f070 100644 --- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCaching.java +++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCaching.java @@ -95,16 +95,14 @@ public class TestFileSystemCaching { try { fs = FileSystem.get(URI.create("//host"), conf); fail("got fs with auth but no scheme"); - } catch (Exception e) { - assertEquals("No FileSystem for scheme: null", e.getMessage()); + } catch (UnsupportedFileSystemException e) { } // no scheme, different auth try { fs = FileSystem.get(URI.create("//host2"), conf); fail("got fs with auth but no scheme"); - } catch (Exception e) { - assertEquals("No FileSystem for scheme: null", e.getMessage()); + } catch (UnsupportedFileSystemException e) { } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
