Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-1264

[Plasma] Don't exit the Python interpreter if the plasma client can't connect to the store

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6.0
    • Component/s: Python
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              wesmckinn Wes McKinney
              Reporter:
              pcmoritz Philipp Moritz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: