Package org.apache.hadoop.yarn.util
@Public
package org.apache.hadoop.yarn.util
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-
ClassDescriptionA simple liveliness monitor with which clients can register, trust the component to monitor liveliness, get a call-back on expiry and then finally unregister.Deprecated.YARN internal application-related utilitiesGeneric interface that can be used for calling back when a corresponding asynchronous operation completes.A
CharSequenceappender that considers itsBoundedAppender.limitas upper bound.CacheNode<V>A simple clock interface that gives you time.This class contains a set of utilities which help converting data structures from/to 'serializableFormat' to/from hadoop/nativejava data structures.Commonly needed actions for handling the Docker client configurations.Download a single URL to the local disk.Plugin to calculate resource information on Linux systems.LRUCache<K,V> LRUCacheHashMap<K,V> LRU cache with a configurable maximum cache size and access order.A monotonic clock from some arbitrary time base in the past, counting in milliseconds, and not affected by settimeofday or similar system clock changes.A Proc file-system based ProcessTree.Plugin to calculate resource information on the system.Interface class to obtain process resource usage NOTE: This class should not be used by external users, but only by external developers to extend and include their own process-tree implementation, especially for platforms other than Linux and Windows.Common string manipulation helpersImplementation ofClockthat gives the current time from the system clock in milliseconds.Plugin to derive a tracking URL from a YARN Application IDImplementation ofClockthat gives the current UTC time in milliseconds.This class finds the package info for Yarn.