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 EDC6818401 for ; Fri, 30 Oct 2015 14:46:18 +0000 (UTC) Received: (qmail 40044 invoked by uid 500); 30 Oct 2015 14:46:15 -0000 Delivered-To: apmail-flume-user-archive@flume.apache.org Received: (qmail 39991 invoked by uid 500); 30 Oct 2015 14:46: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 39981 invoked by uid 99); 30 Oct 2015 14:46:15 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2015 14:46:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 1A4E21A2AAB for ; Fri, 30 Oct 2015 14:46:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.48 X-Spam-Level: *** X-Spam-Status: No, score=3.48 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=3, KAM_EU=0.5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=devlogic_eu.20150623.gappssmtp.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id OOZ0x50-_oki for ; Fri, 30 Oct 2015 14:46:03 +0000 (UTC) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 318B821154 for ; Fri, 30 Oct 2015 14:46:02 +0000 (UTC) Received: by wicfv8 with SMTP id fv8so12348186wic.0 for ; Fri, 30 Oct 2015 07:45:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devlogic_eu.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=rRZp35blOfxU9MASABTee3d3qJAn8WT1s/6nupcPpiE=; b=h79x1JR2mt6Ydj2j5kxU4CTbTOvqHroYMWOewWviRsoZV16Zj/5K5TPaqfAd9bEosK 5DkXN8n47ZgScb+0LdHRV+zhE8g+JkmkZWIu3dZUWUXDtMfCTNI0qk3FzaJDoEpmIH3H rOMM3T/RKyqdJ4MQfQbZiagm0NKlat24o/B9lHwRMjQGrfIRYlRmVQjfAGKC8q5gpGIb 4xq2iRaHc587eAix7AfbIMhW6TVemMuO9KwKFBpQO0HNxLcnRfWoY8MRSOCYMppVsdrN d74srMJraUvCdJDd8YACYVwJotkhrDY4zjBdpLA+IMXAskjdZsx6/9QWxDBHzPkeXN1e WrZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=rRZp35blOfxU9MASABTee3d3qJAn8WT1s/6nupcPpiE=; b=jgT1svQlvi8buBHmWCndF4HBC4WA/No9+sC62aQphX90alkJoYmZuAVjrdrhUZ2Iv2 dHbsGkNxvA5Xih1tV7lkhlP8pMO6LaMVzUEG42xsPHV+qYy0Ya2fvLRJuODpNvQL9z49 LjOXI3HpWOKhzGJ+pvVyYKsOTsZlcGIrK+iaVGXuSisRrGjo+Ucc6fq3bpiqJBZPRT9o Upp97EiJOjtMoJLMYvsMp0o3sJQX6S41/Ju0X397f3y8V/ij/RWOFAk/8g4+4KSyA388 gfbA586UuR0k4yIa1EziK0u77CDm7pS8xRbGZ7Cif1pv7CRq9GEs9PmmBJeMhBDn7rEf qvGw== X-Gm-Message-State: ALoCoQmsJS9Qk5mBagCR4aznTMxZwIMLL4yC3cycGT4sDq02INC8dL2ReBAxYjAvUMzmiYcLcCysgxGWHnJFagbZQwbdj8Owrf/hCH/WRGg8wE4SLTlR69wAp95bncydJHlEtxu7jXb0 X-Received: by 10.194.114.70 with SMTP id je6mr8795078wjb.7.1446216355766; Fri, 30 Oct 2015 07:45:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.27.140.84 with HTTP; Fri, 30 Oct 2015 07:45:36 -0700 (PDT) In-Reply-To: References: From: Ahmed Vila Date: Fri, 30 Oct 2015 15:45:36 +0100 Message-ID: Subject: Re: Is it possible to role a file by timestamp? To: user@flume.apache.org Content-Type: multipart/alternative; boundary=001a1130d288277bee0523537c6e --001a1130d288277bee0523537c6e Content-Type: text/plain; charset=UTF-8 Hi Raj, It's possible... see Flume User Guide on HDFS Sink path configuration sequences: https://flume.apache.org/FlumeUserGuide.html#hdfs-sink hdfs.rollInterval = 0 hdfs.rollSize = 0 hdfs.rollCount = 0 *hdfs.path = *hdfs://namenode/flume/webdata/file-%D On Fri, Oct 30, 2015 at 3:40 PM, Raj Kumar wrote: > I would like the files to be rolled at midnight. Not by interval but by > timestamp. Is this possible? > > Cheers, > > Raj. > > -- Best regards, Ahmed Vila | Senior software developer DevLogic | Sarajevo | Bosnia and Herzegovina Office : +387 33 942 123 Mobile: +387 62 139 348 Website: www.devlogic.eu E-mail : avila@devlogic.eu --------------------------------------------------------------------- This e-mail and any attachment is for authorised use by the intended recipient(s) only. This email contains confidential information. It should not be copied, disclosed to, retained or used by, any party other than the intended recipient. Any unauthorised distribution, dissemination or copying of this E-mail or its attachments, and/or any use of any information contained in them, is strictly prohibited and may be illegal. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender directly via email. Any emails that you send to us may be monitored by systems or persons other than the named communicant for the purposes of ascertaining whether the communication complies with the law and company policies. -- --------------------------------------------------------------------- This e-mail and any attachment is for authorised use by the intended recipient(s) only. This email contains confidential information. It should not be copied, disclosed to, retained or used by, any party other than the intended recipient. Any unauthorised distribution, dissemination or copying of this E-mail or its attachments, and/or any use of any information contained in them, is strictly prohibited and may be illegal. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender directly via email. Any emails that you send to us may be monitored by systems or persons other than the named communicant for the purposes of ascertaining whether the communication complies with the law and company policies. --001a1130d288277bee0523537c6e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Raj,

It's possible... see Flume = User Guide on HDFS Sink path configuration sequences:

hdfs.rollInterval =3D 0
hdfs.rollSize = =3D 0
hdfs.rollCount =3D = 0
hdfs.path =3D=C2=A0hdfs://namenode/flume/webdata/file-%D=



On Fri, Oct 30, 2015 at 3:40 PM, Raj Ku= mar <rajkumartheone999@gmail.com> wrote:
I would like the files to be roll= ed at midnight. Not by interval but by timestamp. Is this possible?
Cheers,

Raj.




--

Best regards,=

Ahmed Vila | Senior software developer
DevLogic |= Sarajevo | Bosnia and Herzegovina

Office :=C2=A0+= 387 33 942 123=C2=A0
Mobile:=C2=A0+387 62 139 348

<= /div>
Website:=C2=A0www.devlogic.eu=C2=A0
E-mail =C2=A0 :=C2=A0avila@devlogic.eu
-----------------------------------------------------------= ----------
This e-mail and any attachment is for authorised use b= y the intended recipient(s) only. This email contains confidential informat= ion. It should not be copied, disclosed to, retained or used by, any party = other than the intended recipient. Any unauthorised distribution, dissemina= tion or copying of this E-mail or its attachments, and/or any use of any in= formation contained in them, is strictly prohibited and may be illegal. If = you are not an intended recipient then please promptly delete this e-mail a= nd any attachment and all copies and inform the sender directly via email. = Any emails that you send to us may be monitored by systems or persons other= than the named communicant for the purposes of ascertaining whether the co= mmunication complies with the law and company policies.

-----------------------------------------------------= ----------------
This e-mail and any attachment is for authorised u= se by the intended recipient(s) only. This email contains confidential info= rmation. It should not be copied, disclosed to, retained or used by, any pa= rty other than the intended recipient. Any unauthorised distribution, disse= mination or copying of this E-mail or its attachments, and/or any use of an= y information contained in them, is strictly prohibited and may be illegal.= If you are not an intended recipient then please promptly delete this e-ma= il and any attachment and all copies and inform the sender directly via ema= il. Any emails that you send to us may be monitored by systems or persons o= ther than the named communicant for the purposes of ascertaining whether th= e communication complies with the law and company policies.
--001a1130d288277bee0523537c6e--