MAPREDUCE-6038. A boolean may be set error in the Word Count v2.0 in MapReduce Tutorial. Contributed by Tsuyoshi Ozawa
This commit is contained in:
parent
bc99aaffe7
commit
7e2fe8c9f2
|
@ -530,6 +530,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