for (FileStatus fileStatus : outputFiles) {
Path path = fileStatus.getPath();
SequenceFile.Reader reader = new SequenceFile.Reader(fs, path, conf);
// the key is either _label_ or label,feature
while (reader.next(key, value)) {
if (key.stringAt(0).equals(BayesConstants.LABEL_SUM)) { // Sum of counts
// of labels
labelSum.put(key.stringAt(1), value.get());
}
}