Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 7007 invoked from network); 28 Oct 2009 00:19:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Oct 2009 00:19:23 -0000 Received: (qmail 95062 invoked by uid 500); 28 Oct 2009 00:19:22 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 95008 invoked by uid 500); 28 Oct 2009 00:19:22 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 94955 invoked by uid 99); 28 Oct 2009 00:19:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 00:19:22 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 00:19:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AA1C3234C1F1 for ; Tue, 27 Oct 2009 17:18:59 -0700 (PDT) Message-ID: <1102273727.1256689139695.JavaMail.jira@brutus> Date: Wed, 28 Oct 2009 00:18:59 +0000 (UTC) From: "dhruba borthakur (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Created: (HADOOP-6338) Utility to tail the contents of a directory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Utility to tail the contents of a directory ------------------------------------------- Key: HADOOP-6338 URL: https://issues.apache.org/jira/browse/HADOOP-6338 Project: Hadoop Common Issue Type: Improvement Reporter: dhruba borthakur Assignee: dhruba borthakur There is an existing utility "bin/hadoop fs -tail -f " that prints the last few records from the specified file. A map-reduce application uses a directory as a data-set and it creates multiple files in a HDFS directory. I am proposing that we extend "bin/hadoop fs -tail -f " to tail the contents of a directory. The files in the directory can be sorted (lexicographically, or based on modtimes) to arrive at the virtual sequence of the set of files inside the directory. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.