<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The issues I raised are mostly resolved: </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
1. I don't see warnings about lazy.errors / lazyErrors,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">2. I think workDirectory errors were alright, and is better off as a required option.</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">3. I got the filesystem.type options for docs.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The docs also now explain how to use -sites to pick the site from the config. </div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Now that Mihael is on the thread, I'd like to point out that the nesting and braces are excessive.</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">In case of execution options, I don't see why there has to be a separate group under execution. Same is the case with </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
jobOptions nested under options. Here's the config I'm using as an example :</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default"><div class="gmail_default" style>
<font face="arial, helvetica, sans-serif">site.cloud {</font></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif"> execution {</font></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif"> type:"coaster"</font></div>
<div class="gmail_default" style><font face="arial, helvetica, sans-serif"> URL: "127.0.0.1"</font></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif"> jobManager: "local:ec2-cloud"</font></div>
<div class="gmail_default" style><font face="arial, helvetica, sans-serif"> options {</font></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif"> maxJobs: 10</font></div><div class="gmail_default" style>
<font face="arial, helvetica, sans-serif"> tasksPerNode: 4</font></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif"> workerLoggingLevel: TRACE</font></div><div class="gmail_default" style>
<font face="arial, helvetica, sans-serif"> workerLoggingDirectory: /tmp</font></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif"> jobOptions {</font></div><div class="gmail_default" style>
<font face="arial, helvetica, sans-serif"> ec2CredentialsFile: ${env.HOME}/.ssh/boto-test-credentials.csv</font></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif"> ec2SecurityGroup: swift_security_group1</font></div>
<div class="gmail_default" style><font face="arial, helvetica, sans-serif"> ec2KeypairName: swift-test-pair</font></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif"> ec2KeypairFile: ${env.HOME}/swift-test-pair.pem</font></div>
<div class="gmail_default" style><font face="arial, helvetica, sans-serif"> ec2WorkerImage: ami-23700813</font></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif"> ec2WorkerType: t1.micro</font></div>
<div class="gmail_default" style><font face="arial, helvetica, sans-serif"> }</font></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif"> }</font></div><div class="gmail_default" style>
<font face="arial, helvetica, sans-serif"> }</font></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif"> # Latest trunk won't run without the next two:</font></div>
<div class="gmail_default" style><font face="arial, helvetica, sans-serif"><div class="gmail_default"> execution.retries: 2</div><div class="gmail_default"> wrapperlog.always.transfer: False</div><div><br></div></font></div>
<div class="gmail_default" style><font face="arial, helvetica, sans-serif"> initialParallelTasks: 10</font></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif"> maxParallelTasks: 20</font></div>
<div class="gmail_default" style><font face="arial, helvetica, sans-serif"> filesystem.type: swift</font></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif"> workDirectory: /tmp/swift-trunk-test</font></div>
<div class="gmail_default" style><font face="arial, helvetica, sans-serif"> staging: "local"</font></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif"> app.ALL {executable: "*"}</font></div>
<div class="gmail_default" style><font face="arial, helvetica, sans-serif">}</font></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default" style><font face="arial, helvetica, sans-serif">sites: cloud</font></div>
<div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">Thanks,</div><div style="font-family:arial,helvetica,sans-serif">Yadu</div><div style="font-family:arial,helvetica,sans-serif">
<br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 24, 2014 at 10:13 PM, Tim Armstrong <span dir="ltr"><<a href="mailto:tim.g.armstrong@gmail.com" target="_blank">tim.g.armstrong@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I don't think I saw one.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div>
<span class="HOEnZb"><font color="#888888">- Tim<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 24, 2014 at 6:36 PM, Mihael Hategan <span dir="ltr"><<a href="mailto:hategan@mcs.anl.gov" target="_blank">hategan@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Was there ever a reply from me on this? I have one in my "Sent" folder,<br>
but I don't see it on the mailing list.<br>
<span><font color="#888888"><br>
Mihael<br>
</font></span><div><div><br>
On Wed, 2014-07-16 at 17:36 -0500, Yadu Nand Babuji wrote:<br>
> Hi<br>
><br>
> I just tried to run some test scripts using trunk and these are my<br>
> observations:<br>
><br>
> I copied the swift.conf file from the configuration section in the trunk<br>
> userguide.<br>
><br>
> 1. I got an error about lazy.errors=false. Found that lazy.errors has<br>
> been replaces by lazyErrors. Minor doc mismatch here.<br>
> 2. Then I got a swift.conf:2 missing mandatory property<br>
> 'site.local.workDirectory'<br>
> 3. Then this -> swift.conf:2 missing mandatory property<br>
> 'site.local.filesystem.type'<br>
> - This one is missing documentation as well.<br>
><br>
> I like that there are sensible error messages, but at the same time I<br>
> feel that the config file has gotten a bit more verbose<br>
> that the 0.95 swift.properties. I really like the 0.95 feature where you<br>
> could have several sites defined in your config file, and<br>
> then you choose what sites to run on from the commandline using<br>
> -sites=<sites1, ...>. This makes the commandline very<br>
> simple and helps with tutorials and demos.<br>
><br>
> I could not get past this error once it looked like the config was fixed.<br>
><br>
> swift -config swift.conf sanity.swift<br>
> Swift trunk swift-r8021 cog-r4025 (cog modified locally)<br>
> RunID: run014<br>
> Could not start execution:<br>
> Import of 'swift.k' failed, import @ sanity.kml, line: 5:<br>
> Invalid node definition class:<br>
> org.griphyn.vdl.karajan.lib.Mapping$Cons, def @ swift.k, line: 91:<br>
> org.griphyn.vdl.karajan.lib.Mapping$Cons<br>
><br>
><br>
> -Yadu<br>
<br>
<br>
_______________________________________________<br>
Swift-devel mailing list<br>
<a href="mailto:Swift-devel@ci.uchicago.edu" target="_blank">Swift-devel@ci.uchicago.edu</a><br>
<a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel</a><br>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Swift-devel mailing list<br>
<a href="mailto:Swift-devel@ci.uchicago.edu">Swift-devel@ci.uchicago.edu</a><br>
<a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Yadu Nand B<div><br></div></div>
</div>