[Swift-user] CS553: Stuck with Swift "bash application not available" issue . Please suggest

Mihael Hategan hategan at mcs.anl.gov
Thu Oct 23 21:46:25 CDT 2014


Hi,

You have some version mismatch there.

> swift -version
> Swift 0.94.1 swift-r7114 cog-r3803

However, the swift configuration format that you are using (swift.conf),
is only available in trunk, and that is two versions above 0.94.

So the question is how you got that swift version, and why that
particular version.

Mihael

On Thu, 2014-10-23 at 21:59 -0400, Ajay Anthony wrote:
> Hi Swift Users,
> 
> Please help me with below issue. I am stuck on this since 2 days.
> 
> I am trying to run split.sh script through word.swift file, which will
> split a file in 16 chunks.
> 
> split.sh:
> #! /bin/bash
> 
> split -a 2 -d -n 16  small-dataset
> /home/ajay/CS553/Ass_2/Swift/cloud-tutorials/swift-cloud-tutorial/cloud-cat/input/small-dataset
> 
> 
> 
> word.swift:
> type file;
> 
> app (file out) split (file script)
> {
>     bash @script stdout=@filename(out);
> }
> 
> file script_file <"*split.sh*">;
> file output;
> output = split(script_file);
> 
> 
> I am facing the below issue:
> 
> RunID: 20141023-2145-ur5u9gpa
> Progress:  time: Thu, 23 Oct 2014 21:45:55 -0400
> Execution failed:
>     The application "bash" is not available for any site/pool in your
> tc.data catalog
>     split, word.swift, line 10
> 
> 
> The script version I am using is :
> ajay at ubuntu:~/CS553/Ass_2/Swift/cloud-tutorials/swift-cloud-tutorial/cloud-cat$
> swift -version
> Swift 0.94.1 swift-r7114 cog-r3803
> 
> 
> My swift.conf file has below configurations:
> 
> sites: local
> 
> site.local {
>     filesystem {
>         type: "local"
>         URL: "localhost"
>     }
>     execution {
>         type: "local"
>         URL: "localhost"
>     }
>     workDirectory: /tmp/${env.USER}
>     maxParallelTasks: 32
>     initialParallelTasks: 31
>     app.ALL {executable: "*"}
> }
> 
> Thanks in Advance.
> 
> Regards,
> Ajay Anthony,
> _______________________________________________
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user





More information about the Swift-user mailing list