[
https://issues.apache.org/jira/browse/IMPALA-11439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17572540#comment-17572540
]
ASF subversion and git services commented on IMPALA-11439:
----------------------------------------------------------
Commit bf4320e55d7e697098e36513e9c06d947d866b37 in impala's branch
refs/heads/master from yx91490
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=bf4320e55 ]
IMPALA-11439: Add option to control whether prepopulate m2 directory or not.
The bootstrap_system.sh will prepopulate the .m2 directory by
downloading a 800M+ m2_archive.tar.gz to speed up the following maven
packaging process, although it's not necessary. Meanwhile, due to
different network environment, the download speed of the archive file
is not necessarily fast.
There add an environment variable 'PREPOPULATE_M2_REPOSITORY' to control
whether to prepopulate the m2 directory or not, which is true by
default.
Testing:
- manually run './bin/bootstrap_system.sh' and expect to see the log
'>>> Populating m2 directory...' and 'Downloading m2 archive from ...',
and the terminal returned for a while.
- manually run 'PREPOPULATE_M2_REPOSITORY=true ./bin/bootstrap_system.sh'
and expect to see the log '>>> Populating m2 directory...' and
'Downloading m2 archive from ...', and the terminal returned for a while.
- manually run 'PREPOPULATE_M2_REPOSITORY=false ./bin/bootstrap_system.sh'
and expect to see the log ">>> Skip populating m2 directory", and
the terminal returned immediately.
Change-Id: Ie3ac55099f326e2abe2f7dc66c08ad7023cb6baf
Reviewed-on: http://gerrit.cloudera.org:8080/18740
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Joe McDonnell <[email protected]>
> Add an environment variable to control bootstrap_system.sh whether to
> prepopulate the m2 directory or not
> ----------------------------------------------------------------------------------------------------------
>
> Key: IMPALA-11439
> URL: https://issues.apache.org/jira/browse/IMPALA-11439
> Project: IMPALA
> Issue Type: Improvement
> Affects Versions: Impala 4.1.0
> Reporter: yx91490
> Assignee: yx91490
> Priority: Major
>
> Currently bootstrap_system.sh will prepopulate the .m2 directory by download
> a 800M+ archive file from jenkins.impala.io, this intended to speed up the
> maven package process, so it's not required. meanwhile, due to different
> network environment, the download speed of the archive file is not
> necessarily fast.
> I want to add an environment variable 'PREPOPULATE_M2_REPOSITORY' to control
> whether to prepopulate the m2 directory or not.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]