Question-6: Which of the following mechanism is used by Telemetry Publisher to collect metrics data?
- By pulling data from respective service
- By pushing data from respective service
- Either of pull and push can be used for each service
- Pull or Push depend from which service data is being fetched
Answer: 4
Exp: How metrics are collected?
There are two mechanisms by which metrics can be collected
- Pull: As name suggests, Telemetry Publisher pulls diagnostic metrics from Oozie, YARN and Spark periodically. Default configuration is once per minute.
- Push: To push metrics data, agent must be installed for respective service. In case of Hive and Impala, Cloudera Manager Agent pushes, metrics data to the Telemetry Publisher within every 5 seconds after a job finishes.