<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-CA link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Indeed this is good news! Thank you.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Our next task, I think, will be to figure out how to configure Swift so that the headnode (where Swift runs) will not require any access to intermediate storage (MosaStore). Only the worker nodes will have access to intermediate storage. This is to go around the one way headnode-worker node connectivity issue. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Any guidance on how to get this configuration would be much appreciated.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thank you again, <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>-Matei<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> mosastore@googlegroups.com [mailto:mosastore@googlegroups.com] <b>On Behalf Of </b>Emalayan Vairavanathan<br><b>Sent:</b> March-02-12 2:32 PM<br><b>To:</b> Jonathan Monette; Justin M Wozniak<br><b>Cc:</b> swift-devel@ci.uchicago.edu Devel; emalayan@ece.ubc.cais ; MosaStore<br><b>Subject:</b> Re: [Swift-devel] coasters-hosts.pl script<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal style='background:white'><span style='color:black'>Thank you Jon and Justin. <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>This is a great news. I will get back to you if I have questions.<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>Regards<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>Emalayan<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><o:p> </o:p></span></p></div><div><div><div><div class=MsoNormal align=center style='text-align:center;background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'><hr size=1 width="100%" align=center></span></div><p class=MsoNormal style='background:white'><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>From:</span></b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'> Jonathan Monette <<a href="mailto:jonmon@mcs.anl.gov">jonmon@mcs.anl.gov</a>><br><b>To:</b> Justin M Wozniak <<a href="mailto:wozniak@mcs.anl.gov">wozniak@mcs.anl.gov</a>> <br><b>Cc:</b> "<a href="mailto:swift-devel@ci.uchicago.edu%20Devel">swift-devel@ci.uchicago.edu Devel</a>" <<a href="mailto:swift-devel@ci.uchicago.edu">swift-devel@ci.uchicago.edu</a>>; <a href="mailto:emalayan@ece.ubc.ca">emalayan@ece.ubc.ca</a> <br><b>Sent:</b> Friday, 2 March 2012 2:21 PM<br><b>Subject:</b> Re: [Swift-devel] coasters-hosts.pl script</span><span style='color:black'><o:p></o:p></span></p></div><p class=MsoNormal style='margin-bottom:12.0pt;background:white'><span style='color:black'><br>Emalayan,<br> We believe we have fixed the issue. You can copy the new coasters-hosts.pl script from ~jonmon/surveyor/worker-init-test/coasters-hosts.pl<br><br>This script reads the worker logs located in the logs directory. The steps to run are as follows:<br>start-coaster-service<br><wait for workers to start><br>./coasters-hosts.pl logs/worker-*.log > worker-hosts.txt<br><br>You MUST clean out the worker logs after you before you start a new coaster service to make sure the script searches the right worker log files. This may not be ideal at the moment but this will help get you started. If you have any other questions feel free to ask. We will need to update the mosaswift site with the new information, we will do this soon.<br><br>On Mar 2, 2012, at 11:26 AM, Jonathan Monette wrote:<br><br>> Can we match this line: 2012/03/02 17:16:04.712 INFO - Running on node 172.18.1.83 from the worker log,<br>> instead of this line: 2012-03-02 17:21:25,214+0000 DEBUG Cpu worker started: block=2012.0302.171344.704 host=172.18.1.83 id=0 from the cps log?<br>> <br>> They both provide the same ip addresses. And the worker log always has that ip address before the cps log does.<br>> <br>> On Mar 2, 2012, at 11:15 AM, Jonathan Monette wrote:<br>> <br>>> That fix still did not work. I had moved it to the same spot. It is still waiting for the worker-init.pl script to finish before the ip addresses are printed to the cps log. Those ip addresses are what is needed by the coaster-hosts.pl script to finish. If I create an empty file for the coaster-host.pl script to read, then the work continues and the ip addresses show up in the cps log. <br>>> <br>>> Why is log4j waiting to add those lines to the cps log after the worker-init.pl script is finished?<br>>> <br>>> On Mar 2, 2012, at 11:05 AM, Jonathan Monette wrote:<br>>> <br>>>> Thanks, in my copy I thought I had moved the reconnect to before the init-cmd and it still wasn't working. I will test with your change. I just verified that it was indeed waiting for the worker-init.pl script to finish. I created an empty file for the script to read and it finished connecting and the ip addresses I needed were added to the cps log. I will also be testing your fix.<br>>>> <br>>>> On Mar 2, 2012, at 11:01 AM, Justin M Wozniak wrote:<br>>>> <br>>>>> <br>>>>> Yes- I must have tested this with a different log file. I just checked in and installed in ~wozniak/Public a fix for this that launches WORKER_INIT_CMD after the reconnect(). I am a little worried about time outs but it works so far. I will continue testing...<br>>>>> Justin<br>>>>> <br>>>>> On Thu, 1 Mar 2012, Jonathan Monette wrote:<br>>>>> <br>>>>>> Justin,<br>>>>>> So I have been trying to help Emalayan get the host list file for the worker-init.pl script. It seems the cps log file is not providing the ip addresses for the coasters-hosts.pl script. I thought this was maybe because we did not have the correct log4j setting set but we have the Coaster service Cpu set to DEBUG. So for some reason the workers are not connecting to the service. When I comment out the export WORKER_ENVIRONEMTN="…" line in the coaster-service.conf file I see the workers connect and the cps log file shows there ip addresses. However when setting this line it seems they are not connecting.<br>>>>>> <br>>>>>> Emalayan thought there might be some sort of circular dependency going with the host-list file and the worker. The worker requires the host-list file so that it can run the worker-init.pl script and then connect but the host-list file cannot be generated because the workers cannot connect. I noticed in your swift-test directory the cps files did have the ip addresses set and coasters-hosts.pl found the ip addresses and reported them. Did you try that test with setting the WORKER_ENVIRONMENT variable in the coaster-service.conf file? Any idea what may be happening? The job is running when looking under cqstat.<br>>>>>> <br>>>>>> A side note: At the mosaswift site, your example talks about running the coasters-hosts.pl on the cps log but the example you provide runs it on logs/coasters.log. This may need to be changed. Also, should provide the log4j setting that is required to generate the Cpu line with the worker ip address just to clarify that this line should be set for this script to work.<br>>>>>> <br>>>>>> For reference, this line: log4j.logger.org.globus.cog.abstraction.coaster.service.job.manager.Cpu=DEBUG<br>>>>> <br>>>>> -- <br>>>>> Justin M Wozniak<br>>>> <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>>> _______________________________________________<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>> _______________________________________________<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><br><o:p></o:p></span></p></div></div></div><p class=MsoNormal>-- <br>You received this message because you are subscribed to the Google Groups "MosaStore" group.<br>To post to this group, send email to <a href="mailto:mosastore@googlegroups.com">mosastore@googlegroups.com</a>.<br>To unsubscribe from this group, send email to <a href="mailto:mosastore+unsubscribe@googlegroups.com">mosastore+unsubscribe@googlegroups.com</a>.<br>For more options, visit this group at <a href="http://groups.google.com/group/mosastore?hl=en">http://groups.google.com/group/mosastore?hl=en</a>.<o:p></o:p></p></div></body></html>