Example usage for org.apache.hadoop.yarn.util AuxiliaryServiceHelper getServiceDataFromEnv

List of usage examples for org.apache.hadoop.yarn.util AuxiliaryServiceHelper getServiceDataFromEnv

Introduction

In this page you can find the example usage for org.apache.hadoop.yarn.util AuxiliaryServiceHelper getServiceDataFromEnv.

Prototype

public static ByteBuffer getServiceDataFromEnv(String serviceName, Map<String, String> env) 

Source Link

Usage

From source file:org.apache.tez.runtime.api.impl.TezTaskContextImpl.java

License:Apache License

@Nullable
@Override/*from  w  ww .j av a2 s  . co m*/
public ByteBuffer getServiceProviderMetaData(String serviceName) {
    Preconditions.checkNotNull(serviceName, "serviceName is null");
    return AuxiliaryServiceHelper.getServiceDataFromEnv(serviceName, auxServiceEnv);
}