Return-Path: X-Original-To: apmail-flume-user-archive@www.apache.org Delivered-To: apmail-flume-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 915441775D for ; Fri, 27 Feb 2015 16:01:15 +0000 (UTC) Received: (qmail 55620 invoked by uid 500); 27 Feb 2015 16:01:15 -0000 Delivered-To: apmail-flume-user-archive@flume.apache.org Received: (qmail 55559 invoked by uid 500); 27 Feb 2015 16:01:15 -0000 Mailing-List: contact user-help@flume.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flume.apache.org Delivered-To: mailing list user@flume.apache.org Received: (qmail 55545 invoked by uid 99); 27 Feb 2015 16:01:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2015 16:01:15 +0000 X-ASF-Spam-Status: No, hits=3.2 required=5.0 tests=FORGED_YAHOO_RCVD,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simeon_zaharici@yahoo.com designates 98.138.120.228 as permitted sender) Received: from [98.138.120.228] (HELO nm43-vm4.bullet.mail.ne1.yahoo.com) (98.138.120.228) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2015 16:01:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1425052786; bh=qiYjoN6I1PKuo5QjL01phGtNbpE2g8Q65MBZs/TaTG8=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=ZgVAMlYvnfmCcvgMwc6fZqEJljH4YweO7/7Ez0vvB5ZkNE1utEs531BFjU+XzUX+9RzmpifIXrzcz69J+Y+83TVFh58J3rUkYOWfVpu81Ho5o0ykzFuTzpq3uwKghFlkTc3lmLXmIp7ZDEfQ5lrkKOG/Xr5abIIK5UcZVOOLOJLevi+ZjLw8GZ07O47hMGL81LEJx3sd+OsWV0dgAe1PGzYhEqqouptFmJDGAQLqiZy2B5rXZwxbYBzesJlq/eoLVW3m9tfQWcEBB8hhreYqqwiw4SadP0G8ulANFgvYgdj6eflzcbg9BSQzndiiJrKxQo9DHTzVeaJchx7Fw6zTHA== Received: from [127.0.0.1] by nm43.bullet.mail.ne1.yahoo.com with NNFMP; 27 Feb 2015 15:59:46 -0000 Received: from [98.138.226.179] by nm43.bullet.mail.ne1.yahoo.com with NNFMP; 27 Feb 2015 15:56:47 -0000 Received: from [98.139.215.140] by tm14.bullet.mail.ne1.yahoo.com with NNFMP; 27 Feb 2015 15:56:47 -0000 Received: from [98.139.212.238] by tm11.bullet.mail.bf1.yahoo.com with NNFMP; 27 Feb 2015 15:56:47 -0000 Received: from [127.0.0.1] by omp1047.mail.bf1.yahoo.com with NNFMP; 27 Feb 2015 15:56:47 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 76503.9387.bm@omp1047.mail.bf1.yahoo.com X-YMail-OSG: FqRIicQVM1ktgq0IVL83h4yrKegUvunHBSNNM0704yU_i0EAhrmNfqcgVs30g20 kFcIe6BX41BGozcHoL57IBT7lqqlw00yHNGQLxKGpmRNy95Lli_RnD0dDfW8qmiUMAsQqGk.RsdF wg086TCMOD93q4Mu._eZ29zN7utf2XjNI_DBOey4iCa8ZaRbeOKLXUsr0.L7WKVCY6HrapySpmrT RnHmUjwTouw1DGokhZCGjM4n2ZJpMbInleFG9lvizuhmPXqXJaBXet6HsJ4zZC6w8V.4H8xTPp5N h9LZaZs.7GvySO8DiViRfqLG21_1RTjeZAdU2yAlpbkHDKkDNNfTPdWBC5JxPTLzzNzkHuLp.jPB L9BYwhpfek.G87ALtmNa90cQI1dqeSA.xZcmduE3M2TLR69l8ryfdnVsR9V88OzGdkfNyjUyK6gC mmDkxu1Sz5W0T__AQF8rLIWuS6kSRKEEJ9zBvnzrGXeMZGIeYAeX0C1EqY5xhO3uyhr1a_Vy1NJI A4qYWcz9NkGAIO.vRk_PHotxlSekE5w4CjcYchE2LWGABtZR16zSAwK_3U6S2vAk.XcwEe5BSSYY TOb5ITx1wiA9_RGpteEbnXcPnORorBtHqVT1cuWdCYX2WuCkoP5V5Jrtm45pqQ8l3dh_qswzmOiZ _y_z9lYOGCA7_qzC8XlHDq.qTuc5m6CL9.IyZOVOhHoZL8EBU1PlL2EB_IA8ewkyGicFJFWp4WGO 6IL86vZQm.B.nYJ2snU0lPYzX6lA6eXZWyDVWgzwZbep12p2H8NtHmXlBIntLNUwugXvVAe4wwFY UhL5F2ALdE9aHafmqajUrFkL2Oq_wq7rVspTjswmwXzGeGbqnGc2RNQrZ7vycJio4KxRqu1zdRhX HYeyKIaaM.Wc.wTBUzucQGCDNNqrGMlRiIFCF Received: by 76.13.27.54; Fri, 27 Feb 2015 15:56:46 +0000 Date: Fri, 27 Feb 2015 15:56:45 +0000 (UTC) From: Simeon Zaharici Reply-To: Simeon Zaharici To: "user@flume.apache.org" Message-ID: <1611902856.1949710.1425052605966.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: <2123819362.1959788.1425052208562.JavaMail.yahoo@mail.yahoo.com> References: <2123819362.1959788.1425052208562.JavaMail.yahoo@mail.yahoo.com> Subject: Re: flume configuration in zookeeper MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1949709_405387898.1425052605957" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_1949709_405387898.1425052605957 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I created the following jira for the documentation https://issues.apache.org/jira/browse/FLUME-2635 =C2=A0Thanks again,Simeon=20 On Friday, February 27, 2015 10:50 AM, Simeon Zaharici wrote: =20 Thank you very much Ashish, it is working fine after uploading the content= s of flume.conf into zookeeper as /flume/agent ( this is the name I used in= the configuration ) =20 On Thursday, February 26, 2015 10:50 PM, Ashish wrote: =20 you need to push/upload your config file to Zk. You can use simple Zk client for this. I wrote a simple utility while I was working on the patch and you can find it here https://github.com/paliwalashish/flume-cookbook/blob/master/sr= c/main/java/com/ashishpaliwal/flume/ZookeeperUploader.java Alternatively you can look into the test cases, we push the config to Zk in embedded mode. Upload config to something like /flume/agent-name path and you should be se= t. Can you please raise a JIRA for the doc changes? Please check if a JIRA already exists for this, documentation doesn't have the information. Please do share feedback on how it works for you. On Thu, Feb 26, 2015 at 10:11 PM, Simeon Zaharici wrote: > > Hi guys, > > Do you have an example of how to use the dynamic configuration with > zookeeper > > https://issues.apache.org/jira/browse/FLUME-1491? > > I started flume with the -z flag pointing to a zookeeper instance and I s= ee > that it created a flume > > znode but I am not sure how to actually put the configuration in zookeepe= r. > > Thanks, > Simeon > --=20 thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal =20 ------=_Part_1949709_405387898.1425052605957 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I created the following jira for = the documentation


 <= /div>
Thanks again,=
Simeon
=


On Friday, February 27, 2015 10:50 AM, Simeon Zaharici &= lt;simeon_zaharici@yahoo.com> wrote:


Thank you very much Ashish, it is worki= ng fine after uploading the contents of flume.conf into zookeeper as /flume= /agent ( this is the name I used in the configuration )




On Thursday, February 26, = 2015 10:50 PM, Ashish <paliwalashish@gmail.com> wrote:


you need to push/upload your config file to Zk= . You can use simple Zk
client for this.

I wrote a simple utility while I was working on the pa= tch and you can
find it here https://github.com/paliwalashish/flume-cookbook/blob/master/src/main/j= ava/com/ashishpaliwal/flume/ZookeeperUploader.java
Alternatively you can look into the test cases, we push th= e config to
Zk in embedded mode.

Upload config to something like /flume/agent-name path and you= should be set.

Can you please raise a= JIRA for the doc changes? Please check if a
JIRA already= exists for this, documentation doesn't have the
informat= ion.

Please do share feedback on how i= t works for you.

On Thu, Feb 26, 2015 at= 10:11 PM, Simeon Zaharici
<simeon_zaharici@yahoo.com> w= rote:
>
> Hi guys,
>
> Do you have an example of how to use the dy= namic configuration with
> zookeeper
>
> https://issues.apache.org/jira/browse/FLUME-14= 91?
>
> I started flume with the = -z flag pointing to a zookeeper instance and I see
> t= hat it created a flume
>
> znode = but I am not sure how to actually put the configuration in zookeeper.
>
> Thanks,
> Sim= eon

>



--
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries= : http://www.pbase.com/ashishpaliwal





------=_Part_1949709_405387898.1425052605957--