Browse Source

HADOOP-14363. Inconsistent default block location in FileSystem javadoc. Contributed by Chen Liang

(cherry picked from commit c735362df719227adf9a648b2d425288cd4e4c2e)
Mingliang Liu 8 years ago
parent
commit
18a5925256

+ 1 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java

@@ -792,7 +792,7 @@ public abstract class FileSystem extends Configured implements Closeable {
    *
    * The default implementation returns an array containing one element:
    * <pre>
-   * BlockLocation( { "localhost:50010" },  { "localhost" }, 0, file.getLen())
+   * BlockLocation( { "localhost:9866" },  { "localhost" }, 0, file.getLen())
    * </pre>>
    *
    * @param file FilesStatus to get data from