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

amerzky at cct.lsu.edu amerzky at cct.lsu.edu
Fri Jan 16 12:15:19 CST 2009


User: amerzky
Date: 2009/01/16 12:15 PM

Added:
 /applications/MapReduce/samples/
  SSHJob.xml

Modified:
 /applications/MapReduce/samples/
  Makefile

Log:
 added config file for ssh based workers

File Changes:

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

File [modified]: Makefile
Delta lines: +2 -2
===================================================================
--- applications/MapReduce/samples/Makefile	2009-01-16 16:44:59 UTC (rev 849)
+++ applications/MapReduce/samples/Makefile	2009-01-16 18:15:07 UTC (rev 850)
@@ -11,6 +11,6 @@
 
 install::
 	@$(ECHO) "     installing mapreduce samples"
-	@$(MKDIR) -p            $(SAGA_LOCATION)/share/saga/mapreduce_samples/
-	@$(CP)    *.xml file.txt $(SAGA_LOCATION)/share/saga/mapreduce_samples/
+	@$(MKDIR) -p             $(SAGA_LOCATION)/share/saga/applications/mapreduce/
+	@$(CP)    *.xml file.txt $(SAGA_LOCATION)/share/saga/applications/mapreduce/
 

File [added]: SSHJob.xml
Delta lines: +49 -0
===================================================================
--- applications/MapReduce/samples/SSHJob.xml	2009-01-16 16:44:59 UTC (rev 849)
+++ applications/MapReduce/samples/SSHJob.xml	2009-01-16 18:15:07 UTC (rev 850)
@@ -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 (AdvertDB) -->
+    <OrchestratorDB>
+      <Host>
+        advert://
+      </Host>
+    </OrchestratorDB>
+
+    <!-- List of hosts we want to run comp. agents on -->
+    <TargetHosts>
+      <Host arch="i386" OS="MacOS">
+        ssh://localhost/
+      </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://localhost/usr/local/packages/saga/share/saga/applications/mapreduce/file.txt
+      </File>
+    </ApplicationFiles>
+
+  </MapReduceSession>
+
+</MRDL>
+



More information about the saga-devel mailing list