You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Stefan Avesand (Jira)" <ji...@apache.org> on 2020/09/03 00:56:00 UTC

[jira] [Created] (LIVY-790) Corrupted Livy session when using fbprophet

Stefan Avesand created LIVY-790:
-----------------------------------

             Summary: Corrupted Livy session when using fbprophet
                 Key: LIVY-790
                 URL: https://issues.apache.org/jira/browse/LIVY-790
             Project: Livy
          Issue Type: Bug
    Affects Versions: 0.7.0
         Environment: Using Livy on Google Dataproc from Jupyter with sparkmagic
            Reporter: Stefan Avesand


When executing fbprophet the Livy session gets corrupted and stops working properly.

Code to reproduce:

{{import io, pandas as pd, fbprophet}}{{csv = io.StringIO('''}}
{{ds,y}}
{{2019-02-26,121}}
{{2019-02-27,119}}
{{2019-02-28,118}}
{{2019-03-01,119}}
{{2019-03-02,118}}
{{2019-03-03,117}}
{{2019-03-04,116}}
{{2019-03-05,118}}
{{2019-03-06,122}}
{{2019-03-07,124}}
{{''')}}{{df = pd.read_csv(csv)}}
{{m = fbprophet.Prophet()}}
{{m.fit(df)}}

This issue seems to concern all cases when stdout is written to outside of native Python, e.g. by running a subprocess:

{{import subprocess}}
{{subprocess.run(["pip", "install", "pyyaml"])}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)