Tweaking code to try to figure out what's going wrong.
Turned off header error message.
Debugging print statements.
Trying to unbuffer output.
More debugging code.
Slightly cleaned up code.
Trying to trap __DIE__ entirely.
Display the error message (not sure if this is a good idea).
Added a test for the error message.
Tried to fix the twice-at-once error.
Let's use system /tmp instead of our own.
Turned off a possible warn/die loop.
Tried to improve error output a bit.
Tweaked error message to avoid repetition. Modified code to use the local tmp directory, and then added a README file so the temp directory would be created on the server.
Giving up; let's see what Hadoop is actually outputting.
Fixed endline issues. Redirected STDERR onto STDOUT.
Trying another strategy: wrapping everything in Mojolicious.
Turning the command line back on and fixing a bug in the way hadoop works.
Fixed the return code from the qx(...).
Updated the error message with a link back to the main form.