diff --git hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/reader/TimelineDataToRetrieve.java hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/reader/TimelineDataToRetrieve.java
index 325050a..58dbdba 100644
--- hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/reader/TimelineDataToRetrieve.java
+++ hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/reader/TimelineDataToRetrieve.java
@@ -23,7 +23,6 @@
import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.classification.InterfaceStability.Unstable;
import org.apache.hadoop.yarn.server.timelineservice.reader.filter.TimelineFilterList;
-import org.apache.hadoop.yarn.server.timelineservice.reader.filter.TimelinePrefixFilter;
import org.apache.hadoop.yarn.server.timelineservice.storage.TimelineReader.Field;
/**
@@ -33,7 +32,8 @@
*
* - confsToRetrieve - Used for deciding which configs to return
* in response. This is represented as a {@link TimelineFilterList} object
- * containing {@link TimelinePrefixFilter} objects. These can either be
+ * containing {@link org.apache.hadoop.yarn.server.timelineservice.reader
+ * .filter.TimelinePrefixFilter} objects. These can either be
* exact config keys' or prefixes which are then compared against config
* keys' to decide configs(inside entities) to return in response. If null
* or empty, all configurations will be fetched if fieldsToRetrieve
@@ -42,7 +42,8 @@
* return instead.
* - metricsToRetrieve - Used for deciding which metrics to return
* in response. This is represented as a {@link TimelineFilterList} object
- * containing {@link TimelinePrefixFilter} objects. These can either be
+ * containing {@link org.apache.hadoop.yarn.server.timelineservice.reader
+ * .filter.TimelinePrefixFilter} objects. These can either be
* exact metric ids' or prefixes which are then compared against metric
* ids' to decide metrics(inside entities) to return in response. If null
* or empty, all metrics will be fetched if fieldsToRetrieve contains
diff --git hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/reader/TimelineEntityFilters.java hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/reader/TimelineEntityFilters.java
index 8f2b725..5c9cca6 100644
--- hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/reader/TimelineEntityFilters.java
+++ hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/reader/TimelineEntityFilters.java
@@ -20,12 +20,7 @@
import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.classification.InterfaceStability.Unstable;
-import org.apache.hadoop.yarn.server.timelineservice.reader.filter.TimelineCompareFilter;
-import org.apache.hadoop.yarn.server.timelineservice.reader.filter.TimelineCompareOp;
-import org.apache.hadoop.yarn.server.timelineservice.reader.filter.TimelineKeyValueFilter;
-import org.apache.hadoop.yarn.server.timelineservice.reader.filter.TimelineExistsFilter;
import org.apache.hadoop.yarn.server.timelineservice.reader.filter.TimelineFilterList;
-import org.apache.hadoop.yarn.server.timelineservice.reader.filter.TimelineKeyValuesFilter;
/**
* Encapsulates information regarding the filters to apply while querying. These
@@ -44,28 +39,33 @@
* entities depending on what's specified in the filter. The entities in
* relatesTo are identified by entity type and id. This is represented as
* a {@link TimelineFilterList} object containing
- * {@link TimelineKeyValuesFilter} objects, each of which contains a
+ * {@link org.apache.hadoop.yarn.server.timelineservice.reader.filter
+ * .TimelineKeyValuesFilter} objects, each of which contains a
* set of values for a key and the comparison operator (equals/not equals). The
* key which represents the entity type is a string and values are a set of
* entity identifiers (also string). As it is a filter list, relatesTo can be
* evaluated with logical AND/OR and we can create a hierarchy of these
- * {@link TimelineKeyValuesFilter} objects. If null or empty, the relations are
+ * {@link org.apache.hadoop.yarn.server.timelineservice.reader.filter
+ * .TimelineKeyValuesFilter} objects. If null or empty, the relations are
* not matched.
* - isRelatedTo - Matched entities should or should not be related
* to given entities depending on what's specified in the filter. The entities
* in isRelatedTo are identified by entity type and id. This is represented as
* a {@link TimelineFilterList} object containing
- * {@link TimelineKeyValuesFilter} objects, each of which contains a
+ * {@link org.apache.hadoop.yarn.server.timelineservice.reader.filter
+ * .TimelineKeyValuesFilter} objects, each of which contains a
* set of values for a key and the comparison operator (equals/not equals). The
* key which represents the entity type is a string and values are a set of
* entity identifiers (also string). As it is a filter list, relatesTo can be
* evaluated with logical AND/OR and we can create a hierarchy of these
- * {@link TimelineKeyValuesFilter} objects. If null or empty, the relations are
+ * {@link org.apache.hadoop.yarn.server.timelineservice.reader.filter
+ * .TimelineKeyValuesFilter} objects. If null or empty, the relations are
* not matched.
* - infoFilters - Matched entities should have exact matches to
* the given info and should be either equal or not equal to given value
* depending on what's specified in the filter. This is represented as a
- * {@link TimelineFilterList} object containing {@link TimelineKeyValueFilter}
+ * {@link TimelineFilterList} object containing {@link org.apache.hadoop.yarn
+ * .server.timelineservice.reader.filter.TimelineKeyValueFilter}
* objects, each of which contains key-value pairs with a comparison operator
* (equals/not equals). The key which represents the info key is a string but
* value can be any object. As it is a filter list, info filters can be
@@ -74,30 +74,37 @@
*
- configFilters - Matched entities should have exact matches to
* the given configurations and should be either equal or not equal to given
* value depending on what's specified in the filter. This is represented as a
- * {@link TimelineFilterList} object containing {@link TimelineKeyValueFilter}
+ * {@link TimelineFilterList} object containing {@link org.apache.hadoop.yarn
+ * .server.timelineservice.reader.filter.TimelineKeyValueFilter}
* objects, each of which contains key-value pairs with a comparison operator
* (equals/not equals). Both key (which represents config name) and value (which
* is config value) are strings. As it is a filter list, config filters can be
* evaluated with logical AND/OR and we can create a hierarchy of these
- * {@link TimelineKeyValueFilter} objects. If null or empty, the filter is not
+ * {@link org.apache.hadoop.yarn.server.timelineservice.reader.filter
+ * .TimelineKeyValueFilter} objects. If null or empty, the filter is not
* applied.
* - metricFilters - Matched entities should contain the given
* metrics and satisfy the specified relation with the value. This is
* represented as a {@link TimelineFilterList} object containing
- * {@link TimelineCompareFilter} objects, each of which contains key-value pairs
+ * {@link org.apache.hadoop.yarn.server.timelineservice.reader.filter
+ * .TimelineCompareFilter} objects, each of which contains key-value pairs
* along with the specified relational/comparison operator represented by
- * {@link TimelineCompareOp}. The key is a string and value is integer
+ * {@link org.apache.hadoop.yarn.server.timelineservice.reader.filter
+ * .TimelineCompareOp}. The key is a string and value is integer
* (Short/Integer/Long). As it is a filter list, metric filters can be evaluated
* with logical AND/OR and we can create a hierarchy of these
- * {@link TimelineCompareFilter} objects. If null or empty, the filter is not
+ * {@link org.apache.hadoop.yarn.server.timelineservice.reader.filter
+ * .TimelineCompareFilter} objects. If null or empty, the filter is not
* applied.
* - eventFilters - Matched entities should contain or not contain the
* given events. This is represented as a {@link TimelineFilterList} object
- * containing {@link TimelineExistsFilter} objects, each of which contains a
+ * containing {@link org.apache.hadoop.yarn.server.timelineservice.reader.filter
+ * .TimelineExistsFilter} objects, each of which contains a
* value which must or must not exist depending on comparison operator specified
* in the filter. For event filters, the value represents a event id. As it is a
* filter list, event filters can be evaluated with logical AND/OR and we can
- * create a hierarchy of these {@link TimelineExistsFilter} objects. If null or
+ * create a hierarchy of these {@link org.apache.hadoop.yarn.server
+ * .timelineservice.reader.filter.TimelineExistsFilter} objects. If null or
* empty, the filter is not applied.
*
*/
diff --git hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/reader/TimelineReaderWebServices.java hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/reader/TimelineReaderWebServices.java
index fcab78c..1a8131c 100644
--- hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/reader/TimelineReaderWebServices.java
+++ hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/reader/TimelineReaderWebServices.java
@@ -49,7 +49,6 @@
import org.apache.hadoop.yarn.api.records.timeline.TimelineAbout;
import org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity;
import org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntityType;
-import org.apache.hadoop.yarn.server.timelineservice.storage.TimelineReader.Field;
import org.apache.hadoop.yarn.util.timeline.TimelineUtils;
import org.apache.hadoop.yarn.webapp.BadRequestException;
import org.apache.hadoop.yarn.webapp.NotFoundException;
@@ -254,9 +253,10 @@ public TimelineAbout about(
* irrespective of whether metrics are specified in fields to retrieve or
* not.
* @param fields Specifies which fields of the entity object to retrieve, see
- * {@link Field}. All fields will be retrieved if fields=ALL. If not
- * specified, 3 fields i.e. entity type, id and created time is returned
- * (Optional query param).
+ * {@link org.apache.hadoop.yarn.server.timelineservice.storage
+ * .TimelineReader.Field}. All fields will be retrieved if fields=ALL.
+ * If not specified, 3 fields i.e. entity type, id and created time is
+ * returned (Optional query param).
* @param metricsLimit If specified, defines the number of metrics to return.
* Considered only if fields contains METRICS/ALL or metricsToRetrieve is
* specified. Ignored otherwise. The maximum possible value for
@@ -390,9 +390,10 @@ public TimelineAbout about(
* irrespective of whether metrics are specified in fields to retrieve or
* not.
* @param fields Specifies which fields of the entity object to retrieve, see
- * {@link Field}. All fields will be retrieved if fields=ALL. If not
- * specified, 3 fields i.e. entity type, id, created time is returned
- * (Optional query param).
+ * {@link org.apache.hadoop.yarn.server.timelineservice.storage
+ * .TimelineReader.Field}. All fields will be retrieved if fields=ALL.
+ * If not specified, 3 fields i.e. entity type, id, created time is
+ * returned (Optional query param).
* @param metricsLimit If specified, defines the number of metrics to return.
* Considered only if fields contains METRICS/ALL or metricsToRetrieve is
* specified. Ignored otherwise. The maximum possible value for
@@ -500,9 +501,10 @@ public TimelineAbout about(
* irrespective of whether metrics are specified in fields to retrieve or
* not.
* @param fields Specifies which fields of the entity object to retrieve, see
- * {@link Field}. All fields will be retrieved if fields=ALL. If not
- * specified, 3 fields i.e. entity type, id, created time is returned
- * (Optional query param).
+ * {@link org.apache.hadoop.yarn.server.timelineservice.storage
+ * .TimelineReader.Field}. All fields will be retrieved if fields=ALL.
+ * If not specified, 3 fields i.e. entity type, id, created time is
+ * returned (Optional query param).
* @param metricsLimit If specified, defines the number of metrics to return.
* Considered only if fields contains METRICS/ALL or metricsToRetrieve is
* specified. Ignored otherwise. The maximum possible value for
@@ -598,9 +600,10 @@ public TimelineAbout about(
* irrespective of whether metrics are specified in fields to retrieve or
* not.
* @param fields Specifies which fields of the entity object to retrieve, see
- * {@link Field}. All fields will be retrieved if fields=ALL. If not
- * specified, 3 fields i.e. entity type, id, created time is returned
- * (Optional query param).
+ * {@link org.apache.hadoop.yarn.server.timelineservice.storage
+ * .TimelineReader.Field}. All fields will be retrieved if fields=ALL.
+ * If not specified, 3 fields i.e. entity type, id, created time is
+ * returned (Optional query param).
* @param metricsLimit If specified, defines the number of metrics to return.
* Considered only if fields contains METRICS/ALL or metricsToRetrieve is
* specified. Ignored otherwise. The maximum possible value for
@@ -693,9 +696,10 @@ public TimelineEntity getEntity(
* irrespective of whether metrics are specified in fields to retrieve or
* not.
* @param fields Specifies which fields of the entity object to retrieve, see
- * {@link Field}. All fields will be retrieved if fields=ALL. If not
- * specified, 3 fields i.e. entity type, id, created time is returned
- * (Optional query param).
+ * {@link org.apache.hadoop.yarn.server.timelineservice.storage
+ * .TimelineReader.Field}. All fields will be retrieved if fields=ALL.
+ * If not specified, 3 fields i.e. entity type, id, created time is
+ * returned (Optional query param).
* @param metricsLimit If specified, defines the number of metrics to return.
* Considered only if fields contains METRICS/ALL or metricsToRetrieve is
* specified. Ignored otherwise. The maximum possible value for
@@ -764,9 +768,10 @@ public TimelineEntity getEntity(
* irrespective of whether metrics are specified in fields to retrieve or
* not.
* @param fields Specifies which fields of the entity object to retrieve, see
- * {@link Field}. All fields will be retrieved if fields=ALL. If not
- * specified, 3 fields i.e. entity type, id and created time is returned
- * (Optional query param).
+ * {@link org.apache.hadoop.yarn.server.timelineservice.storage
+ * .TimelineReader.Field}. All fields will be retrieved if fields=ALL.
+ * If not specified, 3 fields i.e. entity type, id and created time is
+ * returned (Optional query param).
* @param metricsLimit If specified, defines the number of metrics to return.
* Considered only if fields contains METRICS/ALL or metricsToRetrieve is
* specified. Ignored otherwise. The maximum possible value for
@@ -1033,9 +1038,10 @@ public TimelineEntity getFlowRun(
* and send back in response. These metrics will be retrieved
* irrespective of whether metrics are specified in fields to retrieve or
* not.
- * @param fields Specifies which fields to retrieve, see {@link Field}. All
- * fields will be retrieved if fields=ALL. Amongst all the fields, only
- * METRICS makes sense for flow runs hence only ALL or METRICS are
+ * @param fields Specifies which fields to retrieve, see {@link org.apache
+ * .hadoop.yarn.server.timelineservice.storage.TimelineReader.Field}.
+ * All fields will be retrieved if fields=ALL. Amongst all the fields,
+ * only METRICS makes sense for flow runs hence only ALL or METRICS are
* supported as fields for fetching flow runs. Other fields will lead to
* HTTP 400 (Bad Request) response. (Optional query param).
*
@@ -1118,9 +1124,10 @@ public TimelineEntity getFlowRun(
* and send back in response. These metrics will be retrieved
* irrespective of whether metrics are specified in fields to retrieve or
* not.
- * @param fields Specifies which fields to retrieve, see {@link Field}. All
- * fields will be retrieved if fields=ALL. Amongst all the fields, only
- * METRICS makes sense for flow runs hence only ALL or METRICS are
+ * @param fields Specifies which fields to retrieve, see {@link org.apache
+ * .hadoop.yarn.server.timelineservice.storage.TimelineReader.Field}.
+ * All fields will be retrieved if fields=ALL. Amongst all the fields,
+ * only METRICS makes sense for flow runs hence only ALL or METRICS are
* supported as fields for fetching flow runs. Other fields will lead to
* HTTP 400 (Bad Request) response. (Optional query param).
*
@@ -1173,9 +1180,10 @@ public TimelineEntity getFlowRun(
* and send back in response. These metrics will be retrieved
* irrespective of whether metrics are specified in fields to retrieve or
* not.
- * @param fields Specifies which fields to retrieve, see {@link Field}. All
- * fields will be retrieved if fields=ALL. Amongst all the fields, only
- * METRICS makes sense for flow runs hence only ALL or METRICS are
+ * @param fields Specifies which fields to retrieve, see {@link org.apache
+ * .hadoop.yarn.server.timelineservice.storage.TimelineReader.Field}.
+ * All fields will be retrieved if fields=ALL. Amongst all the fields,
+ * only METRICS makes sense for flow runs hence only ALL or METRICS are
* supported as fields for fetching flow runs. Other fields will lead to
* HTTP 400 (Bad Request) response. (Optional query param).
*
@@ -1378,9 +1386,11 @@ public TimelineEntity getFlowRun(
* irrespective of whether metrics are specified in fields to retrieve or
* not.
* @param fields Specifies which fields of the app entity object to retrieve,
- * see {@link Field}. All fields will be retrieved if fields=ALL. If not
- * specified, 3 fields i.e. entity type(equivalent to YARN_APPLICATION),
- * app id and app created time is returned(Optional query param).
+ * see {@link org.apache.hadoop.yarn.server.timelineservice.storage
+ * .TimelineReader.Field}. All fields will be retrieved if fields=ALL.
+ * If not specified, 3 fields i.e. entity type(equivalent to
+ * YARN_APPLICATION), app id and app created time is returned (Optional
+ * query param).
* @param metricsLimit If specified, defines the number of metrics to return.
* Considered only if fields contains METRICS/ALL or metricsToRetrieve is
* specified. Ignored otherwise. The maximum possible value for
@@ -1469,9 +1479,11 @@ public TimelineEntity getApp(
* irrespective of whether metrics are specified in fields to retrieve or
* not.
* @param fields Specifies which fields of the app entity object to retrieve,
- * see {@link Field}. All fields will be retrieved if fields=ALL. If not
- * specified, 3 fields i.e. entity type(equivalent to YARN_APPLICATION),
- * app id and app created time is returned(Optional query param).
+ * see {@link org.apache.hadoop.yarn.server.timelineservice.storage
+ * .TimelineReader.Field}. All fields will be retrieved if fields=ALL.
+ * If not specified, 3 fields i.e. entity type(equivalent to
+ * YARN_APPLICATION), app id and app created time is returned (Optional
+ * query param).
* @param metricsLimit If specified, defines the number of metrics to return.
* Considered only if fields contains METRICS/ALL or metricsToRetrieve is
* specified. Ignored otherwise. The maximum possible value for
@@ -1533,9 +1545,11 @@ public TimelineEntity getApp(
* irrespective of whether metrics are specified in fields to retrieve or
* not.
* @param fields Specifies which fields of the app entity object to retrieve,
- * see {@link Field}. All fields will be retrieved if fields=ALL. If not
- * specified, 3 fields i.e. entity type(equivalent to YARN_APPLICATION),
- * app id and app created time is returned(Optional query param).
+ * see {@link org.apache.hadoop.yarn.server.timelineservice.storage
+ * .TimelineReader.Field}. All fields will be retrieved if fields=ALL.
+ * If not specified, 3 fields i.e. entity type(equivalent to
+ * YARN_APPLICATION), app id and app created time is returned (Optional
+ * query param).
* @param metricsLimit If specified, defines the number of metrics to return.
* Considered only if fields contains METRICS/ALL or metricsToRetrieve is
* specified. Ignored otherwise. The maximum possible value for
@@ -1649,9 +1663,11 @@ public TimelineEntity getApp(
* irrespective of whether metrics are specified in fields to retrieve or
* not.
* @param fields Specifies which fields of the app entity object to retrieve,
- * see {@link Field}. All fields will be retrieved if fields=ALL. If not
- * specified, 3 fields i.e. entity type(equivalent to YARN_APPLICATION),
- * app id and app created time is returned(Optional query param).
+ * see {@link org.apache.hadoop.yarn.server.timelineservice.storage
+ * .TimelineReader.Field}. All fields will be retrieved if fields=ALL.
+ * If not specified, 3 fields i.e. entity type(equivalent to
+ * YARN_APPLICATION), app id and app created time is returned (Optional
+ * query param).
* @param metricsLimit If specified, defines the number of metrics to return.
* Considered only if fields contains METRICS/ALL or metricsToRetrieve is
* specified. Ignored otherwise. The maximum possible value for
@@ -1776,9 +1792,11 @@ public TimelineEntity getApp(
* irrespective of whether metrics are specified in fields to retrieve or
* not.
* @param fields Specifies which fields of the app entity object to retrieve,
- * see {@link Field}. All fields will be retrieved if fields=ALL. If not
- * specified, 3 fields i.e. entity type(equivalent to YARN_APPLICATION),
- * app id and app created time is returned(Optional query param).
+ * see {@link org.apache.hadoop.yarn.server.timelineservice.storage
+ * .TimelineReader.Field}. All fields will be retrieved if fields=ALL.
+ * If not specified, 3 fields i.e. entity type(equivalent to
+ * YARN_APPLICATION), app id and app created time is returned (Optional
+ * query param).
* @param metricsLimit If specified, defines the number of metrics to return.
* Considered only if fields contains METRICS/ALL or metricsToRetrieve is
* specified. Ignored otherwise. The maximum possible value for
@@ -1876,9 +1894,11 @@ public TimelineEntity getApp(
* irrespective of whether metrics are specified in fields to retrieve or
* not.
* @param fields Specifies which fields of the app entity object to retrieve,
- * see {@link Field}. All fields will be retrieved if fields=ALL. If not
- * specified, 3 fields i.e. entity type(equivalent to YARN_APPLICATION),
- * app id and app created time is returned(Optional query param).
+ * see {@link org.apache.hadoop.yarn.server.timelineservice.storage
+ * .TimelineReader.Field}. All fields will be retrieved if fields=ALL.
+ * If not specified, 3 fields i.e. entity type(equivalent to
+ * YARN_APPLICATION), app id and app created time is returned (Optional
+ * query param).
* @param metricsLimit If specified, defines the number of metrics to return.
* Considered only if fields contains METRICS/ALL or metricsToRetrieve is
* specified. Ignored otherwise. The maximum possible value for
@@ -1975,9 +1995,11 @@ public TimelineEntity getApp(
* irrespective of whether metrics are specified in fields to retrieve or
* not.
* @param fields Specifies which fields of the app entity object to retrieve,
- * see {@link Field}. All fields will be retrieved if fields=ALL. If not
- * specified, 3 fields i.e. entity type(equivalent to YARN_APPLICATION),
- * app id and app created time is returned(Optional query param).
+ * see {@link org.apache.hadoop.yarn.server.timelineservice.storage
+ * .TimelineReader.Field}. All fields will be retrieved if fields=ALL.
+ * If not specified, 3 fields i.e. entity type(equivalent to
+ * YARN_APPLICATION), app id and app created time is returned (Optional
+ * query param).
* @param metricsLimit If specified, defines the number of metrics to return.
* Considered only if fields contains METRICS/ALL or metricsToRetrieve is
* specified. Ignored otherwise. The maximum possible value for
@@ -2072,9 +2094,11 @@ public TimelineEntity getApp(
* irrespective of whether metrics are specified in fields to retrieve or
* not.
* @param fields Specifies which fields of the app entity object to retrieve,
- * see {@link Field}. All fields will be retrieved if fields=ALL. If not
- * specified, 3 fields i.e. entity type(equivalent to YARN_APPLICATION),
- * app id and app created time is returned(Optional query param).
+ * see {@link org.apache.hadoop.yarn.server.timelineservice.storage
+ * .TimelineReader.Field}. All fields will be retrieved if fields=ALL.
+ * If not specified, 3 fields i.e. entity type(equivalent to
+ * YARN_APPLICATION), app id and app created time is returned (Optional
+ * query param).
* @param metricsLimit If specified, defines the number of metrics to return.
* Considered only if fields contains METRICS/ALL or metricsToRetrieve is
* specified. Ignored otherwise. The maximum possible value for