Skip to content

edofazza/PageRank-Hadoop

Repository files navigation

PageRank Hadoop

Hits

Implementation of the MapReduce PageRank algorithm using the Hadoop framework in Java. The documentation for this project can be found here.

How to run the algorithm

hadoop jar <app Jar> it.unipi.hadoop.pagerank.PageRank <input file> <output> <number of iterations>

Input file

We have tested the algorithm with three input files.

The first file contains pages from the Simple English Wikipedia. It is a pre-processed version of the Simple Wikipedia corpus in which the pages are stored in an XML format. Each page of Wikipedia is represented in XML as follows:

<title>page name</title>
    ...
<revisionoptionalVal="xxx">
        ...
        <textoptionalVal="yyy">page content</text>
        ...
</revision>

The pages have been "flattened" to be represented on a single line. The body text of the page also has all new lines converted to spaces to ensure it stays on one line in this representation. Links to other Wikipedia articles are of the form [[page name]] and we considered only links in the text section.

The other two files contain synthetic datasets we created using the same XML structure with 5000 and 10000 pages, respectively.

All XML files can be found here.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages