Configuring Indefinite Sessions for Livy

To support long-running, interactive sessions that do not time out, you can disable the Livy session timeout check. This is particularly useful when replacing the Spark Thrift Server functionality.

  • You must have the Livy service configured in your Cloudera Manager environment.

  1. In Cloudera Manager, navigate to the Clusters page.
  2. Select your cluster and click on the Livy service.
  3. Go to the Configuration tab.
  4. In the Search field, enter the livy.server.session.timeout-check string to find the configuration property.
  5. Set the property to false.
  6. Save the changes and restart the Livy service.