cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Cluster logs missing

brickster_2018
Databricks Employee
Databricks Employee

On the Databricks cluster UI, when I click on the Driver logs, sometimes I see historic logs and sometimes I see logs for the last few hours. Why do we see this inconsistency

1 ACCEPTED SOLUTION

Accepted Solutions

brickster_2018
Databricks Employee
Databricks Employee

This is working per design! This is the expected behavior.

When the cluster is in terminated state, the logs are serviced by the Spark History server hosted on the Databricks control plane.

When the cluster is up and running the logs are serviced by the Spark Driver at that point in time.

Because of this architecture, when the cluster is in the terminated state you will see the logs for the last 30 days and when the cluster is up and running you will see the logs from the last restart/start of the cluster.

View solution in original post

1 REPLY 1

brickster_2018
Databricks Employee
Databricks Employee

This is working per design! This is the expected behavior.

When the cluster is in terminated state, the logs are serviced by the Spark History server hosted on the Databricks control plane.

When the cluster is up and running the logs are serviced by the Spark Driver at that point in time.

Because of this architecture, when the cluster is in the terminated state you will see the logs for the last 30 days and when the cluster is up and running you will see the logs from the last restart/start of the cluster.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group