diff --git hcatalog/src/test/e2e/templeton/tests/jobsubmission_streaming.conf hcatalog/src/test/e2e/templeton/tests/jobsubmission_streaming.conf index 005dc70..791c00a 100644 --- hcatalog/src/test/e2e/templeton/tests/jobsubmission_streaming.conf +++ hcatalog/src/test/e2e/templeton/tests/jobsubmission_streaming.conf @@ -53,9 +53,12 @@ $cfg = 'check_call_back' => 1, }, { - #-ve test - no input file + #-ve test - the mapper fails #TempletonController job status should be success, but exit value should be 1 - #if yarn log is redirected to stderr check_job_complete is FAILURE, if not SUCCESS (HIVE-5511) + # with streaming MR, if M or R return non-zero status code, the job fails (assuming + #stream.non.zero.exit.is.failure is true, which is the default; this can be enforced by adding + #'define=stream.non.zero.exit.is.failure=true'). check_job_complete is the status of the Launcher + # job and thus is always SUCCCESS(2)/KILLED(5) once the job completes. 'num' => 2, 'method' => 'POST', 'url' => ':TEMPLETON_URL:/templeton/v1/mapreduce/streaming',