liuxunorg commented on a change in pull request #60: SUBMARINE-256. Interpreter support cluster mode URL: https://github.com/apache/hadoop-submarine/pull/60#discussion_r337409398
########## File path: submarine-commons/commons-cluster/src/main/java/org/apache/submarine/commons/cluster/ClusterClient.java ########## @@ -25,23 +25,23 @@ /** * Cluster management client class instantiated in submarine-interperter */ -public class ClusterManagerClient extends ClusterManager { - private static Logger LOG = LoggerFactory.getLogger(ClusterManagerClient.class); +public class ClusterClient extends ClusterManager { + private static Logger LOG = LoggerFactory.getLogger(ClusterClient.class); - private static ClusterManagerClient instance = null; + private static ClusterClient instance = null; // Do not use the getInstance function in the test case, // which will result in an inability to update the instance according to the configuration. - public static ClusterManagerClient getInstance() { - synchronized (ClusterManagerClient.class) { + public static ClusterClient getInstance() { + synchronized (ClusterClient.class) { Review comment: Done. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services