[
https://issues.apache.org/jira/browse/SQOOP-1782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14288727#comment-14288727
]
Sqoop QA bot commented on SQOOP-1782:
-------------------------------------
Testing file
[SQOOP-1782-v4.patch|https://issues.apache.org/jira/secure/attachment/12694016/SQOOP-1782-v4.patch]
against branch sqoop2 took 0:38:23.307203.
{color:red}Overall:{color} -1 due to an error
{color:red}ERROR:{color} Patch does not add/modifny any test case
{color:green}SUCCESS:{color} Clean was successful
{color:green}SUCCESS:{color} Patch applied correctly
{color:green}SUCCESS:{color} License check passed
{color:green}SUCCESS:{color} Patch compiled
{color:green}SUCCESS:{color} All unit tests passed
{color:green}SUCCESS:{color} All integration tests passed
Console output is available
[here|https://builds.apache.org/job/PreCommit-SQOOP-Build/983/console].
This message is automatically generated.
> Sqoop2: Get submissions per job
> -------------------------------
>
> Key: SQOOP-1782
> URL: https://issues.apache.org/jira/browse/SQOOP-1782
> Project: Sqoop
> Issue Type: Bug
> Affects Versions: 1.99.4
> Reporter: Jarek Jarcec Cecho
> Assignee: Veena Basavaraj
> Labels: newbie
> Fix For: 1.99.5
>
> Attachments: SQOOP-1782-v1.patch, SQOOP-1782-v2.patch,
> SQOOP-1782-v3.patch, SQOOP-1782-v4.patch, SQOOP-1782.patch
>
>
> I've noticed that method call
> {{[SqoopClient.getSubmissionsForJob(long)|https://github.com/apache/sqoop/blob/sqoop2/client/src/main/java/org/apache/sqoop/client/SqoopClient.java#L542]}}
> returns submission objects for *all* jobs instead of the given one. Looking
> into
> {{[SubmissionRequestHandler|https://github.com/apache/sqoop/blob/sqoop2/server/src/main/java/org/apache/sqoop/handler/SubmissionRequestHandler.java#L51]}}
> I'm assuming that this is caused by the fact that {{SqoopClient}} is sending
> the job id as part of the URL ({{v1/submissions/$jid}}) whereas the
> {{SubmissionRequestHandler}} is looking for URL parameter.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)