getDatabasesByCluster

Syntax

getDatabasesByCluster(clusterName)

Details

Get all databases of the specified cluster. This function can only be executed by an administrator on the MoM (Master of Masters) cluster.

Parameters

clusterName is a STRING scalar indicating the name of the cluster.

Returns

A STRING vector.

Examples

getDatabasesByCluster("MoMSender")

// Output:  ["dfs://db2","dfs://db1"]