public class ReadSequenceFile extends Object
Program that reads either a SequenceFile or a directory containing SequenceFiles. A maximum number of key-value pairs to read must be specified; in the of a directory, the value specifies the number of key-value pairs to read per file.
args: [path] [max-num-of-records] (local)
Note: specify "local" as the optional third argument for reading from local disk.
public static void main(String[] args) throws IOException
IOException