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
This is for the task-controller after MAPREDUCE-2178
Patch against secure 0.20 (waiting on MR-2178 for trunk)
I've committed to branch-20-security. Leaving open for 22.
Forgot to mention, aside from the test I also tested a build from a tarball running a couple MR jobs using the LTC.
Patch for 0.22
Attachments to MAPREDUCE-2377 and MAPREDUCE-2376 were intermixed. Attaching the right one.
I just committed this to branch 0.22.1. Thank you Todd and Benoy.
Will close it if not needed in other versions.
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
Verified this bug is not present in the MR2 container executor, so marked as resolved.
Closed upon release of Hadoop-1.1.0.