mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAHOUT-1662) Potential Path bug in SequenceFileVaultIterator breaks DisplaySpectralKMeans
Date Sat, 04 Apr 2015 04:41:33 GMT

    [ https://issues.apache.org/jira/browse/MAHOUT-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14395534#comment-14395534
] 

ASF GitHub Bot commented on MAHOUT-1662:
----------------------------------------

Github user smarthi commented on the pull request:

    https://github.com/apache/mahout/pull/96#issuecomment-89503030
  
    @magsol verified ur patch and Looks Good to Merge, will commit this to master


> 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: Suneel Marthi
>             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)

Mime
View raw message