Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 648519EC1 for ; Mon, 2 Apr 2012 16:28:11 +0000 (UTC) Received: (qmail 98847 invoked by uid 500); 2 Apr 2012 16:28:09 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 98801 invoked by uid 500); 2 Apr 2012 16:28:09 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 98793 invoked by uid 99); 2 Apr 2012 16:28:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 16:28:09 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of anilgupta84@gmail.com designates 74.125.82.169 as permitted sender) Received: from [74.125.82.169] (HELO mail-we0-f169.google.com) (74.125.82.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 16:28:05 +0000 Received: by werj55 with SMTP id j55so2420501wer.14 for ; Mon, 02 Apr 2012 09:27:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=6OGGliiBhegStfcutMszv2egO0jDuZFLUZ1mhqu+xBw=; b=dUN8JgvP0992QVhFufTF/q1cc6L7S37amgbJwOxpjJFJUpdC407AVrLSJgrwx6ll0n kbUDijJY41Fd3/vXAN6TXksLu+KTmwFbbXm2qwlBcy6F6hW4CjZAWK0pBCNpCy3n3OWK GB6MkK72O6KxqfThALcw8kO7t9ZO6+aa00FMT7fZpadzAEmmVsn8ekAg23DE+Svgm6vy DIf/ojirEBWztnJWuY+0wZxq5tNLVm6nez6BKaYAno/vGKdKu1PWVK9tkD9YkkCWmgOV xyezZtegTxiLjJdMTbgZM/1318m85dgg+l2jr/UzWftRUg3jXpRK5HcU1z0HpgDpUoH0 pncA== Received: by 10.180.105.69 with SMTP id gk5mr31895357wib.3.1333384062645; Mon, 02 Apr 2012 09:27:42 -0700 (PDT) MIME-Version: 1.0 Sender: anilgupta84@gmail.com Received: by 10.180.85.98 with HTTP; Mon, 2 Apr 2012 09:27:22 -0700 (PDT) In-Reply-To: References: From: anil gupta Date: Mon, 2 Apr 2012 09:27:22 -0700 X-Google-Sender-Auth: ZJMoS_zaJtt6I8lnD25-U66eBaw Message-ID: Subject: Re: HBase bulk loader doing speculative execution when it set to false in mapred-site.xml To: user@hbase.apache.org, common-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=f46d04426f146734b404bcb4abe2 X-Virus-Checked: Checked by ClamAV on apache.org --f46d04426f146734b404bcb4abe2 Content-Type: text/plain; charset=ISO-8859-1 +common-user@hadoop.apache.org Hi Harsh, Thanks for the information. Is there any way to differentiate between a client side property and server-side property?or a Document which enlists whether a property is server or client-side? Many times i have to speculate over this and try out test runs. Thanks, Anil On Fri, Mar 30, 2012 at 9:54 PM, Harsh J wrote: > Anil, > > You can also disable speculative execution on a per-job basis. See > > http://hadoop.apache.org/common/docs/current/api/org/apache/hadoop/mapreduce/Job.html#setMapSpeculativeExecution(boolean) > (Which is why it is called a client-sided property - it applies > per-job). > > If HBase strongly recommends turning it off, HBase should also, by > default, turn it off for its own offered jobs? > > On Sat, Mar 31, 2012 at 4:02 AM, anil gupta wrote: > > Hi Doug, > > > > Yes, that's why i had set that property as false in my mapred-site.xml. > > But, to my surprise i didnt know that setting that property would be > > useless for Hadoop jobs unless the mapred-site.xml is in classpath. The > > idea of client side property is a little confusing to me at present since > > there is no proper nomenclature for client side properties at present. > > Thanks for your reply. > > > > ~Anil > > > > On Fri, Mar 30, 2012 at 3:26 PM, Doug Meil < > doug.meil@explorysmedical.com>wrote: > > > >> > >> Speculative execution is on by default in Hadoop. One of the > Performance > >> recommendations in the Hbase RefGuide is to turn it off. > >> > >> > >> > >> > >> > >> On 3/30/12 6:12 PM, "Jean-Daniel Cryans" wrote: > >> > >> >Well that's not an HBase configuration, that's Hadoop. I'm not sure if > >> >this is listed anywhere, maybe in the book. > >> > > >> >BTW usually HBase has a "client" somewhere in the same to indicate > >> >it's client side. > >> > > >> >J-D > >> > > >> >On Fri, Mar 30, 2012 at 3:08 PM, anil gupta > wrote: > >> >> Thanks for the quick reply, Jean. Is there any link where i can find > the > >> >> name of all client-side configuration for HBase? > >> >> > >> >> ~Anil > >> >> > >> >> On Fri, Mar 30, 2012 at 3:01 PM, Jean-Daniel Cryans > >> >>wrote: > >> >> > >> >>> This is a client-side configuration so if your mapred-site.xml is > >> >>> _not_ on your classpath when you start the bulk load, it's not going > >> >>> to pick it up. So either have that file on your classpath, or put it > >> >>> in whatever other configuration file you have. > >> >>> > >> >>> J-D > >> >>> > >> >>> On Fri, Mar 30, 2012 at 2:52 PM, anil gupta > >> >>>wrote: > >> >>> > Hi All, > >> >>> > > >> >>> > I am using cdh3u2. I ran HBase bulk loading with property > >> >>> > "mapred.reduce.tasks.speculative.execution" set to "false" in > >> >>> > mapred-site.xml. Still, i can see 6 killed task in Bulk Loading > job > >> >>>and > >> >>> > after short analysis i realized that these jobs are killed because > >> >>> another > >> >>> > worker node completed the task, hence it means that speculative > >> >>>execution > >> >>> > is still on. Why the HBase Bulk loader is doing speculative > execution > >> >>> when > >> >>> > i have set it to false in mapred-site.xml? Please let me know if > i am > >> >>> > missing something over here. > >> >>> > > >> >>> > -- > >> >>> > Thanks & Regards, > >> >>> > Anil Gupta > >> >>> > >> >> > >> >> > >> >> > >> >> -- > >> >> Thanks & Regards, > >> >> Anil Gupta > >> > > >> > >> > >> > > > > > > -- > > Thanks & Regards, > > Anil Gupta > > > > -- > Harsh J > -- Thanks & Regards, Anil Gupta --f46d04426f146734b404bcb4abe2--