lintool / bespin

Reference implementations of data-intensive algorithms in MapReduce and Spark
http://bespin.io/
Other
82 stars 96 forks source link

Refactor PageRank arg parsing to use args4 #4

Open lintool opened 7 years ago

lintool commented 7 years ago

PageRank-related classes still uses commons-cli for parsing args. Refactor to args4j.

MuhammadIqbal2023 commented 4 years ago

Dear Lin,

Thanks very much for providing very useful tutorials for hadoop mapreduce and I appreciated your work. I have an issue to import a file in the package "BuildPageRankRecords". It is working fine with eclipse, but when I tried to execute using shell (making jar file). Then I got an error due to the following "import tl.lin.data.array.ArrayListOfIntsWritable;" and error is mentioned below

BuildPageRankRecords.java:42: error: package tl.lin.data.array does not exist import tl.lin.data.array.ArrayListOfIntsWritable; ^ BuildPageRankRecords.java:83: error: cannot find symbol node.setAdjacencyList(new ArrayListOfIntsWritable()); ^ symbol: class ArrayListOfIntsWritable location: class MyMapper BuildPageRankRecords.java:93: error: cannot find symbol node.setAdjacencyList(new ArrayListOfIntsWritable(neighbors)); ^ symbol: class ArrayListOfIntsWritable location: class MyMapper 3 errors

Could you guide/ help me in this regard if possible?

Kind Regards Muhammad