To reproduce this problem:
1- In your mapper setup() set:
2- When the job finishes:
The returned status from reports.getState() is "SUCCEEDED" as opposed to the expected "myStatus" value.
This exact code work fine on MR1. I saw this issue when tried running the TestTaskContext test cases on MR2.