Return-Path: Delivered-To: apmail-incubator-chukwa-user-archive@www.apache.org Received: (qmail 37515 invoked from network); 8 Sep 2010 15:35:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Sep 2010 15:35:15 -0000 Received: (qmail 93972 invoked by uid 500); 8 Sep 2010 15:35:15 -0000 Delivered-To: apmail-incubator-chukwa-user-archive@incubator.apache.org Received: (qmail 93660 invoked by uid 500); 8 Sep 2010 15:35:12 -0000 Mailing-List: contact chukwa-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-user@incubator.apache.org Delivered-To: mailing list chukwa-user@incubator.apache.org Received: (qmail 93623 invoked by uid 99); 8 Sep 2010 15:35:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 15:35:11 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of billgraham@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-wy0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 15:35:06 +0000 Received: by wye20 with SMTP id 20so164418wye.6 for ; Wed, 08 Sep 2010 08:34:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=WqLoEbAgUzBfrsGOGsvyhAe/Ir4dVE0Xcem/lAn33LU=; b=fo2TVj9/XVoxIwyOjti8zX+HdSZe80cf4eDUlXYH2o17UDd2KlIGYF1jweNoysEWyP UXJK8w6XZ9Tb3qfyDAATKgcJSMC05bU5rnjUAJPwzH2yiH+6HaNjkhHz2krh0qdKbeng EZAZSVoxT2ZBCcjrPaNR28vNTOUKf8+QPTLtk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; b=MM184umqmiSRTKA7vuBVbvhEdnbAjR+RaLDBSMStZ7o/ACi8WFTpDtkXgYW5p8ZbRN rOUugS5LZFZPqLehReutuBypv1YMtsWDMODrW1bi8BcJVl3HP5dBBW1qnGDwYD/iPOtn tQgKkjcR5nv1ixn8HwL7rVO5roJZufeBejlME= MIME-Version: 1.0 Received: by 10.227.133.72 with SMTP id e8mr143963wbt.71.1283960084721; Wed, 08 Sep 2010 08:34:44 -0700 (PDT) Received: by 10.216.138.33 with HTTP; Wed, 8 Sep 2010 08:34:44 -0700 (PDT) Reply-To: billgraham@gmail.com In-Reply-To: <14B8F27D7CE40C4C9E481B2B845C2E0D069FA9D2E4@EXCHANGE.persistent.co.in> References: <201009061303101097855@neusoft.com> <00ef01cb4db9$bec65ab0$3c531010$@com> <4C858BBB.8010901@neusoft.com> <4C85F7C6.5090609@neusoft.com> <14B8F27D7CE40C4C9E481B2B845C2E0D069FA9D2E4@EXCHANGE.persistent.co.in> Date: Wed, 8 Sep 2010 08:34:44 -0700 Message-ID: Subject: Re: setting collector on a remote machine From: Bill Graham To: "chukwa-user@incubator.apache.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Yes, you can run the collector on any host with network access to HDFS. Verify that HADOOP_HOME and HADOOP_CONF_DIR are properly set in chukwa-env.sh. Also verify that you can connect to hadoop from the command line with those environment variables set. On Tuesday, September 7, 2010, Shreya Chakravarty wrote: > Hi, > > We want to setup a collector on a non HDFS machine > Is that possible? Will the collector be able to send data to hdfs, we tri= ed setting the writer.hdfs.filesystem property to point to the hdfs master,= but getting the following error: > > > 2010-09-07 05:53:11,153 INFO main ChukwaConfiguration - chukwaConf is /ho= me/hadoop/chukwa-0.4.0/conf/ > 2010-09-07 05:53:12,721 INFO main root - initing servletCollector > 2010-09-07 05:53:12,727 INFO main PipelineStageWriter - using pipelined w= riters, pipe length is 2 > 2010-09-07 05:53:12,751 INFO Thread-9 SocketTeeWriter - listen thread sta= rted > 2010-09-07 05:53:12,755 INFO main SeqFileWriter - rotateInterval is 30000= 0 > 2010-09-07 05:53:12,755 INFO main SeqFileWriter - outputDir is /chukwa/lo= gs/ > 2010-09-07 05:53:12,755 INFO main SeqFileWriter - fsname is iaas-1-0-16-3= e-b7-d1-29:54310 > 2010-09-07 05:53:12,756 INFO main SeqFileWriter - filesystem type from co= re-default.xml is org.apache.hadoop.hdfs.DistributedFileSystem > 2010-09-07 05:53:12,860 ERROR main SeqFileWriter - can't connect to HDFS,= trying default file system instead (likely to be local) > java.io.IOException: No FileSystem for scheme: iaas-1-0-16-3e-b7-d1-29 > =A0 =A0 =A0 =A0at org.apache.hadoop.fs.FileSystem.createFileSystem(FileS= ystem.java:1375) > =A0 =A0 =A0 =A0at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.= java:66) > =A0 =A0 =A0 =A0at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.j= ava:1390) > =A0 =A0 =A0 =A0at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:19= 6) > =A0 =A0 =A0 =A0at org.apache.hadoop.chukwa.datacollection.writer.SeqFile= Writer.init(SeqFileWriter.java:123) > =A0 =A0 =A0 =A0at org.apache.hadoop.chukwa.datacollection.writer.Pipelin= eStageWriter.init(PipelineStageWriter.java:88) > =A0 =A0 =A0 =A0at org.apache.hadoop.chukwa.datacollection.collector.serv= let.ServletCollector.init(ServletCollector.java:112) > =A0 =A0 =A0 =A0at org.mortbay.jetty.servlet.ServletHolder.initServlet(Se= rvletHolder.java:440) > =A0 =A0 =A0 =A0at org.mortbay.jetty.servlet.ServletHolder.doStart(Servle= tHolder.java:263) > =A0 =A0 =A0 =A0at org.mortbay.component.AbstractLifeCycle.start(Abstract= LifeCycle.java:50) > =A0 =A0 =A0 =A0at org.mortbay.jetty.servlet.ServletHandler.initialize(Se= rvletHandler.java:685) > =A0 =A0 =A0 =A0at org.mortbay.jetty.servlet.Context.startContext(Context= .java:140) > =A0 =A0 =A0 =A0at org.mortbay.jetty.handler.ContextHandler.doStart(Conte= xtHandler.java:517) > =A0 =A0 =A0 =A0at org.mortbay.component.AbstractLifeCycle.start(Abstract= LifeCycle.java:50) > =A0 =A0 =A0 =A0at org.mortbay.jetty.handler.HandlerWrapper.doStart(Handl= erWrapper.java:130) > =A0 =A0 =A0 =A0at org.mortbay.jetty.Server.doStart(Server.java:224) > =A0 =A0 =A0 =A0at org.mortbay.component.AbstractLifeCycle.start(Abstract= LifeCycle.java:50) > =A0 =A0 =A0 =A0at org.apache.hadoop.chukwa.datacollection.collector.Coll= ectorStub.main(CollectorStub.java:121) > > Regards > Shreya > > DISCLAIMER > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > This e-mail may contain privileged and confidential information which is = the property of Persistent Systems Ltd. It is intended only for the use of = the individual or entity to which it is addressed. If you are not the inten= ded recipient, you are not authorized to read, retain, copy, print, distrib= ute or use this message. If you have received this communication in error, = please notify the sender and delete all copies of this message. Persistent = Systems Ltd. does not accept any liability for virus infected mails. >