You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Dian Fu (JIRA)" <ji...@apache.org> on 2015/06/02 10:33:18 UTC
[jira] [Updated] (SQOOP-2386) Sqoop2: refactor code in HandlerUtils
[ https://issues.apache.org/jira/browse/SQOOP-2386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dian Fu updated SQOOP-2386:
---------------------------
Attachment: SQOOP-2386.1.patch
> Sqoop2: refactor code in HandlerUtils
> -------------------------------------
>
> Key: SQOOP-2386
> URL: https://issues.apache.org/jira/browse/SQOOP-2386
> Project: Sqoop
> Issue Type: Bug
> Reporter: Dian Fu
> Assignee: Dian Fu
> Attachments: SQOOP-2386.1.patch
>
>
> In {{HandlerUtils}}, there is code like this:
> {code}
> if (repository.findJob(identifier) != null) {
> jobId = repository.findJob(identifier).getPersistenceId();
> ...
> }
> {code}
> This will execute {{repository.findJob}} twice, this is unnecessary.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)