Return-Path: Delivered-To: apmail-hbase-user-archive@www.apache.org Received: (qmail 78245 invoked from network); 22 Nov 2010 18:17:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Nov 2010 18:17:34 -0000 Received: (qmail 94807 invoked by uid 500); 22 Nov 2010 18:18:05 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 94778 invoked by uid 500); 22 Nov 2010 18:18:04 -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 94770 invoked by uid 99); 22 Nov 2010 18:18:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 18:18:04 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ghelmling@gmail.com designates 209.85.161.41 as permitted sender) Received: from [209.85.161.41] (HELO mail-fx0-f41.google.com) (209.85.161.41) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 18:17:58 +0000 Received: by fxm20 with SMTP id 20so4939909fxm.14 for ; Mon, 22 Nov 2010 10:17:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=Kwz24hEMqK2rGsMA5x733Yi55yXYSHDqvKvxcHpvJ00=; b=XG25G+TdyfQCvS43wjlZMffceTHgJg3mLiCHhoWUgDDPJYdEm6xxPnaTWNj/IlBOwx vKGnkzp6pb+HlxnaYgzOOxZLOAYfo0AFwgDOOEHjIhswKSsVffyofOHSs9s4JG0t2d5t zYfEBPsF/4tZC32AFJghOsA/vuEHm3ZK2Y9o0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=owDIzDBT3KgWOTN2pAuQvyIXq9W0Shwb9GBuKgP+eE/w00oNF2fpq/7mcBCuDmCMOz gK1mImUTkNkBwWImQtnG9MgRxDegKWFm2JlXIu+aUEA3BRWSdNDNisz1yUzjbqXnwhDv Rn9fd8J6N/CBvJ04ty7Co5UnIZT8aPpJyQOQE= MIME-Version: 1.0 Received: by 10.223.81.67 with SMTP id w3mr5585639fak.110.1290449857452; Mon, 22 Nov 2010 10:17:37 -0800 (PST) Received: by 10.223.65.201 with HTTP; Mon, 22 Nov 2010 10:17:37 -0800 (PST) In-Reply-To: References: Date: Mon, 22 Nov 2010 10:17:37 -0800 Message-ID: Subject: Re: Ganglia website refuses connection despite proxy (Hbase EC2) From: Gary Helmling To: user@hbase.apache.org, saptarshi.guha@gmail.com Content-Type: multipart/alternative; boundary=20cf30433e405a9d6d0495a84581 X-Virus-Checked: Checked by ClamAV on apache.org --20cf30433e405a9d6d0495a84581 Content-Type: text/plain; charset=ISO-8859-1 Joy, The ordering of those 2 blocks would indeed destroy the initial ganglia setup. Thanks for reporting this. We'll get a fix up for it ASAP. Gary On Fri, Nov 19, 2010 at 9:33 PM, Saptarshi Guha wrote: > I logged into the master > > 1. In hbase-ec2-init-remote.sh, the block is evaluated (on master) > > if [ "$IS_MASTER" = "true" ]; then > sed -i -e "s|\( *mcast_join *=.*\)|#\1|" \ > -e "s|\( *bind *=.*\)|#\1|" \ > -e "s|\( *mute *=.*\)| mute = yes|" \ > -e "s|\( *location *=.*\)| location = \"master-node\"|" \ > /etc/gmond.conf > mkdir -p /mnt/ganglia/rrds > chown -R ganglia:ganglia /mnt/ganglia/rrds > rm -rf /var/lib/ganglia; cd /var/lib; ln -s /mnt/ganglia ganglia; cd > service gmond start > service gmetad start > apachectl start > > > but /mnt/ganglia/rrds is not present (maybe because mnt is not mounted? or > see [2]) > gmetad is not running , so > > apachectl stop > service gmetad stop ## was not running in the first place > service gmond stop > > mkdir -p /mnt/ganglia/rrds > chown -R ganglia:ganglia /mnt/ganglia/rrds > rm -rf /var/lib/ganglia; cd /var/lib; ln -s /mnt/ganglia ganglia; cd > service gmond start > service gmetad start > apachectl start > > and ganglia now works. > > > [2] This block in hbase-ec2-int-remote-sh might undo everything in 1. > > # Reformat sdb as xfs > umount /mnt > mkfs.xfs -f /dev/sdb > mount -o noatime /dev/sdb /mnt > > > Cheers > > Joy > > > On Fri, Nov 19, 2010 at 1:03 PM, Lars George > wrote: > > > Let us know what you find. Thanks! > > > > On Fri, Nov 19, 2010 at 6:49 PM, Saptarshi Guha > > wrote: > > > Yes, messages is the right place. Saw this > > > Nov 19 12:25:26 ip-10-98-154-214 /usr/sbin/gmetad[1293]: Unable to > > > mkdir(/var/lib/ganglia/rrds/unspecified): No such file or directory > > > Cheers > > > J > > > > > > On Fri, Nov 19, 2010 at 2:15 AM, Lars George > > wrote: > > >> > > >> Yeah, this will be superseded by WHIRR-25 over the next month or two. > > >> The "root" name was simply a choice, no reason not to change it. As > > >> for Ganglia, do you see the Ganglia daemon run on each node? If not, > > >> please have a look into the logs on the servers, the user scripts > > >> usually log their process in the /var/log/messages or so. > > >> > > >> Please feel free to add any idea to the above WHIRR-25 > > >> (https://issues.apache.org/jira/browse/WHIRR-25) so that we can > > >> include it. > > >> > > >> Lars > > >> > > >> On Fri, Nov 19, 2010 at 8:55 AM, Saptarshi Guha > > >> wrote: > > >> > Hello, > > >> > > > >> > Thanks to apurtells github repo of the hbase-ec2 i managed to start > an > > >> > hbase cluster. > > >> > Everything works nicely, I can check the uis of the JT/NN and Hbase > > >> > Master. > > >> > > > >> > What I cant see are the ganglia metrics despite the url provided by > > the > > >> > proxy > > >> > > > >> > http://ec2-a-b-c-d.compute-1.amazonaws.com/ganglia > > >> > > > >> > There was an error collecting ganglia data (127.0.0.1:8652): > > fsockopen > > >> > error: Connection refused > > >> > > > >> > 1) How can i check if even ganglia is running? > > >> > > > >> > On a side note, in the hbase-ec2 scripts, all the code to run an > > >> > instance uses -k root. > > >> > I changed this to -k $EC2_ROOT_PAIR_NAME where pair name is the name > > >> > of the key I created, thus I dont > > >> > have to restrict myself to -k root. This appears to work for me. > > >> > > > >> > Thanks > > >> > > > >> > Joy > > >> > > > >> > HBASE_VERSION=0.20.4 > > >> > HADOOP_VERSION=0.20.2 > > >> > https://github.com/apurtell/hbase-ec2 > > >> > > > > > > > > > > --20cf30433e405a9d6d0495a84581--