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 7A7E7E7F9 for ; Thu, 7 Feb 2013 04:48:03 +0000 (UTC) Received: (qmail 67419 invoked by uid 500); 7 Feb 2013 04:47:58 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 67142 invoked by uid 500); 7 Feb 2013 04:47:58 -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 67128 invoked by uid 99); 7 Feb 2013 04:47:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2013 04:47:57 +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 yaron.gonen@gmail.com designates 209.85.214.49 as permitted sender) Received: from [209.85.214.49] (HELO mail-bk0-f49.google.com) (209.85.214.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2013 04:47:49 +0000 Received: by mail-bk0-f49.google.com with SMTP id w11so994492bku.36 for ; Wed, 06 Feb 2013 20:47:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=5kIJMSSdSySvmRu5cxOXDb8uiBkDYp5Qy6RmWqNobXM=; b=Nmk8d4GOMQYdZVX24BO4woZHKfDnek+I0FIuT1hBSHX9/joVLBsxu9Wq5xpqtxxtBe fdgpgbLbQxIo9lKeITU9Esl/mEFb7A1MplRFKd7p9eHw10vsexut+WoXJ6JQZkCPVoCi qhErJg9opILYxFCV/OT+Dr2unaVWllbt+pkiwORUox6TPpNyRjUzlEk3e4pd9E1biEt2 TraEIbph8WSAh4xsgke3bISs4tMROZ1KAvy8pycYipZWBy9KEeov6QeQ4VCZOq6WAxGf IlLLCRJa7q53GyxEwZU5Z2gea1lL5Ncg+rn3r9A+lf1+XbPu3p7B0n6bQHXd96bPcqjB tjnw== MIME-Version: 1.0 X-Received: by 10.204.147.81 with SMTP id k17mr8338383bkv.70.1360212448681; Wed, 06 Feb 2013 20:47:28 -0800 (PST) Received: by 10.205.141.20 with HTTP; Wed, 6 Feb 2013 20:47:28 -0800 (PST) Received: by 10.205.141.20 with HTTP; Wed, 6 Feb 2013 20:47:28 -0800 (PST) In-Reply-To: References: Date: Thu, 7 Feb 2013 06:47:28 +0200 Message-ID: Subject: RE: Profiling the Mapper using hprof on Hadoop 0.20.205 From: Yaron Gonen To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=0015174be284d29ee004d51b238d X-Virus-Checked: Checked by ClamAV on apache.org --0015174be284d29ee004d51b238d Content-Type: text/plain; charset=ISO-8859-1 I tried various range values. I'm not even seeing the map method and the recordreader methods. On Feb 7, 2013 3:58 AM, "java8964 java8964" wrote: > What range you gave it for mapred.task.profile.maps? And you sure your > mapper will invoke the methods you expect in the traces? > > Yong > > ------------------------------ > Date: Wed, 6 Feb 2013 23:50:08 +0200 > Subject: Profiling the Mapper using hprof on Hadoop 0.20.205 > From: yaron.gonen@gmail.com > To: user@hadoop.apache.org > > Hi, > I wish to profile my mapper, so I've set the properties > mapred.task.profile and mapred.task.profile.maps in mapred-site.xml. > At the end of the job I'm getting a profile.out file, however I think > it's not the profile of the mapper... none of the methods I use in the > mapper appear on any of the traces. Am I doing something wrong? > I'm using a small cluster with 4 machines. > > Thanks, > Yaron > --0015174be284d29ee004d51b238d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

I tried various range values.
I'm not even seeing the map method and the recordreader methods.

On Feb 7, 2013 3:58 AM, "java8964 java8964&= quot; <java8964@hotmail.com&= gt; wrote:
What range you gave it for=A0mapred.task.profile.maps? And you sure yo= ur mapper will invoke the methods you expect in the traces?

Y= ong


Date: Wed, 6 Feb 2013 23:50:08 +0200<= br>Subject: Profiling the Mapper using hprof on Hadoop 0.20.205
From: yaron.gonen@gmail.= com
To: user@hadoop= .apache.org

Hi,
I wish to profile my mapper= , so I've set the properties=A0ma= pred.task.profile and=A0mapred= .task.profile.maps in mapred-s= ite.xml.
At the end of the job I'm getting a profile.out file, however I think it's not the profile o= f the mapper... none of the methods I use in the mapper appear on any of th= e traces. Am I doing something wrong?
I'm using a small cluster with 4 machines.

Thanks,
Yaron
--0015174be284d29ee004d51b238d--