We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a599852 commit fe4391cCopy full SHA for fe4391c
peel-core/src/main/scala/eu/stratosphere/peel/core/cli/command/validate/ValidateHosts.scala
@@ -87,9 +87,10 @@ class ValidateHosts extends Command {
87
logger.info(s"Validating configuration for experiment '${exp.name}'")
88
89
val config = exp.config
90
- val systems = for (n <- graph.reverse.traverse(); if graph.descendants(exp).contains(n)) yield n match {
91
- case x: System => x
92
- }
+ val systems = for (
+ n <- graph.reverse.traverse()
+ if graph.descendants(exp).contains(n) && n.isInstanceOf[System]
93
+ ) yield n.asInstanceOf[System]
94
95
// gather masters, avoid duplicates
96
val masters = {
0 commit comments