No i wont accept that :)
I can't believe i have wasted 3 hrs for a space!

Many thanks MIchael!

kr

On Thu, Aug 25, 2016 at 10:01 PM, Michael Gummelt <mgumm...@mesosphere.io>
wrote:

> You have a space between "build" and "mvn"
>
> On Thu, Aug 25, 2016 at 1:31 PM, Marco Mistroni <mmistr...@gmail.com>
> wrote:
>
>> HI all
>>  sorry for the partially off-topic, i hope there's someone on the list
>> who has tried the same and encountered similar issuse
>>
>> Ok so i have created a Docker file to build an ubuntu container which
>> inlcudes spark 2.0, but somehow when it gets to the point where it has to
>> kick off  ./build/mvn command, it errors out with the following
>>
>> ---> Running in 8c2aa6d59842
>> /bin/sh: 1: ./build: Permission denied
>> The command '/bin/sh -c ./build mvn -Pyarn -Phadoop-2.4
>> -Dhadoop.version=2.4.0 -DskipTests clean package' returned a non-zero code:
>> 126
>>
>> I am puzzled as i am root when i build the container, so i should not
>> encounter this issue (btw, if instead of running mvn from the build
>> directory  i use the mvn which i installed on the container, it works fine
>> but it's  painfully slow)
>>
>> here are the details of my Spark command( scala 2.10, java 1.7 , mvn
>> 3.3.9 and git have already been installed)
>>
>> # Spark
>> RUN echo "Installing Apache spark 2.0"
>> RUN git clone git://github.com/apache/spark.git
>> WORKDIR /spark
>> RUN ./build/mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=2.4.0 -DskipTests
>> clean package
>>
>>
>> Could anyone assist pls?
>>
>> kindest regarsd
>>  Marco
>>
>>
>
>
> --
> Michael Gummelt
> Software Engineer
> Mesosphere
>

Reply via email to