Configuration Files

Fusion configuration files are stored in $FUSION/conf. The complete contents of this directory are as follows:

fusion.properties

Fusion’s main configuration file, which defines the common environment variables used by the Fusion run scripts.

hive-site.xml

Configuration for Fusion’s Serializer/Deserializer (SerDe) for Hive.

zookeeper/commons-logging.properties
zookeeper/zoo.cfg

ZooKeeper configuration files.

agent-log4j2.xml
api-log4j2.xml
connectors-log4j2.xml
solr-log4j2.xml
spark-driver-log4j2.xml
spark-master-agent-log4j2.xml
spark-master-log4j2.xml
spark-worker-agent-log4j2.xml
spark-worker-log4j2.xml
sql-agent-log4j2.xml
sql-log4j2.xml
ui-log4j2.xml
zk-log4j2.xml
zookeeper/log4j2.xml
zookeeper/log4j.properties

Logging configuration files.

Fusion uses the Apache Log4j 2 logging framework with Jetty. Log levels, frequencies, and log rotation policy can be configured by changing these configuration files. See the Log4j2 Configuration guide.

Logging configuration files

Fusion uses the Apache Log4j 2 logging framework with Jetty to log each of the Fusion components. Logging is configured via an xml configuration file named log4j2.xml. Log levels, frequencies, and log rotation policy can be configured by changing these configuration files:

API service

$FUSION/conf/api-log4j2.xml

connectors

$FUSION/conf/connectors-log4j2.xml

Solr

$FUSION/conf/solr-log4j2.xml

Spark

$FUSION/conf/spark-driver-log4j2.xml

$FUSION/conf/spark-master-agent-log4j2.xml

$FUSION/conf/spark-master-log4j2.xml

$FUSION/conf/spark-worker-agent-log4j2.xml

$FUSION/conf/spark-worker-log4j2.xml

UI

$FUSION/conf/ui-log4j2.xml

ZooKeeper

$FUSION/conf/zk-log4j2.xml

The Log4j2 Configuration guide provides documentation and examples of all logging configuration options.