spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matei Zaharia <matei.zaha...@gmail.com>
Subject Re: problems with sbt
Date Wed, 13 Nov 2013 03:32:22 GMT
It’s hard to tell, but maybe you’ve run out of space in your working directory? The assembly
command will try to write stuff in assembly/target.

Matei

On Nov 11, 2013, at 2:54 PM, Umar Javed <umarj.javed@gmail.com> wrote:

> I keep getting these io.Exception Permission denied errors when building with sbt assembly:
> 
> java.io.IOException: Permission denied
>         at java.io.FileOutputStream.close0(Native Method)
>         at java.io.FileOutputStream.close(FileOutputStream.java:393)
>         at java.io.FilterOutputStream.close(FilterOutputStream.java:160)
>         at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:241)
>         at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:360)
>         at sbt.IO$$anonfun$withZipOutput$1.apply(IO.scala:497)
>         at sbt.IO$$anonfun$withZipOutput$1.apply(IO.scala:482)
>         at sbt.Using.apply(Using.scala:25)
>         at sbt.IO$.withZipOutput(IO.scala:482)
>         at sbt.IO$.archive(IO.scala:401)
>         at sbt.IO$.jar(IO.scala:384)
>         at sbt.Package$.makeJar(Package.scala:107)
>         at sbt.Package$$anonfun$3$$anonfun$apply$3.apply(Package.scala:72)
>         at sbt.Package$$anonfun$3$$anonfun$apply$3.apply(Package.scala:70)
>         at sbt.Tracked$$anonfun$outputChanged$1.apply(Tracked.scala:57)
>         at sbt.Tracked$$anonfun$outputChanged$1.apply(Tracked.scala:52)
>         at sbt.Package$.apply(Package.scala:80)
>         at sbtassembly.Plugin$Assembly$.makeJar$1(Plugin.scala:174)
>         at sbtassembly.Plugin$Assembly$$anonfun$4$$anonfun$apply$3.apply(Plugin.scala:181)
>         at sbtassembly.Plugin$Assembly$$anonfun$4$$anonfun$apply$3.apply(Plugin.scala:177)
>         at sbt.Tracked$$anonfun$outputChanged$1.apply(Tracked.scala:57)
>         at sbt.Tracked$$anonfun$outputChanged$1.apply(Tracked.scala:52)
>         at sbtassembly.Plugin$Assembly$.apply(Plugin.scala:189)
>         at sbtassembly.Plugin$.sbtassembly$Plugin$$assemblyTask(Plugin.scala:157)
>         at sbtassembly.Plugin$$anonfun$baseAssemblySettings$6.apply(Plugin.scala:369)
>         at sbtassembly.Plugin$$anonfun$baseAssemblySettings$6.apply(Plugin.scala:368)
>         at sbt.Scoped$$anonfun$hf10$1.apply(Structure.scala:586)
>         at sbt.Scoped$$anonfun$hf10$1.apply(Structure.scala:586)
>         at scala.Function1$$anonfun$compose$1.apply(Function1.scala:49)
>         at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
>         at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
>         at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:41)
>         at sbt.std.Transform$$anon$5.work(System.scala:71)
>         at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
>         at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
>         at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
>         at sbt.Execute.work(Execute.scala:238)
>         at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
>         at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
>         at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
>         at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:744)
> [error] (assembly/*:assembly) java.io.IOException: Permission denied
> 
> Can somebody help me out?
> thanks,
> Umar
> 


Mime
View raw message