HDFS-5508. Fix compilation error after merge. (Contributed by szetszwo)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2832@1541352 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ba98e8f737
commit
46cbce9af1
|
@ -99,3 +99,5 @@ IMPROVEMENTS:
|
||||||
|
|
||||||
HDFS-5494. Fix findbugs warnings for HDFS-2832. (Arpit Agarwal)
|
HDFS-5494. Fix findbugs warnings for HDFS-2832. (Arpit Agarwal)
|
||||||
|
|
||||||
|
HDFS-5508. Fix compilation error after merge. (Contributed by szetszwo)
|
||||||
|
|
||||||
|
|
|
@ -414,7 +414,7 @@ public class JsonUtil {
|
||||||
(Object[])m.get("cachedLocations"));
|
(Object[])m.get("cachedLocations"));
|
||||||
|
|
||||||
final LocatedBlock locatedblock = new LocatedBlock(b, locations,
|
final LocatedBlock locatedblock = new LocatedBlock(b, locations,
|
||||||
startOffset, isCorrupt, cachedLocations);
|
null, null, startOffset, isCorrupt, cachedLocations);
|
||||||
locatedblock.setBlockToken(toBlockToken((Map<?, ?>)m.get("blockToken")));
|
locatedblock.setBlockToken(toBlockToken((Map<?, ?>)m.get("blockToken")));
|
||||||
return locatedblock;
|
return locatedblock;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue