You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Philipp Moritz (JIRA)" <ji...@apache.org> on 2017/07/25 07:29:00 UTC

[jira] [Created] (ARROW-1264) [Plasma] Don't exit the Python interpreter if the plasma client can't connect to the store

Philipp Moritz created ARROW-1264:
-------------------------------------

             Summary: [Plasma] Don't exit the Python interpreter if the plasma client can't connect to the store
                 Key: ARROW-1264
                 URL: https://issues.apache.org/jira/browse/ARROW-1264
             Project: Apache Arrow
          Issue Type: Improvement
            Reporter: Philipp Moritz
             Fix For: 0.6.0


At the moment if the Python PlasmaClient cannot connect to the store after a certain number of retries, the Python interpreter is terminated with ARROW_LOG(FATAL), see:

https://github.com/apache/arrow/blob/master/cpp/src/plasma/io.cc#L167

Instead we should raise an exception in Python.

This has for example caused problems in pytest, because pytest surpresses output and displays it at the end of the test run; if the interpreter is killed in the above manner, the output is never shown.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)