I'm trying to chain multiple jobs into a single job in Hadoop (I'm using API version 1.2.1). I came across an article on the topic, see here.
My main class is as follows: http://pastebin.com/C21PKM1j (I did a minor cleanup and rearrange to make it more readable) I'm using Cloudera demo VM. Before I used chaining, my simple job worked well. This version just finishes under 10-20 seconds without any errors and any valuable information from log file. I'm pretty sure no single job is actually started, but I can't figure out why.
EDIT: the output directory is not created at all.
EDIT: I included the jobRunner and handleRun snippets into my code for debug from here. It runs for two iterations (i see "Still running" twice), and exits normally.
EDIT: I'm google-ing like a boss for hours. There seem to be many "working" examples, problems rise up with hadoop versions and correct API calls (many classes rise up with the same name across hadoop-core.jar).