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

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

Introduction

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

Prototype

@Override
public void init(Configuration conf) 

Source Link

Document

This invokes #serviceInit

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);
    rm.start();/* w w w .  j  a  v  a2s  . c o m*/

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