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 3C171189E0 for ; Thu, 1 Oct 2015 21:54:51 +0000 (UTC) Received: (qmail 18932 invoked by uid 500); 1 Oct 2015 21:54:47 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 18802 invoked by uid 500); 1 Oct 2015 21:54:47 -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 18781 invoked by uid 99); 1 Oct 2015 21:54:46 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2015 21:54:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 48670180964 for ; Thu, 1 Oct 2015 21:54:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.129 X-Spam-Level: *** X-Spam-Status: No, score=3.129 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id z_fB3uZGHRbz for ; Thu, 1 Oct 2015 21:54:45 +0000 (UTC) Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com [209.85.214.181]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id D725325849 for ; Thu, 1 Oct 2015 21:54:44 +0000 (UTC) Received: by obbbh8 with SMTP id bh8so68801313obb.0 for ; Thu, 01 Oct 2015 14:54:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=Nuh2aOQvwsYnr/l+wQcFa4y3n2dYGtxhm4r7rMDWn3g=; b=yHLl1sPxVlVsdEIndeSSyXLWN2j16UA8w+Uzc6JSFg9XboGByYiUT87GbUUgZsvtro i/z2WgrxK8/xpSJAz6SdE03VAGnr+qVmjICnV4DXkkTaJkApnuIh/6fxM3GiFzPiU5b2 0t70uD9lO7Rppk/ZOdT7YgxCHwZtZKeq6DpLZhSLzcguqyXFDKJ8aHcjEFzKWL5ijCnP wStv5Ed45CofonksBOgC3rrvipYFE1PfExepjAPSllCh1Ti12IwT2g9jagVpoU6CsZvj yx76LfB7fXHXgQXh1uDvsznUU3vKMloY45b8HAS/uywJomfPdxvzTRvssb6/upr71vJP TE3w== X-Received: by 10.182.200.132 with SMTP id js4mr7413952obc.10.1443736477974; Thu, 01 Oct 2015 14:54:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.7.67 with HTTP; Thu, 1 Oct 2015 14:54:18 -0700 (PDT) From: manoj Date: Thu, 1 Oct 2015 14:54:18 -0700 Message-ID: Subject: Specify start and end range for Tasks Api To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a11c25358eb528c0521121727 --001a11c25358eb528c0521121727 Content-Type: text/plain; charset=UTF-8 Hello All, I'm using the following API to get all the tasks relating to a job. The problem is, if the number of tasks are in say 1million range then the data returned by this api is too huge to store in memory before I process the data and save it. I was wondering if I can specify a range say: start and end of taskID and get only 1K task at a time. Basically I want to chop down the day instead of getting all at once. http:///ws/v1/history/mapreduce/jobs/{jobid}/tasks Thanks, --Manoj Kumar M --001a11c25358eb528c0521121727 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello All,


I'm using= the following API to get all the tasks relating to a job. The problem is, = if the number of tasks are in say 1million range then the data returned by = this api is too huge to store in memory before I process the data and save = it.

I was wondering if I can specify a range say: = start and end of taskID and get only 1K task at a time.
Basically= I want to chop down the day instead of getting all at once.

=
http://<histor=
y server http address:port>/ws/v1/history/mapreduce/jobs/{jobid}/tasks

Thanks,
--Manoj Kumar M
--001a11c25358eb528c0521121727--