/** * @param location HDFS block location. * @param len New length. */ public GridGgfsBlockLocationImpl(GridGgfsBlockLocation location, long len) { assert location != null; start = location.start(); this.len = len; nodeIds = location.nodeIds(); names = location.names(); hosts = location.hosts(); }
/** * @param location HDFS block location. * @param len New length. */ public GridGgfsBlockLocationImpl(GridGgfsBlockLocation location, long len) { assert location != null; start = location.start(); this.len = len; nodeIds = location.nodeIds(); names = location.names(); hosts = location.hosts(); }
splitBlocks(last.start(), last.length() + blockLen, maxLen, affNodes, res);
splitBlocks(last.start(), last.length() + blockLen, maxLen, affNodes, res);
splitBlocks(last.start(), last.length() + partEnd - pos, maxLen, affNodes, res);
splitBlocks(last.start(), last.length() + partEnd - pos, maxLen, affNodes, res);