Do not copy local jars given to SparkContext in yarn mode since the Context is not running on local. This bug causes failure when jars can not be found. Example codes (such as spark.examples.SparkPi) can not work without this fix under yarn mode.
A better fix for giving local jars unde Yarn mode.
fix typo.
also exclude asm for hadoop2. hadoop1 looks like no need to do that too.
Merge pull request #717 from viirya/dev1

Do not copy local jars given to SparkContext in yarn mode