Return-Path: Delivered-To: apmail-hadoop-chukwa-dev-archive@minotaur.apache.org Received: (qmail 58509 invoked from network); 28 Jul 2010 21:56:37 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Jul 2010 21:56:37 -0000 Received: (qmail 16772 invoked by uid 500); 28 Jul 2010 21:56:37 -0000 Delivered-To: apmail-hadoop-chukwa-dev-archive@hadoop.apache.org Received: (qmail 16727 invoked by uid 500); 28 Jul 2010 21:56:37 -0000 Mailing-List: contact chukwa-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-dev@hadoop.apache.org Delivered-To: mailing list chukwa-dev@hadoop.apache.org Received: (qmail 16719 invoked by uid 99); 28 Jul 2010 21:56:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jul 2010 21:56:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jul 2010 21:56:36 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6SLuGK1022022 for ; Wed, 28 Jul 2010 21:56:16 GMT Message-ID: <27068903.54811280354176623.JavaMail.jira@thor> Date: Wed, 28 Jul 2010 17:56:16 -0400 (EDT) From: "Kirk True (JIRA)" To: chukwa-dev@hadoop.apache.org Subject: [jira] Created: (CHUKWA-504) Implement ability to delete file in FileAdaptor after successfully uploaded MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Implement ability to delete file in FileAdaptor after successfully uploaded --------------------------------------------------------------------------- Key: CHUKWA-504 URL: https://issues.apache.org/jira/browse/CHUKWA-504 Project: Chukwa Issue Type: New Feature Components: data collection Affects Versions: 0.4.0 Reporter: Kirk True Priority: Minor Attachments: FileAdaptor.patch My client's use case is to feed lots of little data files into the Chukwa system. They're collected first by a web API, saved to disk, and then a locally-running agent is notified with the path to the file name. Naturally, there's an issue of wasting disk space by keeping all the files around on the web nodes unnecessarily. So a simple addition of an optional "delete" parameter when adding a FileAdaptor appears to do the trick. Forthcoming is a patch against 0.4.0 that we used to achieve this. The parameter is optional in order to maintain compatibility. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.