getDatabasesByCluster

Syntax

getDatabasesByCluster(clusterName)

Arguments

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

Details

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

Return value: A STRING vector.

Examples

getDatabasesByCluster("MoMSender")

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