Эх сурвалжийг харах

[oozie] Some job properties are not generated in the workflow.xml

Romain Rigaux 10 жил өмнө
parent
commit
4ebef11

+ 1 - 1
apps/oozie/src/oozie/templates/editor2/gen/workflow-hive.xml.mako

@@ -26,7 +26,7 @@
             % if node['properties']['hive_xml']:
               <job-xml>${ node['properties']['hive_xml'] }</job-xml>
             % endif
-            ${ common.configuration(node['properties']['properties']) }
+            ${ common.configuration(node['properties']['job_properties']) }
 
             <script>${ node['properties']['script_path'] }</script>
 

+ 1 - 1
apps/oozie/src/oozie/templates/editor2/gen/workflow-hive2.xml.mako

@@ -26,7 +26,7 @@
             % if node['properties']['job_xml']:
               <job-xml>${ node['properties']['job_xml'] }</job-xml>
             % endif
-            ${ common.configuration(node['properties']['properties']) }
+            ${ common.configuration(node['properties']['job_properties']) }
             
             <jdbc-url>${ node['properties']['jdbc_url'] }</jdbc-url>
             % if node['properties']['password']:

+ 1 - 1
apps/oozie/src/oozie/templates/editor2/gen/workflow-java.xml.mako

@@ -26,7 +26,7 @@
             % if node['properties']['job_xml']:
               <job-xml>${ node['properties']['job_xml'] }</job-xml>
             % endif
-            ${ common.configuration(node['properties']['properties']) }
+            ${ common.configuration(node['properties']['job_properties']) }
 
             <main-class>${ node['properties']['main_class'] }</main-class>
 

+ 1 - 1
apps/oozie/src/oozie/templates/editor2/gen/workflow-mapreduce.xml.mako

@@ -26,7 +26,7 @@
             % if node['properties']['job_xml']:
               <job-xml>${ node['properties']['job_xml'] }</job-xml>
             % endif
-            ${ common.configuration(node['properties']['properties']) }
+            ${ common.configuration(node['properties']['job_properties']) }
 
             ${ common.distributed_cache(node['properties']['files'], node['properties']['archives']) }
         </map-reduce>

+ 1 - 1
apps/oozie/src/oozie/templates/editor2/gen/workflow-shell.xml.mako

@@ -26,7 +26,7 @@
             % if node['properties']['job_xml']:
               <job-xml>${ node['properties']['job_xml'] }</job-xml>
             % endif
-            ${ common.configuration(node['properties']['properties']) }
+            ${ common.configuration(node['properties']['job_properties']) }
 
             <exec>${ node['properties']['shell_command'] }</exec>
 

+ 1 - 1
apps/oozie/src/oozie/templates/editor2/gen/workflow-sqoop.xml.mako

@@ -26,7 +26,7 @@
             % if node['properties']['job_xml']:
               <job-xml>${ node['properties']['job_xml'] }</job-xml>
             % endif
-            ${ common.configuration(node['properties']['properties']) }
+            ${ common.configuration(node['properties']['job_properties']) }
 
             % if node['properties']['command']:
             <command>${ node['properties']['command'] }</command>

+ 1 - 1
apps/oozie/src/oozie/templates/editor2/gen/workflow-streaming.xml.mako

@@ -29,7 +29,7 @@
                 <reducer>${ node['properties']['reducer'] }</reducer>
                 % endif
             </streaming>
-            ${ common.configuration(node['properties']['properties']) }
+            ${ common.configuration(node['properties']['job_properties']) }
             ${ common.distributed_cache(node['properties']['files'], node['properties']['archives']) }
         </map-reduce>
         <ok to="${ node_mapping[node['children'][0]['to']].name }"/>

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 4 - 3
apps/oozie/src/oozie/tests2.py


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно