I have a text file with data written in the following (key,value) format:
1,34
5,67
8,88
The file is placed in the local file system.
I want to convert it into one hadoop sequence file, again on local file system, for using it in mahout. The sequence file should have all the records. For record 1, for example, 1 is the key and 34 is value. Similarly for other records.
I am new to Java. I shall be grateful for help.
Thanks.