You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Riza Suminto (Jira)" <ji...@apache.org> on 2024/11/26 22:17:00 UTC

[jira] [Created] (IMPALA-13585) Make pip_download.py interruptible

Riza Suminto created IMPALA-13585:
-------------------------------------

             Summary: Make pip_download.py interruptible
                 Key: IMPALA-13585
                 URL: https://issues.apache.org/jira/browse/IMPALA-13585
             Project: IMPALA
          Issue Type: Improvement
          Components: Infrastructure
            Reporter: Riza Suminto


infra/python/deps/pip_download.py use multiprocessing.pool.ThreadPool where each thread calls wget. It is also wrap the download_package function with retry wrapper. When there is a network issue happen, pressing Ctrl+C does not immediately terminate pip_download.py and all its children. It should be possible to capture SIGINT and pass it as cancellation event to all threads.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org