So writing a test storm topology with minimal java experience, so i'm figuring things out in a brute force way. My experience writing storm topologies is also minimal.
I have three supervisor nodes on my cluster and want each of them to run
ls in the terminal, funnel the output to a file and then return it to the nimbus node.
Firstly, how would i code an individual computer to run
ls in the terminal? Funneling the output to a file is simple enough for me to figure out. I just don't know how to write programs that execute terminal commands.
Secondly, how do i tell each of my supervisor nodes to run