Hi Francis, This might be a long shot, but do you happen to have built spark on an encrypted home dir?
(I was running into the same error when I was doing that. Rebuilding on an unencrypted disk fixed the issue. This is a known issue / limitation with ecryptfs. It's weird that the build doesn't fail, but you do get warnings about the long file names.) On Wed, Apr 2, 2014 at 3:26 AM, Francis.Hu <francis...@reachjunction.com> wrote: > I stuck in a NoClassDefFoundError. Any helps that would be appreciated. > > I download spark 0.9.0 source, and then run this command to build it : > SPARK_HADOOP_VERSION=2.2.0 SPARK_YARN=true sbt/sbt assembly > > java.lang.NoClassDefFoundError: > scala/tools/nsc/transform/UnCurry$UnCurryTransformer$$anonfun$14$$anonfun$apply$5$$anonfun$scala$tools$nsc$transform$UnCurry$UnCurryTransformer$$anonfun$$anonfun$$transformInConstructor$1$1 -- Marcelo