[jira] [Created] (FLINK-4593) Fix PageRank algorithm example

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-4593) Fix PageRank algorithm example

Shang Yuanchun (Jira)
Alexander Pivovarov created FLINK-4593:
------------------------------------------

             Summary: 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
            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}

Also {code}Page(page.id, 0.15 / numPages){code}



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