Return-Path: X-Original-To: apmail-incubator-flume-user-archive@minotaur.apache.org Delivered-To: apmail-incubator-flume-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C86CD820E for ; Fri, 12 Aug 2011 04:53:17 +0000 (UTC) Received: (qmail 7066 invoked by uid 500); 12 Aug 2011 04:53:17 -0000 Delivered-To: apmail-incubator-flume-user-archive@incubator.apache.org Received: (qmail 6751 invoked by uid 500); 12 Aug 2011 04:53:05 -0000 Mailing-List: contact flume-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flume-user@incubator.apache.org Delivered-To: mailing list flume-user@incubator.apache.org Received: (qmail 6337 invoked by uid 99); 12 Aug 2011 04:53:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2011 04:53:01 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a52.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2011 04:52:55 +0000 Received: from homiemail-a52.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a52.g.dreamhost.com (Postfix) with ESMTP id 6AB596B80DF for ; Thu, 11 Aug 2011 21:52:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=from :content-type:subject:date:message-id:to:mime-version; q=dns; s= thelastpickle.com; b=h8TMTFoEA1Fwe9OHaP3etDMhvUxXQCbaZZZeMFrBCqv Dbo4zbUDvlSyhVSL4gkjfMLc5yBOX1sQnF7XD1cuNYMwkH4oVDTxa+IsQZ0OQiCW IDfscL5PXBudedfg0u98g81b5a23wRvK2e3cLSfHGxs15JWtfcgepcw0259hVaGg = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :content-type:subject:date:message-id:to:mime-version; s= thelastpickle.com; bh=ZhLqWzhoZc6gigXmh6HDx3HwmF8=; b=g0AQTLpCDV 2TdZadGB+MBlZ//X+aCuoAND3rXGPzYTA/gSn7oKIiWyqZnYdZVpd3vatVnlrDcG iR76Y4KNKAhx2Uot4CP3L1RgFqPm/Chd5tiYWEFgs0v2icyG8E25Ov0dA8Zh+7vu +EJvgt4LRSJ9wHsOXRS/OTZjVikvXi3/w= Received: from [10.0.1.150] (219-89-250-213.adsl.xtra.co.nz [219.89.250.213]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a52.g.dreamhost.com (Postfix) with ESMTPSA id C98266B8056 for ; Thu, 11 Aug 2011 21:52:33 -0700 (PDT) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_8E2A1DA2-F080-4702-A553-44DECBBBE180" Subject: problem with the demo project Date: Fri, 12 Aug 2011 16:52:31 +1200 Message-Id: <139F2E05-4157-4013-96B3-E41746688700@thelastpickle.com> To: flume-user@incubator.apache.org Mime-Version: 1.0 (Apple Message framework v1244.3) X-Mailer: Apple Mail (2.1244.3) --Apple-Mail=_8E2A1DA2-F080-4702-A553-44DECBBBE180 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 I'm using the 0.9.4 tar distro and running through the docs, when I got = up to this point = http://archive.cloudera.com/cdh/3/flume/UserGuide/index.html#_tiering_flum= e_nodes_agents_and_collectors And tried to use this config (through the web console)=20 10.0.1.150 : console | agentSink("localhost",35853) ; collector : collectorSource(35853) | console ; There was a big bang=85. com.cloudera.flume.conf.FlumeSpecException: Parser error: unexpected = 'collector' at position 0 line 2: '10.0.1.150 : console | = agentSink("localhost",35853) ; collector : collectorSource(35853) | console ;' at = com.cloudera.flume.conf.FlumeSpecGen.generate(FlumeSpecGen.java:278) at = com.cloudera.flume.master.MultiConfigCommand$1.exec(MultiConfigCommand.jav= a:77) at = com.cloudera.flume.master.CommandManager.exec(CommandManager.java:266) at = com.cloudera.flume.master.CommandManager.handleCommand(CommandManager.java= :205) at = com.cloudera.flume.master.CommandManager$ExecThread.run(CommandManager.jav= a:236) My work around was to change the collector flume node name from = "collector" to "coll" and this then worked as a config 10.0.1.150 : console | agentSink("localhost",35853) ; coll : collectorSource(35853) | console ; Is collector a token in the Antlr grammar ?=20 Cheers =20 ----------------- Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com --Apple-Mail=_8E2A1DA2-F080-4702-A553-44DECBBBE180 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 http://archive.cloudera.com/cdh/3/f= lume/UserGuide/index.html#_tiering_flume_nodes_agents_and_collectors

And tried to use this config (through the web = console) 

10.0.1.150 : console | = agentSink("localhost",35853) ;
collector : = collectorSource(35853) | console ;

There = was a big = bang=85.

com.cloudera.flume.conf.FlumeSpecExcepti= on: Parser error: unexpected 'collector' at position 0 line 2: = '10.0.1.150 : console | agentSink("localhost",35853) = ;
collector : collectorSource(35853) | console = ;'
        at = com.cloudera.flume.conf.FlumeSpecGen.generate(FlumeSpecGen.java:278)
=
        at = com.cloudera.flume.master.MultiConfigCommand$1.exec(MultiConfigCommand.jav= a:77)
        at = com.cloudera.flume.master.CommandManager.exec(CommandManager.java:266)
        at = com.cloudera.flume.master.CommandManager.handleCommand(CommandManager.java= :205)
        at = com.cloudera.flume.master.CommandManager$ExecThread.run(CommandManager.jav= a:236)

My work around was to change the = collector flume node name from "collector" to "coll" and this then = worked as a config

10.0.1.150 : console | = agentSink("localhost",35853) ;
coll : collectorSource(35853) | = console ;

Is collector a  token in = the Antlr grammar = ? 

Cheers
  
http://www.thelastpickle.com

= --Apple-Mail=_8E2A1DA2-F080-4702-A553-44DECBBBE180--