<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div class="gmail_default">Hi Ajay,</div><div class="gmail_default"><br></div><div class="gmail_default">As Mihael pointed out, you are using the wrong swift version for the tutorials you are running.</div><div class="gmail_default"><br></div><div class="gmail_default">Please try the following steps on the headnode instance:</div><div class="gmail_default"><br></div><div class="gmail_default">cd /home/ubuntu/cloud-tutorials/swift-cloud-tutorial/ </div><div class="gmail_default">source setup.sh</div><div class="gmail_default">swift -version</div><div class="gmail_default"><br></div><div class="gmail_default">The swift version should output something like the following :</div><div class="gmail_default">Swift trunk git-rev: 2d334140f2c288e5aeb3d354de0ecda35b4b3aac heads/master</div><div class="gmail_default"><br></div><div class="gmail_default">If that is what you see, please retry the tutorials. </div><div class="gmail_default"><br></div><div class="gmail_default">-Yadu</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 23, 2014 at 9:46 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">Hi,<br>
<br>
You have some version mismatch there.<br>
<span class=""><br>
> swift -version<br>
> Swift 0.94.1 swift-r7114 cog-r3803<br>
<br>
</span>However, the swift configuration format that you are using (swift.conf),<br>
is only available in trunk, and that is two versions above 0.94.<br>
<br>
So the question is how you got that swift version, and why that<br>
particular version.<br>
<br>
Mihael<br>
<span class=""><br>
On Thu, 2014-10-23 at 21:59 -0400, Ajay Anthony wrote:<br>
> Hi Swift Users,<br>
><br>
> Please help me with below issue. I am stuck on this since 2 days.<br>
><br>
> I am trying to run split.sh script through word.swift file, which will<br>
> split a file in 16 chunks.<br>
><br>
> split.sh:<br>
> #! /bin/bash<br>
><br>
> split -a 2 -d -n 16 small-dataset<br>
> /home/ajay/CS553/Ass_2/Swift/cloud-tutorials/swift-cloud-tutorial/cloud-cat/input/small-dataset<br>
><br>
><br>
><br>
> word.swift:<br>
> type file;<br>
><br>
> app (file out) split (file script)<br>
> {<br>
> bash @script stdout=@filename(out);<br>
> }<br>
><br>
</span>> file script_file <"*split.sh*">;<br>
<div><div class="h5">> file output;<br>
> output = split(script_file);<br>
><br>
><br>
> I am facing the below issue:<br>
><br>
> RunID: 20141023-2145-ur5u9gpa<br>
> Progress: time: Thu, 23 Oct 2014 21:45:55 -0400<br>
> Execution failed:<br>
> The application "bash" is not available for any site/pool in your<br>
> tc.data catalog<br>
> split, word.swift, line 10<br>
><br>
><br>
> The script version I am using is :<br>
> ajay@ubuntu:~/CS553/Ass_2/Swift/cloud-tutorials/swift-cloud-tutorial/cloud-cat$<br>
> swift -version<br>
> Swift 0.94.1 swift-r7114 cog-r3803<br>
><br>
><br>
> My swift.conf file has below configurations:<br>
><br>
> sites: local<br>
><br>
> site.local {<br>
> filesystem {<br>
> type: "local"<br>
> URL: "localhost"<br>
> }<br>
> execution {<br>
> type: "local"<br>
> URL: "localhost"<br>
> }<br>
> workDirectory: /tmp/${env.USER}<br>
> maxParallelTasks: 32<br>
> initialParallelTasks: 31<br>
> app.ALL {executable: "*"}<br>
> }<br>
><br>
> Thanks in Advance.<br>
><br>
> Regards,<br>
> Ajay Anthony,<br>
</div></div>> _______________________________________________<br>
> Swift-user mailing list<br>
> <a href="mailto:Swift-user@ci.uchicago.edu">Swift-user@ci.uchicago.edu</a><br>
> <a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user</a><br>
<br>
<br>
_______________________________________________<br>
Swift-user mailing list<br>
<a href="mailto:Swift-user@ci.uchicago.edu">Swift-user@ci.uchicago.edu</a><br>
<a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Yadu Nand B<div><br></div></div>
</div>