[Saga-devel] saga-projects SVN commit 852: /applications/MapReduce/samples/

amerzky at cct.lsu.edu amerzky at cct.lsu.edu
Fri Jan 16 13:03:04 CST 2009


User: amerzky
Date: 2009/01/16 01:03 PM

Added:
 /applications/MapReduce/samples/
  AWSJob.xml, LocalJob.xml

Log:
 config files changes
 
 I am afraid the config files need always  editing by the user
 - paths need to be specified complitely and explicitely...
 Maybe the saga ini format would be easier to use?  It could
 refer to env variables, for example...
 
 A

File Changes:

Directory: /applications/MapReduce/samples/
===========================================

File [added]: AWSJob.xml
Delta lines: +49 -0
===================================================================
--- applications/MapReduce/samples/AWSJob.xml	2009-01-16 18:57:58 UTC (rev 851)
+++ applications/MapReduce/samples/AWSJob.xml	2009-01-16 19:02:52 UTC (rev 852)
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<MRDL version="1.0" 
+      xmlns="http://cct.lsu.edu/MRL-1-0"
+      xmlns:xsi="http://www.w3.org/2001/XMLSchema_instance" >
+
+  <!-- Description of the session - a file can contain multiple sessions -->
+  <MapReduceSession name="WordCount" 
+                    version="0.1" 
+                    user="merzky" 
+                    priority="1" 
+                    experimentID="LocalAgentTest" 
+                    eventLevel="DEBUG">
+
+    <!-- The orchestrator host (defaults to fortytwo) -->
+    <OrchestratorDB>
+      <Host>
+        advert://
+      </Host>
+    </OrchestratorDB>
+
+    <!-- List of hosts we want to run comp. agents on -->
+    <TargetHosts>
+      <Host arch="i386" OS="Linux">
+        fork://localhost
+      </Host>
+    </TargetHosts>
+
+    <!-- Application binaries for different platforms/architectures -->
+    <ApplicationBinaries>
+      <BinaryImage arch="i386" OS="MacOS" extraArgs="">
+        /tmp/saga/mapreduce_worker
+      </BinaryImage>
+    </ApplicationBinaries>
+
+    <!-- output data location -->
+    <OutputPrefix>file://localhost/tmp/</OutputPrefix>
+
+    <!-- List of independent work packages aka "chunks" -->  
+    <ApplicationFiles>
+      <File>
+        /tmp/saga/mapreduce_data.txt
+      </File>
+    </ApplicationFiles>
+
+  </MapReduceSession>
+
+</MRDL>
+

File [added]: LocalJob.xml
Delta lines: +50 -0
===================================================================
--- applications/MapReduce/samples/LocalJob.xml	2009-01-16 18:57:58 UTC (rev 851)
+++ applications/MapReduce/samples/LocalJob.xml	2009-01-16 19:02:52 UTC (rev 852)
@@ -0,0 +1,50 @@
+
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<MRDL version="1.0" 
+      xmlns="http://cct.lsu.edu/MRL-1-0"
+      xmlns:xsi="http://www.w3.org/2001/XMLSchema_instance" >
+
+  <!-- Description of the session - a file can contain multiple sessions -->
+  <MapReduceSession name="WordCount" 
+                    version="0.1" 
+                    user="merzky" 
+                    priority="1" 
+                    experimentID="LocalAgentTest" 
+                    eventLevel="DEBUG">
+
+    <!-- The orchestrator host (AdvertDB) -->
+    <OrchestratorDB>
+      <Host>
+        advert://
+      </Host>
+    </OrchestratorDB>
+
+    <!-- List of hosts we want to run comp. agents on -->
+    <TargetHosts>
+      <Host arch="i386" OS="MacOS">
+        ec2://i-4f46c726/
+      </Host>
+    </TargetHosts>
+
+    <!-- Application binaries for different platforms/architectures -->
+    <ApplicationBinaries>
+      <BinaryImage arch="i386" OS="MacOS" extraArgs="">
+        /usr/local/packages/saga/bin/mapreduce_worker
+      </BinaryImage>
+    </ApplicationBinaries>
+
+    <!-- output data location -->
+    <OutputPrefix>file://localhost/tmp/</OutputPrefix>
+
+    <!-- List of independent work packages aka "chunks" -->  
+    <ApplicationFiles>
+      <File>
+        ssh://qb.loni.org//home/merzky/trunk-install/share/saga/applications/mapreduce/file.txt
+      </File>
+    </ApplicationFiles>
+
+  </MapReduceSession>
+
+</MRDL>
+



More information about the saga-devel mailing list