Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-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 B1F02D991 for ; Fri, 14 Sep 2012 07:25:34 +0000 (UTC) Received: (qmail 79539 invoked by uid 500); 14 Sep 2012 07:25:30 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 79325 invoked by uid 500); 14 Sep 2012 07:25:29 -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 79305 invoked by uid 99); 14 Sep 2012 07:25:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2012 07:25:29 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of harsh@cloudera.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-ob0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2012 07:25:22 +0000 Received: by obbtb18 with SMTP id tb18so7647651obb.35 for ; Fri, 14 Sep 2012 00:25:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=T7ZDhUcM84ofwZsGPUHxOpenchC6x6IUNoEQRjez3t8=; b=YPRK7aDZRrXlRe8Eyj6REGbaFXNiHsFWIgH/aDzdZbqKTCjZfpAZmb0CE0ao8RlaPa 9JxcWaxI7ohdVEJkAEcdWmFLbBa2/1EYzu4uz0x/uf0UqFUcZLGYdEbO4K9G7kJlALB2 RzF+sq2J4hhVRLcIIo9EJsIVEa6ZNSnhYM3sg1SiJZLZKizwz6MvqCF6S61MSGseNaI3 Ot3NwWD+5qvyCC2VaCmqUGsWNSHEhJIPSdwGFspOBs37nLkxOzEE99qx0vgxS+hNYls2 nKYq9a5qGGcHHKswtgu8EOVB0iR3oqydMXb49oSluvyLjc10HbL0G7oVcrSwy9fZW3Hg X0vg== Received: by 10.60.20.234 with SMTP id q10mr1615847oee.107.1347607501704; Fri, 14 Sep 2012 00:25:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.11.168 with HTTP; Fri, 14 Sep 2012 00:24:41 -0700 (PDT) In-Reply-To: References: <5B24054F-762B-43EA-824F-9E0641B84584@123.org> From: Harsh J Date: Fri, 14 Sep 2012 12:54:41 +0530 Message-ID: Subject: Re: What's the basic idea of pseudo-distributed Hadoop ? To: user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkcrj4PdEwhTCplNGtCY5Fo+oNcJaGvo128z9gw78WeaMeWB2o7UEUzFear0KBv8lgazdf5 Hi Jason, I think you're confusing the standalone mode with a pseudo-distributed mode. The former is a limited mode of MR where no daemons need to be deployed and the tasks run in a single JVM (via threads). A pseudo distributed cluster is a cluster where all daemons are running on one node itself. Hence, not "distributed" in the sense of multi-nodes (no use of an network gear) but works in the same way between nodes (RPC, etc.) as a fully-distributed one. If an MR program works fine in a pseudo-distributed mode, it "should" work (no guarantee) fine in a fully-distributed mode iff all nodes have the same arch/OS, same JVM, and job-specific configurations. This is because tasks execute on various nodes and may be affected by the node's behavior or setup that is different from others - and thats something you'd have to detect/know about if it exhibits failures more than others. On Fri, Sep 14, 2012 at 11:58 AM, Jason Yang wrote: > Hey, Kai > > Thanks for you reply. > > I was wondering what's difference btw the pseudo-distributed and > fully-distributed hadoop, except the maximum number of map/reduce. > > And if a MR program works fine in pseudo-distributed cluster, will it work > exactly fine in the fully-distributed cluster ? > > > 2012/9/14 Kai Voigt >> >> e default setting is that a tasktracker can run up to two map and reduce >> tasks in parallel (mapred.tasktracker.map.tasks.maximum and >> mapred.tasktracker.reduce.tasks.maximum), so you will actually see some >> concurrency on your one machine. > > > > > -- > YANG, Lin > -- Harsh J