spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Umar Javed <umarj.ja...@gmail.com>
Subject problems with sbt
Date Mon, 11 Nov 2013 22:54:12 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message