Open huijunw opened 7 years ago
Hi @huijunw .The FFD repacking algo will only work if you have done the initial packing with the FFD algorithm. Is that the case here?
if a topology uses RoundRobinPacking packing alg, what re-packing alg should this topology use?
The idea was that RoundRobin packing should be replaced by resource compliant round robin packing and that the scaling capability would work only for topologies that have updated to the resource compliant algo.
how to reproduce:
~/bin/heron submit --deploy-deactivated --verbose local ~/.heron/examples/heron-api-examples.jar com.twitter.heron.examples.api.WordCountTopology WordCountTopology 3
~/bin/heron update --verbose --dry-run local WordCountTopology --component-parallelism consumer:4
IMO, the
heron update
should be able to update the above example topology successfully by simply adding one more container.The
heron update
throws exception and fails to update. See below.