If the task-controller.cfg file doesn't end in a newline, it fails to parse properly.
Restore security in Hadoop 0.22 branch
task-controller can drop last char from config file
Closed upon release of Hadoop-1.1.0.
Verified this bug is not present in the MR2 container executor, so marked as resolved.
Integrated in Hadoop-Mapreduce-22-branch #104 (See https://builds.apache.org/job/Hadoop-Mapreduce-22-branch/104/)
MAPREDUCE-2377. task-controller fails to parse configuration if it doesn't end in \n. Contributed by Todd Lipcon and Benoy Antony. (Revision 1346251)
Result = SUCCESS
shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1346251
I just committed this to branch 0.22.1. Thank you Todd and Benoy.
Will close it if not needed in other versions.
Attachments to MAPREDUCE-2377 and MAPREDUCE-2376 were intermixed. Attaching the right one.
Patch for 0.22
Forgot to mention, aside from the test I also tested a build from a tarball running a couple MR jobs using the LTC.
I've committed to branch-20-security. Leaving open for 22.
Patch against secure 0.20 (waiting on MR-2178 for trunk)
This is for the task-controller after MAPREDUCE-2178