Example usage for org.apache.hadoop.yarn.server.resourcemanager ResourceManager start

List of usage examples for org.apache.hadoop.yarn.server.resourcemanager ResourceManager start

Introduction

In this page you can find the example usage for org.apache.hadoop.yarn.server.resourcemanager ResourceManager start.

Prototype

@Override
public void start() 

Source Link

Usage

From source file:io.hops.metadata.util.DistributedRTRMEvaluation.java

License:Apache License

public void start() throws InterruptedException {
    ResourceManager rm = new ResourceManager();
    rm.init(conf);//from   w  w  w . j a  v  a2 s .  com
    rm.start();

    while (true) {
        Thread.sleep(100);
    }
}