Return-Path: X-Original-To: apmail-sqoop-dev-archive@www.apache.org Delivered-To: apmail-sqoop-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D659917C86 for ; Thu, 19 Mar 2015 18:52:40 +0000 (UTC) Received: (qmail 91849 invoked by uid 500); 19 Mar 2015 18:52:40 -0000 Delivered-To: apmail-sqoop-dev-archive@sqoop.apache.org Received: (qmail 91813 invoked by uid 500); 19 Mar 2015 18:52:40 -0000 Mailing-List: contact dev-help@sqoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sqoop.apache.org Delivered-To: mailing list dev@sqoop.apache.org Received: (qmail 91802 invoked by uid 99); 19 Mar 2015 18:52:40 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Mar 2015 18:52:40 +0000 Date: Thu, 19 Mar 2015 18:52:40 +0000 (UTC) From: "Jarek Jarcec Cecho (JIRA)" To: dev@sqoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (SQOOP-2239) Sqoop2: Remove Repository.updateSubmission() call from Mapreduce submission engine MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jarek Jarcec Cecho created SQOOP-2239: ----------------------------------------- Summary: Sqoop2: Remove Repository.updateSubmission() call from Mapreduce submission engine Key: SQOOP-2239 URL: https://issues.apache.org/jira/browse/SQOOP-2239 Project: Sqoop Issue Type: Bug Affects Versions: 1.99.5 Reporter: Jarek Jarcec Cecho Assignee: Jarek Jarcec Cecho Fix For: 1.99.6 Current mapreduce submission engine is updating repository when getting latest information about submission. This is unfortunate because it's breaking encapsulation - submission engine should be responsible only for updating the submission itself not to also persist it's state in repository. That is responsibility of the core JobManager itself. This way we will also ensure that we will persist the updated submission regardless what submission engine will be used. -- This message was sent by Atlassian JIRA (v6.3.4#6332)