Path fpath = new Path(context.getConfiguration()
.get(cacheFileIndex));
FileSystem hdfs = fpath.getFileSystem(context.getConfiguration());
System.out.println("cache path:"+fpath);
FSDataInputStream in = hdfs.open(fpath);
BufferedReader br=new BufferedReader(new InputStreamReader(in,"UTF-8"));
.get(cacheFileIndex));
FileSystem hdfs = fpath.getFileSystem(context.getConfiguration());
System.out.println("cache path:"+fpath);
FSDataInputStream in = hdfs.open(fpath);
BufferedReader br=new BufferedReader(new InputStreamReader(in,"UTF-8"));