YARN-8156. Increase the default value of yarn.timeline-service.app-collector.linger-period.ms. Contributed by Charan Hebri.
This commit is contained in:
parent
995cba65fe
commit
669eb7bdea
|
@ -2660,7 +2660,7 @@ public class YarnConfiguration extends Configuration {
|
|||
public static final String ATS_APP_COLLECTOR_LINGER_PERIOD_IN_MS =
|
||||
TIMELINE_SERVICE_PREFIX + "app-collector.linger-period.ms";
|
||||
|
||||
public static final int DEFAULT_ATS_APP_COLLECTOR_LINGER_PERIOD_IN_MS = 1000;
|
||||
public static final int DEFAULT_ATS_APP_COLLECTOR_LINGER_PERIOD_IN_MS = 60000;
|
||||
|
||||
public static final String NUMBER_OF_ASYNC_ENTITIES_TO_MERGE =
|
||||
TIMELINE_SERVICE_PREFIX
|
||||
|
|
|
@ -2499,7 +2499,7 @@
|
|||
<description>Time period till which the application collector will be alive
|
||||
in NM, after the application master container finishes.</description>
|
||||
<name>yarn.timeline-service.app-collector.linger-period.ms</name>
|
||||
<value>1000</value>
|
||||
<value>60000</value>
|
||||
</property>
|
||||
|
||||
<property>
|
||||
|
|
|
@ -66,6 +66,8 @@ public class TestPerNodeTimelineCollectorsAuxService {
|
|||
conf.setFloat(YarnConfiguration.TIMELINE_SERVICE_VERSION, 2.0f);
|
||||
conf.setClass(YarnConfiguration.TIMELINE_SERVICE_WRITER_CLASS,
|
||||
FileSystemTimelineWriterImpl.class, TimelineWriter.class);
|
||||
conf.setLong(YarnConfiguration.ATS_APP_COLLECTOR_LINGER_PERIOD_IN_MS,
|
||||
1000L);
|
||||
}
|
||||
|
||||
@After
|
||||
|
|
|
@ -138,7 +138,7 @@ New configuration parameters that are introduced with v.2 are marked bold.
|
|||
| `yarn.timeline-service.reader.bind-host` | The actual address the timeline reader will bind to. If this optional address is set, reader server will bind to this address and the port specified in yarn.timeline-service.reader.webapp.address. This is most useful for making the service listen on all interfaces by setting to 0.0.0.0. |
|
||||
| **`yarn.timeline-service.hbase.configuration.file`** | Optional URL to an hbase-site.xml configuration file to be used to connect to the timeline-service hbase cluster. If empty or not specified, then the HBase configuration will be loaded from the classpath. When specified the values in the specified configuration file will override those from the ones that are present on the classpath. Defaults to `null`. |
|
||||
| **`yarn.timeline-service.writer.flush-interval-seconds`** | The setting that controls how often the timeline collector flushes the timeline writer. Defaults to `60`. |
|
||||
| **`yarn.timeline-service.app-collector.linger-period.ms`** | Time period till which the application collector will be alive in NM, after the application master container finishes. Defaults to `1000` (1 second). |
|
||||
| **`yarn.timeline-service.app-collector.linger-period.ms`** | Time period till which the application collector will be alive in NM, after the application master container finishes. Defaults to `60000` (60 seconds). |
|
||||
| **`yarn.timeline-service.timeline-client.number-of-async-entities-to-merge`** | Time line V2 client tries to merge these many number of async entities (if available) and then call the REST ATS V2 API to submit. Defaults to `10`. |
|
||||
| **`yarn.timeline-service.hbase.coprocessor.app-final-value-retention-milliseconds`** | The setting that controls how long the final value of a metric of a completed app is retained before merging into the flow sum. Defaults to `259200000` (3 days). This should be set in the HBase cluster. |
|
||||
| **`yarn.rm.system-metrics-publisher.emit-container-events`** | The setting that controls whether yarn container metrics is published to the timeline server or not by RM. This configuration setting is for ATS V2. Defaults to `false`. |
|
||||
|
|
Loading…
Reference in New Issue