package com.jason object FIndjar {
def main(args: Array[String]): Unit = {
val pd = classOf[org.apache.hadoop.mapreduce.TaskID].getProtectionDomain
println("===="*)
val cs = pd.getCodeSource
System.out.println(cs.getLocation)
}
} ------------------------------
file:/C:/notos/software/spark/spark-2.1.-bin-hadoop2./jars/hadoop-mapreduce-client-core-2.6..jar