Closed noproblem666 closed 8 years ago
Can you tell me if this behavior is intended and how I can fix this?
Seems like a bug.
@noproblem666 Can you list the bean config for the wordcount.default
suite and the wordcount.flink
experiment?
You can find my current experiment configuration here.
I had some thoughts related to this issue lately. Should we introduce ordered dependencies, aka. change from Set to List, over the transitive dependencies of a system?
I have no real problem with the current implementation, but for instance when we tear down an experiment running with Spark on HDFS, we (randomly) shut down HDFS before Spark which should not be the case as Spark depends on HDFS (basically it should be the reverse of the setup phase).
I think the same should apply in the above example, were the dependency chain should be Flink, Yarn, HDFS meaning setup HDFS, Yarn and then Flink.
This sounds more like a bug in the set based representation.
Setup is in reversed topological order (dependencies before dependent syatwns) and teardown in topological order (dependent system before dependencies).
If it does not happen like that the bug is either in the framework or in the configuration.
Have you added HDFS as a dependency for Spark in your configuration?
Yes
Sorry I think we got to the bottom of the original issue and it was rated to the order of loading the different configuration layers.
Hi,
this issue is related to #93.
I have configured the following system bean
flink-0.10.2
insystems.xml
:When I run
./peel.sh sys:setup flink-0.10.2
I will get the following log output:As you can see the execution order is: YARN, Flink, HDFS.
When I run
./peel.sh exp:run wordcount.default wordcount.flink
the execution order will change to: HDFS, Flink, YARN.This behavior is a bit strange because I would assume that
peel
will start the system dependencies, HDFS and YARN in this case, before the system bean (flink-0.10.2) will start. Therefore from my point of view the order should be: YARN, HDFS, Flink.Can you tell me if this behavior is intended and how I can fix this?
Thanks!