[
https://issues.apache.org/jira/browse/MAHOUT-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14393485#comment-14393485
]
ASF GitHub Bot commented on MAHOUT-1662:
----------------------------------------
Github user magsol commented on the pull request:
https://github.com/apache/mahout/pull/96#issuecomment-89051055
Are there more details on this? i.e. why this change was originally made,
what it was supposed to fix, etc?
On Thu, Apr 2, 2015 at 17:15 Suneel Marthi <[email protected]> wrote:
> There r other places in the code that have this. Its a good idea to fix
> all of them in a single commit. Its outcome of a previous commit from me
> that went horribly wrong.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/apache/mahout/pull/96#issuecomment-89046350>.
>
> 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)