[
https://issues.apache.org/jira/browse/SQOOP-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14238511#comment-14238511
]
Sqoop QA bot commented on SQOOP-1839:
-------------------------------------
Testing file
[SQOOP-1839-v4.patch|https://issues.apache.org/jira/secure/attachment/12685857/SQOOP-1839-v4.patch]
against branch sqoop2 took 0:00:48.361743.
{color:red}Overall:{color} -1 due to an error
{color:red}ERROR:{color} failed to build with patch (exit code 1)
{color:green}SUCCESS:{color} Clean was successful
{color:green}SUCCESS:{color} Patch applied correctly
{color:green}SUCCESS:{color} Patch add/modify test case
Console output is available
[here|https://builds.apache.org/job/PreCommit-SQOOP-Build/721/console].
This message is automatically generated.
> Sqoop2: Mapreduce submission record should propogate failure info as well
> -------------------------------------------------------------------------
>
> Key: SQOOP-1839
> URL: https://issues.apache.org/jira/browse/SQOOP-1839
> Project: Sqoop
> Issue Type: Bug
> Affects Versions: 1.99.4
> Reporter: Veena Basavaraj
> Assignee: Veena Basavaraj
> Fix For: 1.99.5
>
> Attachments: SQOOP-1839-v1.patch, SQOOP-1839-v2.patch,
> SQOOP-1839-v4.patch, SQOOP-1839.patch
>
>
> While investigating SQOOP-1815 and then trying to trace what the real reason
> for the job failure was, we figured that the ExceptionInfo and ExceptionTrace
> are not sufficient, since a job failure always does not mean it was due to an
> exception checked/ unchecked
> {code}
> LOG.debug("Executed new map-reduce job with id " + jobId);
> } catch (Exception e) {
> request.getSummary().setException(e);
> LOG.error("Error in submitting job", e);
> return false;
> }
> return true;
> }
> {code}
> In case of a job failure we all need failure info in the submission record
> getFailureInfo()
> https://hadoop.apache.org/docs/current/api/org/apache/hadoop/mapred/RunningJob.html#getFailureInfo()
> In addition this ticket also fixes the naming of externalJobId in the
> submission API.
> submissionId means the persistent Id we create in MSubmission record and this
> is used only in rest api
> But the submission engine apis use the external JobId.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)