You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Umar Javed <um...@gmail.com> on 2013/10/18 00:07:19 UTC

building spark

Hi,

I'm trying to build spark.0.8.0 uisng 'sbt assembly'. But the build is not
successful and I get this at the end:

[info] SHA-1: 461c20e8753b438e9d5df194de3d9f77ea2ea918
[info] Packaging
/proj/UW-PCP/spark-0.8.0-incubating/examples/target/scala-2.9.3/spark-examples-assembly-0.8.0-incubating.jar
...
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)
      ........................
      ......................
[error] (assembly/*:assembly) java.io.IOException: Permission denied
[error] (examples/*:assembly) java.io.IOException: Permission denied
[error] Total time: 446 s, completed Oct 17, 2013 3:46:22 PM

What's going on here?

thanks!

Re: building spark

Posted by dachuan <hd...@gmail.com>.
try spark-0.8.0-incubating/ folder first. My guess.


On Thu, Oct 17, 2013 at 6:17 PM, Umar Javed <um...@gmail.com> wrote:

> But I don't know what folder to apply chmod to. How do I know that?
>
>
> On Thu, Oct 17, 2013 at 3:13 PM, dachuan <hd...@gmail.com> wrote:
>
>> Permission denied, and it happened in OutputStream, so I assume you don't
>> have write permission on local file system, or at least in some folder. how
>> about trying chmod cmd.
>>
>>
>> On Thu, Oct 17, 2013 at 6:07 PM, Umar Javed <um...@gmail.com>wrote:
>>
>>> Hi,
>>>
>>> I'm trying to build spark.0.8.0 uisng 'sbt assembly'. But the build is
>>> not successful and I get this at the end:
>>>
>>> [info] SHA-1: 461c20e8753b438e9d5df194de3d9f77ea2ea918
>>> [info] Packaging
>>> /proj/UW-PCP/spark-0.8.0-incubating/examples/target/scala-2.9.3/spark-examples-assembly-0.8.0-incubating.jar
>>> ...
>>> 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)
>>>       ........................
>>>       ......................
>>> [error] (assembly/*:assembly) java.io.IOException: Permission denied
>>> [error] (examples/*:assembly) java.io.IOException: Permission denied
>>> [error] Total time: 446 s, completed Oct 17, 2013 3:46:22 PM
>>>
>>> What's going on here?
>>>
>>> thanks!
>>>
>>
>>
>>
>> --
>> Dachuan Huang
>> Cellphone: 614-390-7234
>> 2015 Neil Avenue
>> Ohio State University
>> Columbus, Ohio
>> U.S.A.
>> 43210
>>
>
>


-- 
Dachuan Huang
Cellphone: 614-390-7234
2015 Neil Avenue
Ohio State University
Columbus, Ohio
U.S.A.
43210

Re: building spark

Posted by Umar Javed <um...@gmail.com>.
But I don't know what folder to apply chmod to. How do I know that?


On Thu, Oct 17, 2013 at 3:13 PM, dachuan <hd...@gmail.com> wrote:

> Permission denied, and it happened in OutputStream, so I assume you don't
> have write permission on local file system, or at least in some folder. how
> about trying chmod cmd.
>
>
> On Thu, Oct 17, 2013 at 6:07 PM, Umar Javed <um...@gmail.com> wrote:
>
>> Hi,
>>
>> I'm trying to build spark.0.8.0 uisng 'sbt assembly'. But the build is
>> not successful and I get this at the end:
>>
>> [info] SHA-1: 461c20e8753b438e9d5df194de3d9f77ea2ea918
>> [info] Packaging
>> /proj/UW-PCP/spark-0.8.0-incubating/examples/target/scala-2.9.3/spark-examples-assembly-0.8.0-incubating.jar
>> ...
>> 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)
>>       ........................
>>       ......................
>> [error] (assembly/*:assembly) java.io.IOException: Permission denied
>> [error] (examples/*:assembly) java.io.IOException: Permission denied
>> [error] Total time: 446 s, completed Oct 17, 2013 3:46:22 PM
>>
>> What's going on here?
>>
>> thanks!
>>
>
>
>
> --
> Dachuan Huang
> Cellphone: 614-390-7234
> 2015 Neil Avenue
> Ohio State University
> Columbus, Ohio
> U.S.A.
> 43210
>

Re: building spark

Posted by dachuan <hd...@gmail.com>.
Permission denied, and it happened in OutputStream, so I assume you don't
have write permission on local file system, or at least in some folder. how
about trying chmod cmd.


On Thu, Oct 17, 2013 at 6:07 PM, Umar Javed <um...@gmail.com> wrote:

> Hi,
>
> I'm trying to build spark.0.8.0 uisng 'sbt assembly'. But the build is not
> successful and I get this at the end:
>
> [info] SHA-1: 461c20e8753b438e9d5df194de3d9f77ea2ea918
> [info] Packaging
> /proj/UW-PCP/spark-0.8.0-incubating/examples/target/scala-2.9.3/spark-examples-assembly-0.8.0-incubating.jar
> ...
> 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)
>       ........................
>       ......................
> [error] (assembly/*:assembly) java.io.IOException: Permission denied
> [error] (examples/*:assembly) java.io.IOException: Permission denied
> [error] Total time: 446 s, completed Oct 17, 2013 3:46:22 PM
>
> What's going on here?
>
> thanks!
>



-- 
Dachuan Huang
Cellphone: 614-390-7234
2015 Neil Avenue
Ohio State University
Columbus, Ohio
U.S.A.
43210