spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Ballet <gbal...@gmail.com>
Subject Re: build spark assign version number myself?
Date Tue, 01 Jul 2014 08:35:46 GMT
You can specify a custom name with the --name option. It will still contain
1.1.0-SNAPSHOT, but at least you can specify your company name.

If you want to replace SNAPSHOT with your company name, you will have to
edit make-distribution.sh and replace the following line:

VERSION=$(mvn help:evaluate -Dexpression=project.version 2>/dev/null | grep
-v "INFO" | tail -n 1)

with something like

COMPANYNAME="SoullessMegaCorp"
VERSION=$(mvn help:evaluate -Dexpression=project.version 2>/dev/null | grep
-v "INFO" | tail -n 1 | sed -e 's/SNAPSHOT/$COMPANYNAME')

and so on for other packages that use their own version scheme.




On Tue, Jul 1, 2014 at 9:21 AM, majian <majian@nq.com> wrote:

>   Hi,all:
>
>  I'm working to compile spark by executing './make-distribution.sh --hadoop
> 0.20.205.0 --tgz  ',
>  after the completion of the compilation I found  that the default version number is
"1.1.0-SNAPSHOT"
>  i.e. spark-1.1.0-SNAPSHOT-bin-0.20.205.tgz,
>  who know how to assign version number myself ,
> for example spark-1.1.0-company-bin-0.20.205.tgz  .
>
>
> Thanks,
> majian
>
>

Mime
View raw message