Author: gates
Date: Tue Mar 25 20:28:13 2014
New Revision: 1581498
URL: http://svn.apache.org/r1581498
Log:
HIVE-6644 document TestStreaming_2 e2e test case for webhcat
Modified:
hive/trunk/hcatalog/src/test/e2e/templeton/tests/jobsubmission_streaming.conf
Modified:
hive/trunk/hcatalog/src/test/e2e/templeton/tests/jobsubmission_streaming.conf
URL:
http://svn.apache.org/viewvc/hive/trunk/hcatalog/src/test/e2e/templeton/tests/jobsubmission_streaming.conf?rev=1581498&r1=1581497&r2=1581498&view=diff
==============================================================================
---
hive/trunk/hcatalog/src/test/e2e/templeton/tests/jobsubmission_streaming.conf
(original)
+++
hive/trunk/hcatalog/src/test/e2e/templeton/tests/jobsubmission_streaming.conf
Tue Mar 25 20:28:13 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',