You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Veena Basavaraj (JIRA)" <ji...@apache.org> on 2014/12/11 00:17:12 UTC

[jira] [Updated] (SQOOP-1879) Submission Engine does not set all details on SubmissionRecord in Local mode

     [ https://issues.apache.org/jira/browse/SQOOP-1879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Veena Basavaraj updated SQOOP-1879:
-----------------------------------
    Description: 
{code}

      // If we're in local mode than wait on completion. Local job runner do not
      // seems to be exposing API to get previously submitted job which makes
      // other methods of the submission engine quite useless.
      if(isLocal()) {
        job.waitForCompletion(true);
      } else {
        job.submit();
      }

{code}

the above code says that the job.waitForCompletion(true) is blocking and hence the other submisison engine apis are useless in this local mode.

But we dont set the all attributes of the job run into the submission record in this case 

> Submission Engine does not set all details on SubmissionRecord in Local mode
> ----------------------------------------------------------------------------
>
>                 Key: SQOOP-1879
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1879
>             Project: Sqoop
>          Issue Type: Sub-task
>            Reporter: Veena Basavaraj
>
> {code}
>       // If we're in local mode than wait on completion. Local job runner do not
>       // seems to be exposing API to get previously submitted job which makes
>       // other methods of the submission engine quite useless.
>       if(isLocal()) {
>         job.waitForCompletion(true);
>       } else {
>         job.submit();
>       }
> {code}
> the above code says that the job.waitForCompletion(true) is blocking and hence the other submisison engine apis are useless in this local mode.
> But we dont set the all attributes of the job run into the submission record in this case 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)