Spark on OBS Tuning¶
Scenario¶
In the scenario where a small number of requests are frequently sent from Spark on OBS to OBS, you can disable OBS monitoring to improve performance.
Configuration¶
Modify the configuration in the core-site.xml file on the Spark client.
Parameter | Description | Default Value |
---|---|---|
fs.obs.metrics.switch | Specifies whether to report OBS monitoring metrics.
| true |
fs.obs.metrics.consumer | Specifies the processing mode of OBS monitoring metrics.
To use the OBS monitoring function, ensure that the function of reporting OBS monitoring metrics is enabled. | org.apache.hadoop.fs.obs.metrics.OBSAMetricsProvider |