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: 

Ganglia not working with custom container services

jamesw
New Contributor II

Setup:

  • custom docker container starting from the "databricksruntime/gpu-conda:cuda11" base image layer
  • 10.4 LTS (includes Apache Spark 3.2.1, Scala 2.12)
  • multi-node, p3.8xlarge GPU compute

When I try to view Ganglia metrics I am met with "502 Bad Gateway":

image.pngEven after ~1hr of my compute cluster running there are no logs at all:

image 

As a sanity check I booted another compute without a custom docker container (using 11.3 LTS ML (includes Apache Spark 3.3.0, GPU, Scala 2.12)) and the Ganglia metrics work fine.

Are there any limitations with Ganglia metrics and custom docker containers?

Also when I am using the custom docker container, I am forced to use the standard runtime (10.4 LTS) as the Machine Learning runtimes do not support custom containers (see https://docs.databricks.com/clusters/custom-containers.html#requirements).

I am thinking this could be a source of the issue too. Does the ML runtime provide any needed libraries for Ganglia to work on GPU compute?

1 REPLY 1

Vivian_Wilfred
Databricks Employee
Databricks Employee

Hi @James W​ , Ganglia is not available for custom docker containers by default. This is a known limitation.

However, you can try this experimental support for ganglia in custom DCS:

https://github.com/databricks/containers/tree/master/experimental/ubuntu/ganglia

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