public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> com.google.common.cache.LoadingCache<K,V> |
convertMapToLoadingCache(Map<K,V> in)
converts a map to a loading cache.
|
static void |
printSSHConnectionDetails(PrintStream out,
ClusterSpec clusterSpec,
Cluster cluster,
int maxPrint)
Prints ssh commands that can be used to login into the nodes
|
public static <K,V> com.google.common.cache.LoadingCache<K,V> convertMapToLoadingCache(Map<K,V> in)
public static void printSSHConnectionDetails(PrintStream out, ClusterSpec clusterSpec, Cluster cluster, int maxPrint)
out - clusterSpec - cluster - Copyright © 2010–2016 Cloudera. All rights reserved.