GitHub user baunz opened a pull request:
https://github.com/apache/zeppelin/pull/3173
[ZEPPELIN-3772] Allow definition of http proxy for default interpreter
repository
### What is this PR for?
When running zeppelin behind a firewall the default maven central _without_
proxy is always checked first, which makes dependency downloading unusable -
for every pom, jar the timeout of the request against maven central adds up to
the total time of downloading the dependencies, even if a repository with proxy
is added (made possible in ZEPPELIN-1376)
This commit adds additional properties / environment variables that set the
proxy on the default repository
### What type of PR is it?
Improvement
### Todos
* [ ] - Is the modification of
org.apache.zeppelin.conf.ZeppelinConfiguration really necessary? The properties
are never referenced anywhere and not used in Booter
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-3772
### How should this be tested?
* In a proxy environment
### Questions:
* Does the licenses files need update?
no
* Is there breaking changes for older versions?
no
* Does this needs documentation?
Currently the default repository is not documented somewhere. Maybe this
should be changed? Besides this, the environment template and site file have
comments
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/baunz/zeppelin
ZEPPELIN-3772-Allow-Proxy-For-Default-Interpreter-Repository
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/3173.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3173
----
commit f848f68bbeaa8cb940ed93d899fcfcb7497839f6
Author: Schulte, Johannes <johannes.schulte@...>
Date: 2018-09-09T19:59:38Z
Allow definition of http proxy for default interpreter repository
----
---