Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 90CFC199B6 for ; Mon, 28 Mar 2016 04:54:33 +0000 (UTC) Received: (qmail 76813 invoked by uid 500); 28 Mar 2016 04:54:33 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 76785 invoked by uid 500); 28 Mar 2016 04:54:33 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 76771 invoked by uid 99); 28 Mar 2016 04:54:32 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2016 04:54:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 6C54FC367A for ; Mon, 28 Mar 2016 04:54:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 256HZM7Yx2tR for ; Mon, 28 Mar 2016 04:54:31 +0000 (UTC) Received: from mail-qg0-f49.google.com (mail-qg0-f49.google.com [209.85.192.49]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id C4FB15F247 for ; Mon, 28 Mar 2016 04:54:30 +0000 (UTC) Received: by mail-qg0-f49.google.com with SMTP id u110so101039262qge.3 for ; Sun, 27 Mar 2016 21:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=HNjXNj0hW2AY6M0VYkGn9V0Ce9RSWFS/ItNCKuJV4EM=; b=XwjbCr4AfBNk1nfXJCqo2JCeh3jRz+o+e/LboudmQ2Ld+kOhyHGCxDyTpXMKyA6PzI 3DpPCAl1xELTshXwtHZUu561V7SOjZGgnUX5Xtr+KccsCesDTXoiOjuZDt8V8mcOMKtQ JHqc7olu+WoyX2sFLMrXyeuDaA0UC+/c35jyGL1ALowUXaxgk2x9wb2xzYJF3fRYLV6U ZgKoym3whIgd/XtiNUO0ejTU62bQik2nvsXYhzsbSxxtMEssCNZDmO2BAD1iYRGTHcur BVs3wC5PfHz+Te4gfkthkEnJ2iXHgn8EdrbHebaWJ2A7XeKoteg97MPJ8xk1rjrtcwFv jh6w== 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; bh=HNjXNj0hW2AY6M0VYkGn9V0Ce9RSWFS/ItNCKuJV4EM=; b=JxY7y1XB2PX0smJolVMRyK5gxYXrszDrjTywGyqGunoD3QpHl9nUD60SyFIHS0anjy H7/j4+85I/vEhr5Nua0/gfrCYOBn9HBH0/9n/0bR1wO8G2g8snPFWlQV9vKRIKHlGsKP io66bW/GqkVcrNj/GhJFYrdW4ocUgeP0Rg/BT7f5kFykxP6XHs3rexigeveDpDhwAfI3 XDr9NWe+I9Ibcz8ipndHHNf0dUgNRaM1gry+WmVYrtCSlUm0Lhseaklux/pf6Y2+IDmB 2h99DH7YLj5Q6uC3umL+n7fpS7H4kyukFqnpxs+Iuuww5pRUgnQJWDK8FVxEkc059na8 Db2w== X-Gm-Message-State: AD7BkJJ1oR4ik23KLnunm395ktuC0TaJI4s/RdOC5fztGC/1i4I+P5qSt4vCB+rkVOSdBQBZhCdzNbphFLKVDg== MIME-Version: 1.0 X-Received: by 10.140.95.76 with SMTP id h70mr33156638qge.105.1459140864554; Sun, 27 Mar 2016 21:54:24 -0700 (PDT) Received: by 10.140.23.36 with HTTP; Sun, 27 Mar 2016 21:54:24 -0700 (PDT) In-Reply-To: References: Date: Mon, 28 Mar 2016 10:24:24 +0530 Message-ID: Subject: Re: How to debug the installation of new component From: Gautam Borad To: Ambari Content-Type: multipart/alternative; boundary=001a11c1657ae8bb86052f14b43a --001a11c1657ae8bb86052f14b43a Content-Type: text/plain; charset=UTF-8 Hi Jeff, start by looking at the following logs: */var/log/ambari-server/ambari-server.log* (on Ambari Server node) and */var/log/ambari-agent/ambari-agent.log *(on the Agent node where the component is being installed) Generally its a good idea to sprinkle your agent code with logs. You can do something like this: from resource_management.core.logger import Logger Logger.info("Your message here"); On Fri, Mar 25, 2016 at 8:16 AM, Jeff Zhang wrote: > I try to add one new component to ambari, but the installation stuck there. > I'd like to check what's going on ? Is there any log that I can check ? > Thanks > > -- > Best Regards > > Jeff Zhang > -- Regards, Gautam. --001a11c1657ae8bb86052f14b43a--