Review Board 1.7.22


MAHOUT-822: Mahout needs to be made compatible with Hadoop .23 releases

Review Request #4237 - Created March 8, 2012 and updated

tom pierce
MAHOUT-822
Reviewers
mahout
dlyubimov
mahout
This is the current patch for MAHOUT-822 (as posted by Bilung Lee).
Passes unit tests under default config as well as under hadoop 0.23.1.
trunk/pom.xml
Revision 1296318 New Change
[20] 104 lines
[+20]
105
  <issueManagement>
105
  <issueManagement>
106
    <system>Jira</system>
106
    <system>Jira</system>
107
    <url>https://issues.apache.org/jira/browse/MAHOUT</url>
107
    <url>https://issues.apache.org/jira/browse/MAHOUT</url>
108
  </issueManagement>
108
  </issueManagement>
109
  
109
  

    
   
110
  <repositories>

    
   
111
    <repository>

    
   
112
      <id>apache.snapshots</id>

    
   
113
      <name>Apache Snapshot Repository</name>

    
   
114
      <url>http://repository.apache.org/snapshots</url>

    
   
115
      <releases>

    
   
116
        <enabled>false</enabled>

    
   
117
      </releases>

    
   
118
    </repository>

    
   
119
  </repositories>

    
   
120
  
110
  <dependencyManagement>
121
  <dependencyManagement>
111
    <dependencies>
122
    <dependencies>
112
    
123
    
113
      <!-- our modules -->
124
      <!-- our modules -->
114
      
125
      
[+20] [20] 147 lines
[+20]
262
            <artifactId>core</artifactId>
273
            <artifactId>core</artifactId>
263
          </exclusion>
274
          </exclusion>
264
        </exclusions>
275
        </exclusions>
265
      </dependency>
276
      </dependency>
266
      <dependency>
277
      <dependency>

    
   
278
        <groupId>org.apache.hadoop</groupId>

    
   
279
        <artifactId>hadoop-common</artifactId>

    
   
280
        <version>${hadoop.version}</version>

    
   
281
        <exclusions>

    
   
282
          <exclusion>

    
   
283
            <groupId>net.sf.kosmosfs</groupId>

    
   
284
            <artifactId>kfs</artifactId>

    
   
285
          </exclusion>

    
   
286
          <exclusion>

    
   
287
            <groupId>org.mortbay.jetty</groupId>

    
   
288
            <artifactId>jetty</artifactId>

    
   
289
          </exclusion>

    
   
290
          <exclusion>

    
   
291
            <groupId>org.mortbay.jetty</groupId>

    
   
292
            <artifactId>jetty-util</artifactId>

    
   
293
          </exclusion>

    
   
294
          <exclusion>

    
   
295
            <groupId>hsqldb</groupId>

    
   
296
            <artifactId>hsqldb</artifactId>

    
   
297
          </exclusion>

    
   
298
          <exclusion>

    
   
299
            <groupId>commons-el</groupId>

    
   
300
            <artifactId>commons-el</artifactId>

    
   
301
          </exclusion>

    
   
302
          <exclusion>

    
   
303
            <groupId>junit</groupId>

    
   
304
            <artifactId>junit</artifactId>

    
   
305
          </exclusion>

    
   
306
          <exclusion>

    
   
307
            <groupId>oro</groupId>

    
   
308
            <artifactId>oro</artifactId>

    
   
309
          </exclusion>

    
   
310
          <exclusion>

    
   
311
            <groupId>org.mortbay.jetty</groupId>

    
   
312
            <artifactId>jsp-2.1</artifactId>

    
   
313
          </exclusion>

    
   
314
          <exclusion>

    
   
315
            <groupId>org.mortbay.jetty</groupId>

    
   
316
            <artifactId>jsp-api-2.1</artifactId>

    
   
317
          </exclusion>

    
   
318
          <exclusion>

    
   
319
            <groupId>org.mortbay.jetty</groupId>

    
   
320
            <artifactId>servlet-api-2.5</artifactId>

    
   
321
          </exclusion>

    
   
322
          <exclusion>

    
   
323
            <groupId>commons-net</groupId>

    
   
324
            <artifactId>commons-net</artifactId>

    
   
325
          </exclusion>

    
   
326
          <exclusion>

    
   
327
            <groupId>tomcat</groupId>

    
   
328
            <artifactId>jasper-runtime</artifactId>

    
   
329
          </exclusion>

    
   
330
          <exclusion>

    
   
331
            <groupId>tomcat</groupId>

    
   
332
            <artifactId>jasper-compiler</artifactId>

    
   
333
          </exclusion>

    
   
334
          <exclusion>

    
   
335
            <groupId>xmlenc</groupId>

    
   
336
            <artifactId>xmlenc</artifactId>

    
   
337
          </exclusion>

    
   
338
          <exclusion>

    
   
339
            <groupId>net.java.dev.jets3t</groupId>

    
   
340
            <artifactId>jets3t</artifactId>

    
   
341
          </exclusion>

    
   
342
          <exclusion>

    
   
343
            <groupId>org.eclipse.jdt</groupId>

    
   
344
            <artifactId>core</artifactId>

    
   
345
          </exclusion>

    
   
346
          <exclusion>

    
   
347
            <groupId>org.slf4j</groupId>

    
   
348
            <artifactId>slf4j-api</artifactId>

    
   
349
          </exclusion>

    
   
350
          <exclusion>

    
   
351
            <groupId>org.slf4j</groupId>

    
   
352
            <artifactId>slf4j-jcl</artifactId>

    
   
353
          </exclusion>

    
   
354
          <exclusion>

    
   
355
            <groupId>org.slf4j</groupId>

    
   
356
            <artifactId>slf4j-log4j12</artifactId>

    
   
357
          </exclusion>

    
   
358
        </exclusions>

    
   
359
      </dependency>

    
   
360
      <dependency>

    
   
361
        <groupId>org.apache.hadoop</groupId>

    
   
362
        <artifactId>hadoop-mapreduce-client-core</artifactId>

    
   
363
        <version>${hadoop.version}</version>

    
   
364
      </dependency>

    
   
365
      <dependency>

    
   
366
        <groupId>org.apache.hadoop</groupId>

    
   
367
        <artifactId>hadoop-mapreduce-client-common</artifactId>

    
   
368
        <version>${hadoop.version}</version>

    
   
369
      </dependency>

    
   
370

   

    
   
371
      <dependency>
267
        <groupId>org.codehaus.jackson</groupId>
372
        <groupId>org.codehaus.jackson</groupId>
268
        <artifactId>jackson-core-asl</artifactId>
373
        <artifactId>jackson-core-asl</artifactId>
269
        <version>1.8.2</version>
374
        <version>1.8.2</version>
270
      </dependency>
375
      </dependency>
271
      <dependency>
376
      <dependency>
[+20] [20] 646 lines
trunk/core/pom.xml
Revision 1296318 New Change
 
trunk/core/src/main/java/org/apache/mahout/common/HadoopUtil.java
Revision 1296318 New Change
 
trunk/core/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/MockContext.java
Revision 1296318 New Change
 
trunk/core/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/PartialSequentialBuilder.java
Revision 1296318 New Change
 
trunk/core/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/Step1MapperTest.java
Revision 1296318 New Change
 
trunk/core/src/test/java/org/apache/mahout/clustering/canopy/TestCanopyCreation.java
Revision 1296318 New Change
 
trunk/core/src/test/java/org/apache/mahout/clustering/classify/ClusterClassificationDriverTest.java
Revision 1296318 New Change
 
trunk/core/src/test/java/org/apache/mahout/clustering/kmeans/TestKmeansClustering.java
Revision 1296318 New Change
 
trunk/core/src/test/java/org/apache/mahout/clustering/meanshift/TestMeanShift.java
Revision 1296318 New Change
 
trunk/core/src/test/java/org/apache/mahout/common/DummyCounter.java
Revision 1296318 New Change
 
trunk/core/src/test/java/org/apache/mahout/common/DummyRecordWriter.java
Revision 1296318 New Change
 
trunk/core/src/test/java/org/apache/mahout/common/DummyStatusReporter.java
Revision 1296318 New Change
 
trunk/core/src/test/java/org/apache/mahout/math/hadoop/TestDistributedRowMatrix.java
Revision 1296318 New Change
 
trunk/integration/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java
Revision 1296318 New Change
 
  1. trunk/pom.xml: Loading...
  2. trunk/core/pom.xml: Loading...
  3. trunk/core/src/main/java/org/apache/mahout/common/HadoopUtil.java: Loading...
  4. trunk/core/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/MockContext.java: Loading...
  5. trunk/core/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/PartialSequentialBuilder.java: Loading...
  6. trunk/core/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/Step1MapperTest.java: Loading...
  7. trunk/core/src/test/java/org/apache/mahout/clustering/canopy/TestCanopyCreation.java: Loading...
  8. trunk/core/src/test/java/org/apache/mahout/clustering/classify/ClusterClassificationDriverTest.java: Loading...
  9. trunk/core/src/test/java/org/apache/mahout/clustering/kmeans/TestKmeansClustering.java: Loading...
  10. trunk/core/src/test/java/org/apache/mahout/clustering/meanshift/TestMeanShift.java: Loading...
  11. trunk/core/src/test/java/org/apache/mahout/common/DummyCounter.java: Loading...
  12. trunk/core/src/test/java/org/apache/mahout/common/DummyRecordWriter.java: Loading...
  13. trunk/core/src/test/java/org/apache/mahout/common/DummyStatusReporter.java: Loading...
  14. trunk/core/src/test/java/org/apache/mahout/math/hadoop/TestDistributedRowMatrix.java: Loading...
  15. trunk/integration/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java: Loading...