How to change the configuration for tuning
This topic lists the steps to change the configuration for tuning.
Refer to the following table to find the correct configuration directory and take the corresponding steps to update the configuration for tuning:
| Configuration Location | How to change the configuration | |
|---|---|---|
| HortonWorks HDP | /etc/hadoop/conf |
|
| Community Apache Hadoop | $HADOOP_HOME/etc/hadoop |
|
| Standalone Spark Distro | Refer the guide from your Spark distro | Usually, if taking HDFS schema as data access in Spark, the hdfs-site.xml and core-site.xml are defined by HADOOP_CONF_DIR in $SPARK_HOME/spark-env.sh. If so, you need to modify hdfs-site.xml and core-site.xml accordingly for tuning and sync the changes to all other Spark nodes. |
| HDFS Transparency | /usr/lpp/mmfs/hadoop/etc/hadoop (for HDFS Transparency 2.7.x) or /var/mmfs/hadoop/etc/hadoop (for HDFS Transparency 3.0.x) |
|