Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB52C10C42 for ; Thu, 19 Feb 2015 14:13:47 +0000 (UTC) Received: (qmail 5453 invoked by uid 500); 19 Feb 2015 14:13:35 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 5334 invoked by uid 500); 19 Feb 2015 14:13:35 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 5322 invoked by uid 99); 19 Feb 2015 14:13:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Feb 2015 14:13:34 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of xeonmailinglist@gmail.com designates 74.125.82.45 as permitted sender) Received: from [74.125.82.45] (HELO mail-wg0-f45.google.com) (74.125.82.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Feb 2015 14:13:07 +0000 Received: by mail-wg0-f45.google.com with SMTP id k14so7519559wgh.4 for ; Thu, 19 Feb 2015 06:13:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=QrcmKrwqnhCE7ec31nDgh+QYwBbw21jMi5HPXHBuThY=; b=VCgZaBaRLRSqxMcOzXLXJVFBQnu6jL1xyFo1tMq0Aqgv5Mo3hw/llnt5yDHgjGK9va y8Vo8EmJLxd4mKl3gi3LnAbrgGT5oBce+7K+QpZX1D8KBpW+Af6Z4kNsMbG6fhvuHIC3 6UVClt+xvlsyOWCcmld4gnj3qR1saHiC30ufIpzQPh331/lMB5PWObRNu9nUJTXA4eJj VVPC8/tIss1iEi2IBNmL8v2KIiFtWZTxvx43jEKbXVbjomkUQJWO2JpuyElojw7UR9Tj kpj7Sz5bbS1ORqW40Iy1hKFBbd1l6e6x9kNTLmEuskwwejf8bI3Oe3luho6X9XEeUIXk +RkA== X-Received: by 10.180.10.131 with SMTP id i3mr10880366wib.54.1424355186496; Thu, 19 Feb 2015 06:13:06 -0800 (PST) Received: from [10.101.224.173] ([194.117.18.101]) by mx.google.com with ESMTPSA id n1sm30365787wib.11.2015.02.19.06.13.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Feb 2015 06:13:05 -0800 (PST) Message-ID: <54E5EF70.1010506@gmail.com> Date: Thu, 19 Feb 2015 14:13:04 +0000 From: xeonmailinglist User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: user@hadoop.apache.org Subject: Ways to serialize and clone a job in MapReduce Content-Type: multipart/alternative; boundary="------------020104020101040402070308" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------020104020101040402070308 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi, 1. I am trying to find ways to serialize and clone a job in MapReduce. Is it possible? 2. Is there a way to convert |org.apache.hadoop.mapreduce.Job| into a xml or json file, and then the opposite? 3. If I use Oozie I can clone a job, by duplicating the job definition in the xml file? Thanks ​ --------------020104020101040402070308 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hi,

  1. I am trying to find ways to serialize and clone a job in MapReduce. Is it possible?

  2. Is there a way to convert org.apache.hadoop.mapreduce.Job into a xml or json file, and then the opposite?

  3. If I use Oozie I can clone a job, by duplicating the job definition in the xml file?

Thanks

--------------020104020101040402070308--