[
https://issues.apache.org/jira/browse/MAHOUT-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13200118#comment-13200118
]
Antonio Molins commented on MAHOUT-971:
---------------------------------------
I am new and didn't get around how to make commits in SVN, but was able to fix
this by modifying the offending lines
core/src/main/java/org/apache/mahout/common/iterator/sequencefile/SequenceFileDirValueIterator.java:66
core/src/main/java/org/apache/mahout/common/iterator/sequencefile/SequenceFileDirValueIterator.java:89
to
FileSystem fs = FileSystem.get(path.toUri(), conf);
and
core/src/main/java/org/apache/mahout/clustering/kmeans/KMeansDriver.java:298
core/src/main/java/org/apache/mahout/clustering/kmeans/KMeansDriver.java:322
to
FileSystem.get(output.toUri(), conf).rename(new Path(output,
AbstractCluster.CLUSTERS_DIR + (iteration-1)), finalClustersIn);
> kmeans does not work in S3
> --------------------------
>
> Key: MAHOUT-971
> URL: https://issues.apache.org/jira/browse/MAHOUT-971
> Project: Mahout
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 0.6
> Environment: amazon S3
> Reporter: Antonio Molins
> Labels: hadoop
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> S3n:// URIs will not work in kmeans because of a couple of calls to
> FileSystem.get(conf) with no URI.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira