Forum Discussion

kamal2's avatar
kamal2
New Member
3 days ago

SessionStateError

 

Hi all,

During the pipeline run on Sunday, the notebook failed with the following error:

SessionStateError: Livy session has failed. Session state: Dead. Session yields "Uncertain" result.
The same pipeline completed successfully on Monday without any manual changes or rerun.

What typically causes a Livy session to enter the Dead state?

Since Monday's run completed successfully, can we confirm that the failed Sunday load was automatically recovered?

How to overcome this issue? please guide me i want a solution 

2 Replies

  • Hi kamal2​,

    This could have been a temporary service blip from Microsoft's side. There's been a handful of issues recently. 
    You can check if there are any current outages here:

    https://support.fabric.microsoft.com/support/

    As for recovery, that depends on your notebook. Is it coded in an idempotent way that will look back for gaps in data and re-load them? If yes, then it would have recovered. If no, then you may have gaps in your data that need to be dealt with. 

     

  • ipkus's avatar
    ipkus
    Frequent Visitor

    One of two things, either the Microsoft service had a temporary issue, in that case re-running should fix the issue.

    Or the below setting is enabled, in your workspace spark settings