[ https://issues.apache.org/jira/browse/MAHOUT-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14393560#comment-14393560 ]
ASF GitHub Bot commented on MAHOUT-1662: ---------------------------------------- Github user smarthi commented on the pull request: https://github.com/apache/mahout/pull/96#issuecomment-89058930 @magsol - search for makeQualified() in the legacy and anything that has an extra path in the args needs to be reverted back to original shape and form. Why was this change done? Was originally intended to be upgraded all deprecated MR apis to Hadoop 2, but the attempt went all Whack!! . So much for trying to push code at 4:30AM. > 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)