Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.20.205.0
-
None
-
None
Description
The TestLinuxTaskController is broken in "branch-0.20-security":
Exception message does not contain exit code22
junit.framework.AssertionFailedError: Exception message does not contain exit code22
at org.apache.hadoop.mapred.TestLinuxTaskController.validateTaskControllerSetup(TestLinuxTaskController.java:63)
at org.apache.hadoop.mapred.TestLinuxTaskController.testTaskControllerGroup(TestLinuxTaskController.java:90)
The test is not correctly picking the location of the task-cotroller executable. Also other changes are required (example: Check argc should be after checks for perms in task-controller/impl/main.ca, etc).