You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Shannon Quinn (JIRA)" <ji...@apache.org> on 2015/03/30 18:08:53 UTC
[jira] [Commented] (MAHOUT-1662) Potential Path bug in
SequenceFileVaultIterator breaks DisplaySpectralKMeans
[ https://issues.apache.org/jira/browse/MAHOUT-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14386917#comment-14386917 ]
Shannon Quinn commented on MAHOUT-1662:
---------------------------------------
https://github.com/apache/mahout/pull/89
> Potential Path bug in SequenceFileVaultIterator breaks DisplaySpectralKMeans
> ----------------------------------------------------------------------------
>
> Key: MAHOUT-1662
> URL: https://issues.apache.org/jira/browse/MAHOUT-1662
> Project: Mahout
> Issue Type: Bug
> Components: Examples, mrlegacy
> Affects Versions: 0.9
> Reporter: Shannon Quinn
> Assignee: Shannon Quinn
> Fix For: 0.10.0
>
>
> Received the following error when attempting to run DisplaySpectralKMeans:
> Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS: file://tmp/calculations/diagonal/part-r-00000/tmp/calculations/diagonal/part-r-00000, expected: file:///
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:645)
> at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:80)
> at org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:529)
> at org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:747)
> at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:524)
> at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:409)
> at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1750)
> at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1774)
> at org.apache.mahout.common.iterator.sequencefile.SequenceFileValueIterator.<init>(SequenceFileValueIterator.java:56)
> at org.apache.mahout.clustering.spectral.VectorCache.load(VectorCache.java:115)
> at org.apache.mahout.clustering.spectral.MatrixDiagonalizeJob.runJob(MatrixDiagonalizeJob.java:77)
> at org.apache.mahout.clustering.spectral.kmeans.SpectralKMeansDriver.run(SpectralKMeansDriver.java:170)
> at org.apache.mahout.clustering.spectral.kmeans.SpectralKMeansDriver.run(SpectralKMeansDriver.java:117)
> at org.apache.mahout.clustering.display.DisplaySpectralKMeans.main(DisplaySpectralKMeans.java:76)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
> Tracked the origin of the bug to line 54 of SequenceFileVaultIterator. PR which contains a fix is available; I would ask for independent verification before merging it with master.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)