TestLinuxTaskController is broken
---------------------------------

                 Key: MAPREDUCE-2992
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2992
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: task-controller, test
            Reporter: Ahmed Radwan
            Priority: Minor


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).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to