Thursday, January 12, 2012

Get File Name Processod by the Mapper in Hadoop Map Reduce


FileSplit fileSplit = (FileSplit)context.getInputSplit();
String filenameProcessod = fileSplit.getPath().getName().toString();
System.out.println("File Name Processing "+filenameProcessod);

No comments:

Post a Comment