Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sbt assembly - FileNotFoundException (Interrupted system call) #5

Open
kevinpauli opened this issue Aug 10, 2015 · 1 comment
Open

Comments

@kevinpauli
Copy link

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."

@kevinmeredith
Copy link

hey @kevinpauli - did you make any progress on this issue? I ran into just now, but am stuck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants