PigServer.executeBatch does not return status of failed job
-----------------------------------------------------------

                 Key: PIG-1578
                 URL: https://issues.apache.org/jira/browse/PIG-1578
             Project: Pig
          Issue Type: Bug
            Reporter: Thejas M Nair


For failed job PigServer.executeBatch does not return ExecJob . 
ExecJobs are created using output statistics, and the output statistics for 
jobs that failed does not seem to exist.

The query i tried was a native mapreduce job, where the output file of the 
native mr job already exists causing that job to fail.
{code}
A = load '" + INPUT_FILE + "';
B = mapreduce '" + jarFileName + "' " +
                    "Store A into 'table_testNativeMRJobSimple_input' "+
                    "Load 'table_testNativeMRJobSimple_output' "+
            "`WordCount table_testNativeMRJobSimple_input " + INPUT_FILE + 
"`;");
Store B into 'table_testNativeMRJobSimpleDir';);
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to