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)

Reply via email to