Skip to content

Instantly share code, notes, and snippets.

@abajwa-hw
Created September 7, 2018 23:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abajwa-hw/691d1e97b5b61c5be7ec4acb383d0de4 to your computer and use it in GitHub Desktop.
Save abajwa-hw/691d1e97b5b61c5be7ec4acb383d0de4 to your computer and use it in GitHub Desktop.
configuration-custom.json for Ambari 2.7/HDP 3.0/HDF 3.2
{
"configurations": {
"core-site": {
"fs.trash.interval": "4320"
},
"ams-grafana-env": {
"metrics_grafana_password": "StrongPassword"
},
"hdfs-site": {
"dfs.replication" : "1",
"dfs.namenode.safemode.threshold-pct": "0.99"
},
"mapred-site": {
"mapreduce.job.reduce.slowstart.completedmaps": "0.7",
"mapreduce.map.output.compress": "true",
"mapreduce.output.fileoutputformat.compress": "true"
},
"yarn-site": {
"yarn.acl.enable": "true"
},
"druid-broker" : {
"druid.processing.buffer.sizeBytes" : "107374182"
},
"druid-overlord" : {
"druid.port" : "8095"
},
"druid-middlemanager" : {
"druid.port" : "8096",
"druid.processing.numThreads" : "3",
"druid.indexer.runner.javaOpts": "-server -Xmx1g -XX:MaxDirectMemorySize=5g -Duser.timezone=UTC -Dfile.encoding=UTF-8 -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -Dhdp.version={{stack_version}} -Dhadoop.mapreduce.job.classloader=true"
},
"druid-historical" : {
"druid.processing.numThreads" : "3",
"druid.processing.buffer.sizeBytes" : "107374182"
},
"druid-common": {
"druid.storage.storageDirectory" : "/user/druid/data",
"druid.indexer.logs.type" : "hdfs",
"druid.indexer.logs.directory": "/user/druid/logs",
"druid.storage.type" : "hdfs",
"druid.metadata.storage.connector.user" : "druid",
"druid.metadata.storage.connector.password" : "StrongPassword",
"druid.metadata.storage.connector.port" : "3306",
"druid.metadata.storage.connector.connectURI" : "jdbc:mysql://localhost:3306/druid?createDatabaseIfNotExist=true",
"druid.metadata.storage.type" : "mysql",
"druid.extensions.loadList" : "[\"druid-datasketches\", \"druid-hdfs-storage\", \"ambari-metrics-emitter\", \"mysql-metadata-storage\"]"
},
"superset": {
"SECRET_KEY": "StrongPassword",
"SUPERSET_DATABASE_TYPE" : "mysql",
"SUPERSET_DATABASE_PASSWORD": "StrongPassword",
"SUPERSET_DATABASE_HOSTNAME" : "localhost",
"SUPERSET_DATABASE_PORT" : "3306",
"SUPERSET_WEBSERVER_PORT" : "9089"
},
"superset-env": {
"superset_admin_email": "a@b.c",
"superset_admin_firstname": "Admin",
"superset_admin_lastname": "Jones",
"superset_admin_firstname": "Admin",
"superset_admin_lastname": "Jones",
"superset_admin_password": "StrongPassword"
},
"streamline-common": {
"jar.storage.type": "local",
"streamline.storage.type": "mysql",
"streamline.storage.connector.connectURI": "jdbc:mysql://localhost:3306/streamline",
"registry.url" : "http://localhost:7788/api/v1",
"streamline.dashboard.url" : "http://localhost:9089",
"streamline.storage.connector.password": "StrongPassword"
},
"registry-common": {
"jar.storage.type": "local",
"registry.storage.connector.connectURI": "jdbc:mysql://localhost:3306/registry",
"registry.storage.type": "mysql",
"registry.storage.connector.password": "StrongPassword"
},
"nifi-registry-ambari-config": {
"nifi.registry.security.encrypt.configuration.password": "StrongPassword"
},
"nifi-registry-properties": {
"nifi.registry.db.password": "StrongPassword"
},
"kafka-broker": {
"offsets.topic.replication.factor": "1"
},
"nifi-ambari-config": {
"nifi.security.encrypt.configuration.password": "StrongPassword"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment