flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Pivovarov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4593) Fix PageRank algorithm example
Date Fri, 14 Oct 2016 19:18:20 GMT

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

Alexander Pivovarov commented on FLINK-4593:
--------------------------------------------

Thank you!

> Fix PageRank algorithm example
> ------------------------------
>
>                 Key: FLINK-4593
>                 URL: https://issues.apache.org/jira/browse/FLINK-4593
>             Project: Flink
>          Issue Type: Bug
>          Components: Project Website
>            Reporter: Alexander Pivovarov
>            Assignee: Alexander Pivovarov
>            Priority: Minor
>
> This page https://flink.apache.org/features.html shows the code which implements PageRank
algorithm (Batch Processing Applications).
> I noticed couple bugs in the code
> Page class has pageId field
> Adjacency has just id
> but in the code I see
> {code}pages.join(adjacency).where("pageId").equalTo("pageId"){code}
> {code}Page(page.id, 0.15 / numPages){code}
> Also, the code in not formatted (missing spaces)
> {code}Page(n, 0.85*page.rank/adj.neighbors.length){code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message