Patch incorporates review comments.
TestKillSubProcessesWithLinuxTaskController will also fail, but only if the group-owner of the binary is TT's non-primary group (which is typically the clusters' setup).
For running the tests with group-owner of the binary as secondary group of the test-runner needs a changes in ClusterWithLinuxTaskController after
MAPREDUCE-899. Patches does these changes.
Ran all LinuxTaskController tests with group-owner of the binary as secondary group of the test-runner. All tests passed except TestStreamingAsDifferentUser.
TestStreamingAsDiffirentUser fails saying "Failed to specify server's Kerberos principal name". This failure is because the configuration "hadoop.security.authentication" is not picked up as "simple" from src/test/mapred-site.xml. This should be fixed by
HADOOP-6538. If not, i will raise a jira and fix this.