MAPREDUCE-6038. A boolean may be set error in the Word Count v2.0 in MapReduce Tutorial. Contributed by Tsuyoshi Ozawa
(cherry picked from commit 4990ccfdc742be9c0517557a6256fefcae0df67d)
This commit is contained in:
parent
bed74b620a
commit
5fbf91b453
|
@ -263,6 +263,9 @@ Release 2.8.0 - UNRELEASED
|
|||
MAPREDUCE-6418. MRApp should not shutdown LogManager during shutdown
|
||||
(Chang Li via jlowe)
|
||||
|
||||
MAPREDUCE-6038. A boolean may be set error in the Word Count v2.0 in
|
||||
MapReduce Tutorial. (Tsuyoshi Ozawa via cdouglas)
|
||||
|
||||
Release 2.7.2 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -978,7 +978,7 @@ public class WordCount2 {
|
|||
InterruptedException {
|
||||
conf = context.getConfiguration();
|
||||
caseSensitive = conf.getBoolean("wordcount.case.sensitive", true);
|
||||
if (conf.getBoolean("wordcount.skip.patterns", true)) {
|
||||
if (conf.getBoolean("wordcount.skip.patterns", false)) {
|
||||
URI[] patternsURIs = Job.getInstance(conf).getCacheFiles();
|
||||
for (URI patternsURI : patternsURIs) {
|
||||
Path patternsPath = new Path(patternsURI.getPath());
|
||||
|
|
Loading…
Reference in New Issue