azkaban-aplcache

Stop running prepare properties on the top level flow. This

1/21/2014 9:55:01 PM

Details

diff --git a/src/java/azkaban/execapp/FlowRunner.java b/src/java/azkaban/execapp/FlowRunner.java
index cab5f58..f5f07f4 100644
--- a/src/java/azkaban/execapp/FlowRunner.java
+++ b/src/java/azkaban/execapp/FlowRunner.java
@@ -618,6 +618,10 @@ public class FlowRunner extends EventHandler implements Runnable {
 	
 	@SuppressWarnings("unchecked")
 	private void prepareJobProperties(ExecutableNode node) throws IOException {
+		if (node instanceof ExecutableFlow) {
+			return;
+		}
+		
 		Props props = null;
 		// The following is the hiearchical ordering of dependency resolution
 		// 1. Parent Flow Properties