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

Ajay Anthony aanthon2 at hawk.iit.edu
Thu Oct 23 20:59:24 CDT 2014


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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20141023/2f18865e/attachment.html>


More information about the Swift-user mailing list