Tuesday 29 July 2014

Using Mahout Mapreduce

hadoop jar /home/Jijo/Mahout/mahout-distribution-0.9/mahout-core-0.9-job.jar org.apache.mahout.cf.taste.hadoop.item.RecommenderJob -Dmapred.input.dir=/jijo/mahout/links-simple-sorted.txt -Dmapred.output.dir=/jijo/mahout/output --numRecommendations 5 –b true -s SIMILARITY_TANIMOTOCOEFFICIENT

Thursday 17 July 2014

How to decompile a java class file in linux/centos

Navigate to the class file that has to be decompiled
javap -c classname
No need to include the extension .class

This command outputs the contents on stdout. Use the following to write it to a file
javap -c classname > classname.java