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 <filename>" 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 <directory>" 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.

Reply via email to