diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES_HDFS-2832.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES_HDFS-2832.txt index 227e8eb4c9e..1e33fa0e0a8 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES_HDFS-2832.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES_HDFS-2832.txt @@ -99,3 +99,5 @@ IMPROVEMENTS: HDFS-5494. Fix findbugs warnings for HDFS-2832. (Arpit Agarwal) + HDFS-5508. Fix compilation error after merge. (Contributed by szetszwo) + diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java index 58fafdee07f..63fbda61d6b 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java @@ -414,7 +414,7 @@ public class JsonUtil { (Object[])m.get("cachedLocations")); final LocatedBlock locatedblock = new LocatedBlock(b, locations, - startOffset, isCorrupt, cachedLocations); + null, null, startOffset, isCorrupt, cachedLocations); locatedblock.setBlockToken(toBlockToken((Map)m.get("blockToken"))); return locatedblock; }