learning-spark
learning-spark copied to clipboard
sbt assembly - FileNotFoundException (Interrupted system call)
trying to do sbt assembly, it gets partway through and then gives a ton of FileNotFoundExceptions, with (Interrupted system call). This output show the first couple:
...
[info] Including: chill-java-0.5.0.jar
[info] Including: spark-cassandra-connector-java_2.10-1.0.0-rc5.jar
[info] Including: scopt_2.10-3.2.0.jar
scala.collection.parallel.CompositeThrowable: Multiple exceptions thrown during a parallel computation: java.io.FileNotFoundException: /Users/kcpaul/projects/learning-spark/target/streams/$global/assemblyOption/$global/streams/assembly/be9fe88db32697a9ad164c2f7c93714b1afaa465_2dc57d2 aeaf2dee095ca4149dbe0163f2d66a845.jarName (Interrupted system call)
java.io.FileInputStream.open(Native Method)
java.io.FileInputStream.<init>(FileInputStream.java:146)
sbt.Using$$anonfun$fileInputStream$1.apply(Using.scala:73)
sbt.Using$$anonfun$fileInputStream$1.apply(Using.scala:73)
sbt.Using$$anon$2.openImpl(Using.scala:65)
sbt.OpenFile$class.open(Using.scala:43)
sbt.Using$$anon$2.open(Using.scala:64)
sbt.Using$$anon$2.open(Using.scala:64)
sbt.Using.apply(Using.scala:23)
sbt.IO$.transfer(IO.scala:252)
.
.
.
java.io.FileNotFoundException: /Users/kcpaul/.ivy2/cache/org.json4s/json4s-core_2.10/jars/json4s-core_2.10-3.2.10.jar (Interrupted system call)
java.io.FileInputStream.open(Native Method)
java.io.FileInputStream.<init>(FileInputStream.java:146)
sbt.Using$$anonfun$fileInputStream$1.apply(Using.scala:73)
sbt.Using$$anonfun$fileInputStream$1.apply(Using.scala:73)
sbt.Using$$anon$2.openImpl(Using.scala:65)
sbt.OpenFile$class.open(Using.scala:43)
sbt.Using$$anon$2.open(Using.scala:64)
sbt.Using$$anon$2.open(Using.scala:64)
sbt.Using.apply(Using.scala:23)
sbtassembly.AssemblyUtils$.unzip(AssemblyUtils.scala:37)
.
.
.
java.io.FileNotFoundException: /Users/kcpaul/.sbt/boot/scala-2.10.4/lib/scala-reflect.jar (Interrupted system call)
java.io.FileInputStream.open(Native Method)
java.io.FileInputStream.<init>(FileInputStream.java:146)
sbt.Using$$anonfun$fileInputStream$1.apply(Using.scala:73)
sbt.Using$$anonfun$fileInputStream$1.apply(Using.scala:73)
sbt.Using$$anon$2.openImpl(Using.scala:65)
sbt.OpenFile$class.open(Using.scala:43)
sbt.Using$$anon$2.open(Using.scala:64)
sbt.Using$$anon$2.open(Using.scala:64)
sbt.Using.apply(Using.scala:23)
sbtassembly.AssemblyUtils$.unzip(AssemblyUtils.scala:37)
.
.
.
I found this where it says "this is caused by missing particular dependencies that may be excluded directly or indirectly in a build file. Just fix this and it is resolved."