You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ga...@apache.org on 2014/03/25 21:31:07 UTC

svn commit: r1581499 - /hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/tests/jobsubmission_streaming.conf

Author: gates
Date: Tue Mar 25 20:31:07 2014
New Revision: 1581499

URL: http://svn.apache.org/r1581499
Log:
HIVE-6644 document TestStreaming_2 e2e test case for webhcat for branch 0.13

Modified:
    hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/tests/jobsubmission_streaming.conf

Modified: hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/tests/jobsubmission_streaming.conf
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/tests/jobsubmission_streaming.conf?rev=1581499&r1=1581498&r2=1581499&view=diff
==============================================================================
--- hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/tests/jobsubmission_streaming.conf (original)
+++ hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/tests/jobsubmission_streaming.conf Tue Mar 25 20:31:07 2014
@@ -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',