bespin icon indicating copy to clipboard operation
bespin copied to clipboard

Refactor PageRank arg parsing to use args4

Open lintool opened this issue 9 years ago • 1 comments

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

lintool avatar Jan 01 '17 14:01 lintool

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

MuhammadIqbal2023 avatar Jun 01 '20 14:06 MuhammadIqbal2023