Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LIVY-322. Catch JsonParseExceptions in PythonInterpreter on rawtext response from fake_shell. #304

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 7, 2017

  1. LIVY-322 - subprocess.call() commands in a PySpark snippet can potent…

    …ially insert raw text into the sys_stdout in the fake_shell main(). This will then fail to be correctly parsed by PythonInterpreter in the sendRequest, as it will trigger a JsonParseException that is not caught. Added code to catch the JsonParseException and then retry reads of stdout until a valid line of JSON is reached, or 100 retries have been attempted.
    Rick Bernotas committed Mar 7, 2017
    Configuration menu
    Copy the full SHA
    1796ccb View commit details
    Browse the repository at this point in the history