Return-Path: X-Original-To: apmail-ambari-user-archive@www.apache.org Delivered-To: apmail-ambari-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 9715611FF1 for ; Thu, 3 Jul 2014 12:02:13 +0000 (UTC) Received: (qmail 65567 invoked by uid 500); 3 Jul 2014 12:02:12 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 65534 invoked by uid 500); 3 Jul 2014 12:02:12 -0000 Mailing-List: contact user-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ambari.apache.org Delivered-To: mailing list user@ambari.apache.org Received: (qmail 65524 invoked by uid 99); 3 Jul 2014 12:02:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2014 12:02:12 +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 dsen@hortonworks.com designates 209.85.215.49 as permitted sender) Received: from [209.85.215.49] (HELO mail-la0-f49.google.com) (209.85.215.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2014 12:02:09 +0000 Received: by mail-la0-f49.google.com with SMTP id gf5so74316lab.36 for ; Thu, 03 Jul 2014 05:01:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=JPvYqgKfFGI5TXHCldV8J5/oeNlHHmG8LoEdUnVtd+Q=; b=gIlkoPAGhh7gADWX6ni0V8/RaqKjxDudi4zZYP8S3ay+C1ift5qeh5BD8ZTUudbwkX uFljB++JhXqZD4vKETNfRxSH8RUfjTfQFg3DjV67MzHPNpXoYW39YFR92wjDEFUEJYqt f79mP28qu6p6/zRjNHUQMmPsspBxMTlMGetlRaQKylLituyVvAEDIvHYomjF+6O0VLQC GijsxFXfc0idxlh5pfj9d+yHp+IcwHNbc9mzOIWC0c0QoeMF5sveFjhL6iDmptXIbTgq URwk61RbdVBrGfPHMtUyUmUaEE5qdeDWWEdsXMXYV2A7Uwu7gro78Bm7i3mdGREqhcWx pScQ== X-Gm-Message-State: ALoCoQnNTLBa83hSU9hCm4773RKc2fxi4cEK2ZYbVSaJc1A478Jr1LSm/Hv0vYEWAtkVr/YczuIg+5FJfUerovNGZ6PAzCG5N05ALt2DTjqZJg+sSmph33U= MIME-Version: 1.0 X-Received: by 10.152.43.103 with SMTP id v7mr949035lal.70.1404388905065; Thu, 03 Jul 2014 05:01:45 -0700 (PDT) Received: by 10.114.216.166 with HTTP; Thu, 3 Jul 2014 05:01:45 -0700 (PDT) In-Reply-To: References: Date: Thu, 3 Jul 2014 15:01:45 +0300 Message-ID: Subject: Re: Is ambari agent(v1.6.0) able to install component in parallel? From: Dmitry Sen To: user@ambari.apache.org Content-Type: multipart/alternative; boundary=001a11c34dcad0361b04fd48c5f9 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c34dcad0361b04fd48c5f9 Content-Type: text/plain; charset=UTF-8 Hi, Ambari agent uses default package manager to install packages for components (yum for RedHat, CentOS and zypper for SLES). yum or zypper can't be run in parallel in a single node, they create locks once they started. But you will have hadoop components installing in parallel on different nodes. BR, Dmytro Sen On Thu, Jul 3, 2014 at 11:50 AM, sagi wrote: > Hi ambari users, > > I am trying to deploy hadoop cluster by ambari, and I want it to as fast > as possible. > > When I digged into ambari agent source code, I found a parameter in > ActionQueue.py named "MAX_CONCURRENT_ACTIONS = 5", but I did not find any > place invoke it. > > So I wonder is amabri agent able to install component in parallel? > If not, is there any other method to accelerate the whole installation > process? > > Thanks in advance for any suggestions. > > --------------------------------- > Best Regards > -- BR, Dmitry Sen -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You. --001a11c34dcad0361b04fd48c5f9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Ambari agent uses default package m= anager to install packages for components (yum for RedHat, CentOS and zyppe= r for SLES). yum or zypper can't be run in parallel in a single node, t= hey create locks once they started. But you will have hadoop components ins= talling in parallel on different nodes.

BR,
Dmytro Sen


On Thu, Jul 3, 2014 at 11:50 AM, sagi = <zhpeng.is@gmail.com> wrote:
Hi ambari users,

I am trying to deploy hadoop cluster by ambari, and =C2=A0I want i= t to as fast as possible.=C2=A0

When I digged into ambari agent source code, I found a = parameter in ActionQueue.py named "MAX_CONCURRENT_ACTIONS =3D 5",= but I did not find any place invoke it.

So I wonder is amabri agent able to install component i= n parallel?=C2=A0
If not, is there any other method to accelerate= the whole installation process?=C2=A0

Thanks= in advance for any suggestions.

---------------------------------
Best Regard= s



--
BR,
Dmitry Sen

CONFIDENTIALITY NOTICE
NOTICE: This message is = intended for the use of the individual or entity to which it is addressed a= nd may contain information that is confidential, privileged and exempt from= disclosure under applicable law. If the reader of this message is not the = intended recipient, you are hereby notified that any printing, copying, dis= semination, distribution, disclosure or forwarding of this communication is= strictly prohibited. If you have received this communication in error, ple= ase contact the sender immediately and delete it from your system. Thank Yo= u. --001a11c34dcad0361b04fd48c5f9--