nullscript opened a new pull request, #18450: URL: https://github.com/apache/pulsar/pull/18450
### Motivation When I tried to build docker image by running `mvn package -Pdocker,-main -am -pl docker/pulsar-all -DskipTests`, after executing `RUN /pulsar/bin/install-pulsar-client.sh`, it shows urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.  and I get the response time from ping files.pythonhosted.org, the delay is not stable, sometimes 600ms, sometimes 64ms. When I failed this shell script by timeout, I changed the default timeout by adding `pip3 install --default-timeout=500 future`. So It's better to add a timeout threshold and annotations for pip3 install, it's friendly to beginners. ### Modifications Change default timeout for pip3 install Add annotations ### Verifying this change - [ ] Make sure that the change passes the CI checks. - [ ] ### Documentation - [ ] `doc` <!-- Your PR contains doc changes. Please attach the local preview screenshots (run `sh start.sh` at `pulsar/site2/website`) to your PR description, or else your PR might not get merged. --> - [ ] `doc-required` <!-- Your PR changes impact docs and you will update later --> - [x] `doc-not-needed` <!-- Your PR changes do not impact docs --> - [ ] `doc-complete` <!-- Docs have been already added --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
