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 7009CD819 for ; Fri, 26 Oct 2012 06:07:19 +0000 (UTC) Received: (qmail 2993 invoked by uid 500); 26 Oct 2012 06:07:19 -0000 Delivered-To: apmail-flume-user-archive@flume.apache.org Received: (qmail 2892 invoked by uid 500); 26 Oct 2012 06:07:18 -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 2871 invoked by uid 99); 26 Oct 2012 06:07:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2012 06:07:18 +0000 X-ASF-Spam-Status: No, hits=0.3 required=5.0 tests=FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of wget.null@gmail.com designates 209.85.212.173 as permitted sender) Received: from [209.85.212.173] (HELO mail-wi0-f173.google.com) (209.85.212.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2012 06:07:11 +0000 Received: by mail-wi0-f173.google.com with SMTP id hm4so75980wib.8 for ; Thu, 25 Oct 2012 23:06:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=039E2dmr67Ro1yD143rwNOOAzZ7MW168339iQFF530U=; b=AqrR5AFZ4I3I9vFXpzywaqQTDj5xPudqKJtIUxjbgpgaue0TKK9l+1XbKVxNiCbzif R/Oads7e3igR1900+Y64IadQkZbz+AH6fOw5hDHSuvwsukFy1gGwmn6LOG0JgtB1llNI QF/zvzmiP8t6H4RPw2PoaGE3797mzW5ramZRTTXnuSyvbNBGSce2tVZAuWQ0bHGE2qOg 0ZZFoLmkD02Zchp1b25iVfg9qreqk8EFo4GGenYb7ReB+CCzLBdKoVlZz1Q1pnoBQVqG 6p3luVYaymZ8Nb+sp43iHl/C5oSaJZNrHgXsmdFC62ijOd0vl3e3mJN0q17q2QsckSYN B+lA== Received: by 10.180.90.201 with SMTP id by9mr2722820wib.5.1351231611197; Thu, 25 Oct 2012 23:06:51 -0700 (PDT) Received: from [192.168.200.51] (HSI-KBW-109-192-098-207.hsi6.kabel-badenwuerttemberg.de. [109.192.98.207]) by mx.google.com with ESMTPS id v3sm1265089wiy.5.2012.10.25.23.06.49 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 25 Oct 2012 23:06:50 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: flume-ng use mongdb as sink From: Alexander Lorenz In-Reply-To: <3B586ADC265A4FE5A3E57790F9CB0E5C@gmail.com> Date: Fri, 26 Oct 2012 08:06:49 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <17F40E0543FC498ABCDBF5AD48F66E0E@gmail.com> <3B586ADC265A4FE5A3E57790F9CB0E5C@gmail.com> To: user@flume.apache.org X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on apache.org Yes, would work with FlumeNG. You've to change in the example the source = into avro, and give them a try. Cheers, Alex On Oct 23, 2012, at 4:20 PM, lancexxx wrote: > hi=EF=BC=8CI found a solution that use mongodb on githua,this is the = url: > https://github.com/leonlee/flume-ng-mongodb-sink =20 >=20 > what do you think of it with the avro sink? > thanks! > -- =20 > lancexxx > Sent with Sparrow (http://www.sparrowmailapp.com/?sig) >=20 >=20 > On 2012=E5=B9=B410=E6=9C=8823=E6=97=A5Tuesday at =E4=B8=8B=E5=8D=884:40,= Alexander Lorenz wrote: >=20 >> Hi, >>=20 >> we haven't a mongo sink, so you have to write your own. But you could = use a avro sink and import the contents into mongo via = http://datasyndrome.com/post/27075009640/from-avro-to-mongo-in-one-line-wi= th-avro-to-mongo-pig? >>=20 >> cheers, >> Alex =20 >>=20 >> On Oct 23, 2012, at 9:58 AM, lancexxx wrote: >>=20 >>>=20 >>> hey >>>=20 >>> I used flume-ng(1.3.0) to collecting webserver log, memory as = channel, hdfs as sink, and workd good. =20 >>> But this time i come up against a series of problems because that i = want use mongodb as a final storage , however i can not find any ideas =20= >>> what use mongodb or other nosql as a sink via google and official = guide except a plugin named mongo-hadoop,anyone can help me? thanks very = much ! >>>=20 >>> -- =20 >>> lancexxx >>> Sent with Sparrow (http://www.sparrowmailapp.com/?sig) >>>=20 >>=20 >>=20 >> -- >> Alexander Alten-Lorenz >> http://mapredit.blogspot.com >> German Hadoop LinkedIn Group: http://goo.gl/N8pCF >>=20 >>=20 >=20 >=20 -- Alexander Alten-Lorenz http://mapredit.blogspot.com German Hadoop LinkedIn Group: http://goo.gl/N8pCF