mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smar...@apache.org
Subject mahout git commit: MAHOUT-1611 reverted to using Hadoop 1.x APIs, closes apache/Mahout#63
Date Wed, 19 Nov 2014 07:51:25 GMT
Repository: mahout
Updated Branches:
  refs/heads/master 379863d8f -> 6530e8144


MAHOUT-1611 reverted to using Hadoop 1.x APIs, closes apache/Mahout#63


Project: http://git-wip-us.apache.org/repos/asf/mahout/repo
Commit: http://git-wip-us.apache.org/repos/asf/mahout/commit/6530e814
Tree: http://git-wip-us.apache.org/repos/asf/mahout/tree/6530e814
Diff: http://git-wip-us.apache.org/repos/asf/mahout/diff/6530e814

Branch: refs/heads/master
Commit: 6530e8144f9638932092d65bbdc72faf0fc840cd
Parents: 379863d
Author: Suneel Marthi <suneel.marthi@gmail.com>
Authored: Wed Nov 19 02:51:13 2014 -0500
Committer: Suneel Marthi <suneel.marthi@gmail.com>
Committed: Wed Nov 19 02:51:13 2014 -0500

----------------------------------------------------------------------
 .../main/java/org/apache/mahout/utils/ConcatenateVectorsJob.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mahout/blob/6530e814/integration/src/main/java/org/apache/mahout/utils/ConcatenateVectorsJob.java
----------------------------------------------------------------------
diff --git a/integration/src/main/java/org/apache/mahout/utils/ConcatenateVectorsJob.java
b/integration/src/main/java/org/apache/mahout/utils/ConcatenateVectorsJob.java
index 83a3ca4..d3ed85f 100644
--- a/integration/src/main/java/org/apache/mahout/utils/ConcatenateVectorsJob.java
+++ b/integration/src/main/java/org/apache/mahout/utils/ConcatenateVectorsJob.java
@@ -113,7 +113,7 @@ public class ConcatenateVectorsJob extends AbstractJob {
     Path file = paths[0].getPath();
     SequenceFile.Reader reader = null;
     try {
-      reader = new SequenceFile.Reader(fs.getConf(), SequenceFile.Reader.file(file));
+      reader = new SequenceFile.Reader(fs, file, fs.getConf());
       return reader.getKeyClass().asSubclass(Writable.class);
     } finally {
       Closeables.close(reader, true);


Mime
View raw message