Return-Path: X-Original-To: apmail-ambari-user-archive@www.apache.org Delivered-To: apmail-ambari-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 2D351181FE for ; Thu, 12 Nov 2015 08:48:10 +0000 (UTC) Received: (qmail 972 invoked by uid 500); 12 Nov 2015 08:48:09 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 939 invoked by uid 500); 12 Nov 2015 08:48:09 -0000 Mailing-List: contact user-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ambari.apache.org Delivered-To: mailing list user@ambari.apache.org Received: (qmail 929 invoked by uid 99); 12 Nov 2015 08:48:09 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Nov 2015 08:48:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 70EFEC8C32 for ; Thu, 12 Nov 2015 08:48:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.971 X-Spam-Level: *** X-Spam-Status: No, score=3.971 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_SOFTFAIL=0.972] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=detik_com.20150623.gappssmtp.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 1HTbESJHwtCc for ; Thu, 12 Nov 2015 08:48:08 +0000 (UTC) Received: from mail-io0-f179.google.com (mail-io0-f179.google.com [209.85.223.179]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 0673A20384 for ; Thu, 12 Nov 2015 08:48:07 +0000 (UTC) Received: by iofh3 with SMTP id h3so58676866iof.3 for ; Thu, 12 Nov 2015 00:48:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=detik_com.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to:content-type; bh=zF8BjLsSWH24l5YvIJoXZl4NOPZ3C+VPv0GxO/bg45g=; b=EDrDJxFu4T0QbqceKpxqi0edN93jGMdL5yT/JHizWApjeeuJrLMKqsGiyRh/P84Io1 oDQsyIdZhXvXrJIIVeJzACyEfObwieVBMTNKzy5G5pfqsQxlVjun2F0GlOEiEkUwbrhb csmxH5Z0GFZ4fX0prsRSZDJdUCphSZEHNlSB/EtpyZux/V3ppxm8ItVnz/EQYMzU+9Bc Cvkt6n31kEj9EfLISxcXVUlZzSUf6/BbaY2tZxcMuKLAe+u86vQ80LBPGLcDjfqk3R5x AMUArvpKEZJK+FPxmzp1LDLQgYJA1EhDwyrSI3LcQqSlcifi0DHn1KZ0vSao+GvhXTnc HysA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=zF8BjLsSWH24l5YvIJoXZl4NOPZ3C+VPv0GxO/bg45g=; b=aTl1R6VstKj6eN8qSxJkZFoz9b0+Pq9/3QKktdpWXIhdGYYDe+p5cdFqETIOnfsnHR 2HsOTOzLSNQpcoCnJTtYnazJrKhZNVJ5m/T7brk66YOyYW2Tq2sEuTW45yIp0blgtVxE 2ZS/BYM+iGPbF7T0vD0xrY5YFg800ogB1+nXnhC3qaIUA68ZMJQ986KO4tUrF7RxzonE AkB7P6pROTyvZ8fumwGpsbJRyKHo212EjRKkkhmszZqUuWrF/7jlb5hn7f3sYVoCaHLm s9WH3gC6Xaf/dS9hwxAxdsK50drja+cVwOLPo0fTPhy6XmugMHGoGb5qGmWVpgbdZT6e VO8Q== X-Gm-Message-State: ALoCoQkXXyrbwsACVS6Io6n5cXarrp79yRjucc74gizA89izrxWcF5jMWXginnwRKJRX8no8fSsN MIME-Version: 1.0 X-Received: by 10.107.164.24 with SMTP id n24mr13608374ioe.21.1447318087135; Thu, 12 Nov 2015 00:48:07 -0800 (PST) Received: by 10.107.11.29 with HTTP; Thu, 12 Nov 2015 00:48:07 -0800 (PST) Date: Thu, 12 Nov 2015 15:48:07 +0700 Message-ID: Subject: Flume-agent conf on ambari From: Zaenal Akhmad Rifai To: user@ambari.apache.org Content-Type: multipart/alternative; boundary=001a1141bc5c7608f90524540045 --001a1141bc5c7608f90524540045 Content-Type: text/plain; charset=UTF-8 Hello guys, i'm newbie on flume, i want to ask something about configuration on flume-agent which can write event on HDFS. for example which i can find on internet is like this. hdfs-agent.sources= netcat-collect hdfs-agent.sinks = hdfs-write hdfs-agent.channels= memory-channel hdfs-agent.sources.netcat-collect.type = netcat hdfs-agent.sources.netcat-collect.bind = 127.0.0.1 hdfs-agent.sources.netcat-collect.port = 11111 hdfs-agent.sinks.hdfs-write.type = hdfs hdfs-agent.sinks.hdfs-write.hdfs.path =/user/user/togatta/ hdfs-agent.sinks.hdfs-write.rollInterval = 10 hdfs-agent.sinks.hdfs-write.hdfs.writeFormat=Text hdfs-agent.sinks.hdfs-write.hdfs.fileType=DataStream hdfs-agent.channels.memoryChannel.type = memory hdfs-agent.channels.memoryChannel.capacity=10000 hdfs-agent.sources.netcat-collect.channels=memoryChannel hdfs-agent.sinks.hdfs-write.channel=memoryChannel this configuration will collect about log netcat event, but when i run it, it cant write on path hdfs which i had to config. So any suggest from all of you guys? -- Regards, Zaenal Akhmad Rifai "May the force be with you" --001a1141bc5c7608f90524540045 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello guys, i'm newbie on flume, i want to ask somethi= ng about configuration on flume-agent which can write event on HDFS.
for example which i can find on internet is like this.

hdfs-agent.sources=3D netcat-collect
hdfs-= agent.sinks =3D hdfs-write
hdfs-agent.channels=3D memory-channel<= /div>
hdfs-agent.sources.netcat-collect.type =3D netcat
hdfs-= agent.sources.netcat-collect.bind =3D 127.0.0.1
hdfs-agent.source= s.netcat-collect.port =3D 11111
hdfs-agent.sinks.hdfs-write.type = =3D hdfs
hdfs-agent.sinks.hdfs-write.hdfs.path =3D/user/user/toga= tta/
hdfs-agent.sinks.hdfs-write.rollInterval =3D 10
hd= fs-agent.sinks.hdfs-write.hdfs.writeFormat=3DText
hdfs-agent.sink= s.hdfs-write.hdfs.fileType=3DDataStream
hdfs-agent.channels.memor= yChannel.type =3D memory
hdfs-agent.channels.memoryChannel.capaci= ty=3D10000
hdfs-agent.sources.netcat-collect.channels=3DmemoryCha= nnel
hdfs-agent.sinks.hdfs-write.channel=3DmemoryChannel

this configuration will collect about log netcat even= t, but when i run it, it cant write on path hdfs which i had to config. So = any suggest from all of you guys?
--

Regards= ,
Zaenal Akhmad Rifai
=

"May the force be with you"=C2=A0
<= /div>
--001a1141bc5c7608f90524540045--