<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Dear all,</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;I use Soot to generate call graph for my Hadoop program.</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;I start whole-program mode, I add all potential jars used in Hadoop to 4 directories: hadoop_jars/common/ ,hadoop_jars/yarn/,&nbsp;hadoop_jars/mapreduce/,&nbsp;&nbsp;hadoop_jars/hdfs/</p>
<ul>
<li>&nbsp; &nbsp; &nbsp; &nbsp;Is that correct to add all jars under directory use some thing like "/hadoop_jars/common/*"?&nbsp;</li>
</ul>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;I start Soot with&nbsp;</p>
<p>-cp /Users/tangchris/bin/:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/rt.jar:</p>
<p>/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/jce.jar:</p>
<p><span style="background-color: #ffff00;">/Users/tangchris/hadoop_jars/common/*:/Users/tangchris/hadoop_jars/yarn/*:/Users/tangchris/hadoop_jars/hdfs/*:/Users/tangchris/hadoop_jars/mapreduce/*</span> -W -p wjop enabled:true -p cg enabled:true -p cg.spark enabled:true -f none MaxTemperature MaxTemperatureMapper MaxTemperatureReducer&nbsp;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">BUT, it cannot find the relative classes</span>. What's the matter?</p>
<ul>
<li>&nbsp; &nbsp;Another concern is that if I have two jars with the same name under different directories, <span style="color: #ff0000;">how Soot gonna find the correct one?&nbsp;</span></li>
</ul>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; For example, if both yarn and hdfs contains a jar named "common_jar" and all contain "com.class", which one will be used?</p>
<p>&nbsp; &nbsp; &nbsp; Thanks</p>
<p>Best</p>
<p>Chris.&nbsp;</p>
</body></html>