Guest User

Untitled

a guest
Mar 20th, 2018
414
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 93.47 KB | None | 0 0
  1. {
  2. "localComponents": [
  3. "NAMENODE",
  4. "SECONDARY_NAMENODE",
  5. "ZOOKEEPER_SERVER",
  6. "DATANODE",
  7. "HDFS_CLIENT",
  8. "ZOOKEEPER_CLIENT",
  9. "RESOURCEMANAGER",
  10. "HISTORYSERVER",
  11. "NODEMANAGER",
  12. "YARN_CLIENT",
  13. "MAPREDUCE2_CLIENT",
  14. "SLIDER",
  15. "PIG",
  16. "SQOOP",
  17. "HIVE_CLIENT",
  18. "TEZ_CLIENT",
  19. "HIVE_CLIENT",
  20. "SPARK_CLIENT",
  21. "SPARK2_CLIENT"
  22. ],
  23. "roleCommand": "SERVICE_CHECK",
  24. "clusterName": "c1",
  25. "commandParams": {
  26. "service_package_folder": "common-services/HDFS/2.1.0.2.0/package",
  27. "script": "scripts/service_check.py",
  28. "hooks_folder": "stack-hooks",
  29. "excluded_hosts": "host1,host2",
  30. "command_timeout": "300",
  31. "script_type": "PYTHON",
  32. "xml_configs_list":[{"hdfs-site.xml":"hdfs-site"}],
  33. "env_configs_list":[{"hadoop-env.sh":"hadoop-env"},{"log4j.properties":"hdfs-log4j,yarn-log4j"}],
  34. "properties_configs_list":[{"runtime.properties":"falcon-runtime.properties"},{"startup.properties":"falcon-startup.properties"}],
  35. "output_file":"HDFS_CLIENT-configs.tar.gz"
  36. },
  37. "clusterLevelParams": {
  38. "stack_version": "2.0",
  39. "not_managed_hdfs_path_list": "[\"/apps/hive/warehouse\",\"/apps/falcon\",\"/mr-history/done\",\"/app-logs\",\"/tmp\"]",
  40. "hooks_folder": "stack-hooks",
  41. "stack_name": "HDP",
  42. "user_groups": "{\"hive\":[\"hadoop\"], \"oozie\":[\"hadoop\",\"users\"], \"nobody\":[\"hadoop\",\"nobody\"], \"ambari-qa\":[\"hadoop\",\"users\"], \"flume\":[\"hadoop\"], \"hdfs\":[\"hadoop\"], \"storm\":[\"hadoop\"], \"mapred\":[\"hadoop\"], \"hbase\":[\"hadoop\"], \"tez\":[\"hadoop\",\"users\"], \"zookeeper\":[\"hadoop\"], \"falcon\":[\"hadoop\",\"users\"], \"sqoop\":[\"hadoop\"], \"yarn\":[\"hadoop\"], \"hcat\":[\"hadoop\"]}",
  43. "group_list": "[\"hadoop\",\"nobody\",\"users\"]",
  44. "user_list": "[\"hive\",\"oozie\",\"nobody\",\"ambari-qa\",\"flume\",\"hdfs\",\"storm\",\"mapred\",\"hbase\",\"tez\",\"zookeeper\",\"falcon\",\"sqoop\",\"yarn\",\"hcat\"]",
  45. "cluster_name": "c1"
  46. },
  47. "ambariLevelParams": {
  48. "ambari_server_host": "c6401.ambari.apache.org",
  49. "jdk_location": "http://c6401.ambari.apache.org:8080/resources/",
  50. "agent_stack_retry_count": "5",
  51. "db_driver_filename": "mysql-connector-java.jar",
  52. "agent_stack_retry_on_unavailability": "false",
  53. "ambari_db_rca_url": "jdbc:postgresql://c6401.ambari.apache.org/ambarirca",
  54. "jce_name": "jce_policy-7.zip",
  55. "java_version": "7",
  56. "ambari_db_rca_password": "mapred",
  57. "host_sys_prepped": "false",
  58. "db_name": "ambari",
  59. "oracle_jdbc_url": "http://c6401.ambari.apache.org/resources//ojdbc6.jar",
  60. "ambari_db_rca_driver": "org.postgresql.Driver",
  61. "ambari_db_rca_username": "mapred",
  62. "jdk_name": "jdk-7u67-linux-x64.tar.gz",
  63. "java_home": "/usr/jdk64/jdk1.7.0_45",
  64. "mysql_jdbc_url": "http://c6401.ambari.apache.org/resources//mysql-connector-java.jar",
  65. "custom_mysql_jdbc_name" : "mysql-connector-java.jar",
  66. "custom_oracle_jdbc_name" : "oracle-jdbc-driver.jar",
  67. "custom_postgres_jdbc_name" : "test-postgres-jdbc.jar",
  68. "custom_sqlanywhere_jdbc_name" : "sqla-client-jdbc.tar.gz"
  69. },
  70. "repositoryFile": {
  71. "resolved": true,
  72. "repoVersion": "2.6.4.0-60",
  73. "repositories": [
  74. {
  75. "mirrorsList": null,
  76. "ambariManaged": true,
  77. "baseUrl": "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/BUILDS/2.6.4.0-60",
  78. "repoName": "HDP",
  79. "components": null,
  80. "osType": "redhat6",
  81. "distribution": null,
  82. "repoId": "HDP-2.6-repo-1"
  83. },
  84. {
  85. "mirrorsList": null,
  86. "ambariManaged": true,
  87. "baseUrl": "http://s3.amazonaws.com/dev.hortonworks.com/HDP-GPL/centos6/2.x/BUILDS/2.6.4.0-60",
  88. "repoName": "HDP-GPL",
  89. "components": null,
  90. "osType": "redhat6",
  91. "distribution": null,
  92. "repoId": "HDP-2.6-GPL-repo-1"
  93. },
  94. {
  95. "mirrorsList": null,
  96. "ambariManaged": true,
  97. "baseUrl": "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.22/repos/centos6",
  98. "repoName": "HDP-UTILS",
  99. "components": null,
  100. "osType": "redhat6",
  101. "distribution": null,
  102. "repoId": "HDP-UTILS-1.1.0.22-repo-1"
  103. }
  104. ],
  105. "feature": {
  106. "m_isScoped": true,
  107. "m_isPreInstalled": false
  108. },
  109. "stackName": "HDP",
  110. "repoVersionId": 1
  111. },
  112. "agentLevelParams": {
  113. "public_hostname": null,
  114. "hostname": "c6401.ambari.apache.org",
  115. "agentConfigParams": {
  116. "agent": {
  117. "parallel_execution": 0,
  118. "use_system_proxy_settings": true
  119. }
  120. },
  121. "agentCacheDir": "/var/lib/ambari-agent/cache"
  122. },
  123. "hostLevelParams": {
  124. "recoveryConfig": {
  125. "retryGap": "5",
  126. "windowInMinutes": "60",
  127. "maxLifetimeCount": "1024",
  128. "components": "",
  129. "maxCount": "6",
  130. "type": "AUTO_START"
  131. },
  132. "hostRepositories": {
  133. "componentRepos": {
  134. "NAMENODE": 1,
  135. "SECONDARY_NAMENODE": 1,
  136. "DATANODE": 1,
  137. "HDFS_CLIENT": 1
  138. },
  139. "commandRepos": {
  140. "1": {
  141. "resolved": true,
  142. "repoVersion": "2.6.4.0-60",
  143. "repositories": [
  144. {
  145. "mirrorsList": null,
  146. "ambariManaged": true,
  147. "baseUrl": "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/BUILDS/2.6.4.0-60",
  148. "repoName": "HDP",
  149. "components": null,
  150. "osType": "redhat6",
  151. "distribution": null,
  152. "repoId": "HDP-2.6-repo-1"
  153. },
  154. {
  155. "mirrorsList": null,
  156. "ambariManaged": true,
  157. "baseUrl": "http://s3.amazonaws.com/dev.hortonworks.com/HDP-GPL/centos6/2.x/BUILDS/2.6.4.0-60",
  158. "repoName": "HDP-GPL",
  159. "components": null,
  160. "osType": "redhat6",
  161. "distribution": null,
  162. "repoId": "HDP-2.6-GPL-repo-1"
  163. },
  164. {
  165. "mirrorsList": null,
  166. "ambariManaged": true,
  167. "baseUrl": "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.22/repos/centos6",
  168. "repoName": "HDP-UTILS",
  169. "components": null,
  170. "osType": "redhat6",
  171. "distribution": null,
  172. "repoId": "HDP-UTILS-1.1.0.22-repo-1"
  173. }
  174. ],
  175. "feature": {
  176. "m_isScoped": true,
  177. "m_isPreInstalled": false
  178. },
  179. "stackName": "HDP",
  180. "repoVersionId": 1
  181. }
  182. }
  183. }
  184. },
  185. "serviceLevelParams": {
  186. "credentialStoreEnabled": false,
  187. "status_commands_timeout": 300,
  188. "version": "2.7.3",
  189. "service_package_folder": "common-services/HDFS/2.1.0.2.0/package"
  190. },
  191. "commandType": "EXECUTION_COMMAND",
  192. "roleParams": {},
  193. "serviceName": "HIVE",
  194. "role": "HIVE_SERVER",
  195. "taskId": 152,
  196. "public_hostname": "c6401.ambari.apache.org",
  197. "configurations": {
  198. "sqoop-site": {
  199. "atlas.cluster.name": "c1",
  200. "sqoop.job.data.publish.class": "org.apache.atlas.sqoop.hook.SqoopHook"
  201. },
  202. "mapred-site": {
  203. "mapreduce.jobhistory.address": "c6402.ambari.apache.org:10020",
  204. "mapreduce.cluster.administrators": " hadoop",
  205. "mapreduce.reduce.input.buffer.percent": "0.0",
  206. "mapreduce.output.fileoutputformat.compress": "false",
  207. "mapreduce.framework.name": "yarn",
  208. "mapreduce.map.speculative": "false",
  209. "mapreduce.reduce.shuffle.merge.percent": "0.66",
  210. "yarn.app.mapreduce.am.resource.mb": "683",
  211. "mapreduce.map.java.opts": "-Xmx273m",
  212. "mapreduce.application.classpath": "$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/*,$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/lib/*",
  213. "mapreduce.job.reduce.slowstart.completedmaps": "0.05",
  214. "mapreduce.output.fileoutputformat.compress.type": "BLOCK",
  215. "mapreduce.reduce.speculative": "false",
  216. "mapreduce.reduce.java.opts": "-Xmx546m",
  217. "mapreduce.am.max-attempts": "2",
  218. "yarn.app.mapreduce.am.admin-command-opts": "-Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN",
  219. "mapreduce.reduce.log.level": "INFO",
  220. "mapreduce.map.sort.spill.percent": "0.7",
  221. "mapreduce.task.timeout": "300000",
  222. "mapreduce.map.memory.mb": "341",
  223. "mapreduce.task.io.sort.factor": "100",
  224. "mapreduce.jobhistory.intermediate-done-dir": "/mr-history/tmp",
  225. "mapreduce.reduce.memory.mb": "683",
  226. "yarn.app.mapreduce.am.log.level": "INFO",
  227. "mapreduce.map.log.level": "INFO",
  228. "mapreduce.shuffle.port": "13562",
  229. "mapreduce.admin.user.env": "LD_LIBRARY_PATH=/usr/lib/hadoop/lib/native:/usr/lib/hadoop/lib/native/`$JAVA_HOME/bin/java -d32 -version &> /dev/null;if [ $? -eq 0 ]; then echo Linux-i386-32; else echo Linux-amd64-64;fi`",
  230. "mapreduce.map.output.compress": "false",
  231. "yarn.app.mapreduce.am.staging-dir": "/user",
  232. "mapreduce.reduce.shuffle.parallelcopies": "30",
  233. "mapreduce.reduce.shuffle.input.buffer.percent": "0.7",
  234. "mapreduce.jobhistory.webapp.address": "c6402.ambari.apache.org:19888",
  235. "mapreduce.jobhistory.done-dir": "/mr-history/done",
  236. "mapreduce.admin.reduce.child.java.opts": "-Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN",
  237. "mapreduce.task.io.sort.mb": "136",
  238. "yarn.app.mapreduce.am.command-opts": "-Xmx546m",
  239. "mapreduce.admin.map.child.java.opts": "-Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN"
  240. },
  241. "oozie-site": {
  242. "oozie.service.PurgeService.purge.interval": "3600",
  243. "oozie.service.CallableQueueService.queue.size": "1000",
  244. "oozie.service.SchemaService.wf.ext.schemas": "shell-action-0.1.xsd,email-action-0.1.xsd,hive-action-0.2.xsd,sqoop-action-0.2.xsd,ssh-action-0.1.xsd,distcp-action-0.1.xsd,shell-action-0.2.xsd,oozie-sla-0.1.xsd,oozie-sla-0.2.xsd,hive-action-0.3.xsd",
  245. "oozie.service.JPAService.jdbc.url": "jdbc:derby:${oozie.data.dir}/${oozie.db.schema.name}-db;create=true",
  246. "oozie.service.HadoopAccessorService.nameNode.whitelist": " ",
  247. "use.system.libpath.for.mapreduce.and.pig.jobs": "false",
  248. "oozie.db.schema.name": "oozie",
  249. "oozie.credentials.credentialclasses": "hcat=org.apache.oozie.action.hadoop.HCatCredentials",
  250. "oozie.service.JPAService.create.db.schema": "false",
  251. "oozie.authentication.kerberos.name.rules": "\n RULE:[2:$1@$0]([jt]t@.*TODO-KERBEROS-DOMAIN)s/.*/TODO-MAPREDUSER/\n RULE:[2:$1@$0]([nd]n@.*TODO-KERBEROS-DOMAIN)s/.*/TODO-HDFSUSER/\n RULE:[2:$1@$0](hm@.*TODO-KERBEROS-DOMAIN)s/.*/TODO-HBASE-USER/\n RULE:[2:$1@$0](rs@.*TODO-KERBEROS-DOMAIN)s/.*/TODO-HBASE-USER/\n DEFAULT",
  252. "oozie.service.ActionService.executor.ext.classes": "\n org.apache.oozie.action.email.EmailActionExecutor,\n org.apache.oozie.action.hadoop.HiveActionExecutor,\n org.apache.oozie.action.hadoop.ShellActionExecutor,\n org.apache.oozie.action.hadoop.SqoopActionExecutor,\n org.apache.oozie.action.hadoop.DistcpActionExecutor",
  253. "oozie.base.url": "http://c6402.ambari.apache.org:11000/oozie",
  254. "oozie.service.JPAService.jdbc.password": "asd",
  255. "oozie.service.coord.normal.default.timeout": "120",
  256. "oozie.service.AuthorizationService.security.enabled": "true",
  257. "oozie.service.JPAService.pool.max.active.conn": "10",
  258. "oozie.service.PurgeService.older.than": "30",
  259. "oozie.service.coord.push.check.requeue.interval": "30000",
  260. "oozie.service.HadoopAccessorService.hadoop.configurations": "*=/etc/hadoop/conf",
  261. "oozie.service.HadoopAccessorService.jobTracker.whitelist": " ",
  262. "oozie.service.CallableQueueService.callable.concurrency": "3",
  263. "oozie.service.JPAService.jdbc.username": "oozie",
  264. "oozie.service.CallableQueueService.threads": "10",
  265. "oozie.services.ext": "org.apache.oozie.service.PartitionDependencyManagerService,org.apache.oozie.service.HCatAccessorService",
  266. "oozie.systemmode": "NORMAL",
  267. "oozie.service.WorkflowAppService.system.libpath": "/user/${user.name}/share/lib",
  268. "oozie.services": "\n org.apache.oozie.service.SchedulerService,\n org.apache.oozie.service.InstrumentationService,\n org.apache.oozie.service.CallableQueueService,\n org.apache.oozie.service.UUIDService,\n org.apache.oozie.service.ELService,\n org.apache.oozie.service.AuthorizationService,\n org.apache.oozie.service.UserGroupInformationService,\n org.apache.oozie.service.HadoopAccessorService,\n org.apache.oozie.service.URIHandlerService,\n org.apache.oozie.service.MemoryLocksService,\n org.apache.oozie.service.DagXLogInfoService,\n org.apache.oozie.service.SchemaService,\n org.apache.oozie.service.LiteWorkflowAppService,\n org.apache.oozie.service.JPAService,\n org.apache.oozie.service.StoreService,\n org.apache.oozie.service.CoordinatorStoreService,\n org.apache.oozie.service.SLAStoreService,\n org.apache.oozie.service.DBLiteWorkflowStoreService,\n org.apache.oozie.service.CallbackService,\n org.apache.oozie.service.ActionService,\n org.apache.oozie.service.ActionCheckerService,\n org.apache.oozie.service.RecoveryService,\n org.apache.oozie.service.PurgeService,\n org.apache.oozie.service.CoordinatorEngineService,\n org.apache.oozie.service.BundleEngineService,\n org.apache.oozie.service.DagEngineService,\n org.apache.oozie.service.CoordMaterializeTriggerService,\n org.apache.oozie.service.StatusTransitService,\n org.apache.oozie.service.PauseTransitService,\n org.apache.oozie.service.GroupsService,\n org.apache.oozie.service.ProxyUserService",
  269. "oozie.service.URIHandlerService.uri.handlers": "org.apache.oozie.dependency.FSURIHandler,org.apache.oozie.dependency.HCatURIHandler",
  270. "oozie.authentication.type": "simple",
  271. "oozie.service.JPAService.jdbc.driver": "org.apache.derby.jdbc.EmbeddedDriver",
  272. "oozie.system.id": "oozie-${user.name}"
  273. },
  274. "storm-site": {
  275. "topology.tuple.serializer": "backtype.storm.serialization.types.ListDelegateSerializer",
  276. "topology.workers": "1",
  277. "drpc.worker.threads": "64",
  278. "storm.zookeeper.servers": "['c6401.ambari.apache.org','c6402.ambari.apache.org']",
  279. "supervisor.heartbeat.frequency.secs": "5",
  280. "topology.executor.send.buffer.size": "1024",
  281. "drpc.childopts": "-Xmx768m",
  282. "nimbus.thrift.port": "6627",
  283. "storm.zookeeper.retry.intervalceiling.millis": "30000",
  284. "storm.local.dir": "/hadoop/storm",
  285. "topology.receiver.buffer.size": "8",
  286. "storm.messaging.netty.client_worker_threads": "1",
  287. "transactional.zookeeper.root": "/transactional",
  288. "drpc.request.timeout.secs": "600",
  289. "topology.skip.missing.kryo.registrations": "false",
  290. "worker.heartbeat.frequency.secs": "1",
  291. "zmq.hwm": "0",
  292. "storm.zookeeper.connection.timeout": "15000",
  293. "topology.max.error.report.per.interval": "5",
  294. "storm.messaging.netty.server_worker_threads": "1",
  295. "supervisor.worker.start.timeout.secs": "120",
  296. "zmq.threads": "1",
  297. "topology.acker.executors": "null",
  298. "storm.local.mode.zmq": "false",
  299. "topology.max.task.parallelism": "null",
  300. "storm.zookeeper.port": "2181",
  301. "nimbus.childopts": "-Xmx1024m",
  302. "worker.childopts": "-Xmx768m",
  303. "drpc.queue.size": "128",
  304. "storm.zookeeper.retry.times": "5",
  305. "nimbus.monitor.freq.secs": "10",
  306. "storm.cluster.mode": "distributed",
  307. "dev.zookeeper.path": "/tmp/dev-storm-zookeeper",
  308. "drpc.invocations.port": "3773",
  309. "storm.zookeeper.root": "/storm",
  310. "logviewer.childopts": "-Xmx128m",
  311. "transactional.zookeeper.port": "null",
  312. "topology.worker.childopts": "null",
  313. "topology.max.spout.pending": "null",
  314. "nimbus.cleanup.inbox.freq.secs": "600",
  315. "storm.messaging.netty.min_wait_ms": "100",
  316. "nimbus.task.timeout.secs": "30",
  317. "nimbus.thrift.max_buffer_size": "1048576",
  318. "topology.sleep.spout.wait.strategy.time.ms": "1",
  319. "topology.optimize": "true",
  320. "nimbus.reassign": "true",
  321. "storm.messaging.transport": "backtype.storm.messaging.netty.Context",
  322. "logviewer.appender.name": "A1",
  323. "nimbus.host": "c6401.ambari.apache.org",
  324. "ui.port": "8744",
  325. "supervisor.slots.ports": "[6700, 6701]",
  326. "nimbus.file.copy.expiration.secs": "600",
  327. "supervisor.monitor.frequency.secs": "3",
  328. "ui.childopts": "-Xmx768m",
  329. "transactional.zookeeper.servers": "null",
  330. "zmq.linger.millis": "5000",
  331. "topology.error.throttle.interval.secs": "10",
  332. "topology.worker.shared.thread.pool.size": "4",
  333. "java.library.path": "/usr/local/lib:/opt/local/lib:/usr/lib",
  334. "topology.spout.wait.strategy": "backtype.storm.spout.SleepSpoutWaitStrategy",
  335. "task.heartbeat.frequency.secs": "3",
  336. "topology.transfer.buffer.size": "1024",
  337. "storm.zookeeper.session.timeout": "20000",
  338. "topology.executor.receive.buffer.size": "1024",
  339. "topology.stats.sample.rate": "0.05",
  340. "topology.fall.back.on.java.serialization": "true",
  341. "supervisor.childopts": "-Xmx256m",
  342. "topology.enable.message.timeouts": "true",
  343. "storm.messaging.netty.max_wait_ms": "1000",
  344. "nimbus.topology.validator": "backtype.storm.nimbus.DefaultTopologyValidator",
  345. "nimbus.supervisor.timeout.secs": "60",
  346. "topology.disruptor.wait.strategy": "com.lmax.disruptor.BlockingWaitStrategy",
  347. "nimbus.inbox.jar.expiration.secs": "3600",
  348. "drpc.port": "3772",
  349. "topology.kryo.factory": "backtype.storm.serialization.DefaultKryoFactory",
  350. "storm.zookeeper.retry.interval": "1000",
  351. "storm.messaging.netty.max_retries": "30",
  352. "topology.tick.tuple.freq.secs": "null",
  353. "supervisor.enable": "true",
  354. "nimbus.task.launch.secs": "120",
  355. "task.refresh.poll.secs": "10",
  356. "topology.message.timeout.secs": "30",
  357. "storm.messaging.netty.buffer_size": "5242880",
  358. "topology.state.synchronization.timeout.secs": "60",
  359. "supervisor.worker.timeout.secs": "30",
  360. "topology.trident.batch.emit.interval.millis": "500",
  361. "topology.builtin.metrics.bucket.size.secs": "60",
  362. "storm.thrift.transport": "backtype.storm.security.auth.SimpleTransportPlugin",
  363. "logviewer.port": "8000",
  364. "topology.debug": "false"
  365. },
  366. "webhcat-site": {
  367. "templeton.pig.path": "pig.tar.gz/pig/bin/pig",
  368. "templeton.exec.timeout": "60000",
  369. "templeton.override.enabled": "false",
  370. "templeton.jar": "/usr/lib/hcatalog/share/webhcat/svr/webhcat.jar",
  371. "templeton.zookeeper.hosts": "c6401.ambari.apache.org:2181,c6402.ambari.apache.org:2181",
  372. "templeton.hive.properties": "hive.metastore.local=false,hive.metastore.uris=thrift://c6402.ambari.apache.org:9083,hive.metastore.sasl.enabled=yes,hive.metastore.execute.setugi=true,hive.metastore.warehouse.dir=/apps/hive/warehouse",
  373. "templeton.storage.class": "org.apache.hive.hcatalog.templeton.tool.ZooKeeperStorage",
  374. "templeton.hive.archive": "hdfs:///apps/webhcat/hive.tar.gz",
  375. "templeton.streaming.jar": "hdfs:///apps/webhcat/hadoop-streaming.jar",
  376. "templeton.port": "50111",
  377. "templeton.libjars": "/usr/lib/zookeeper/zookeeper.jar",
  378. "templeton.hadoop": "/usr/bin/hadoop",
  379. "templeton.hive.path": "hive.tar.gz/hive/bin/hive",
  380. "templeton.hadoop.conf.dir": "/etc/hadoop/conf",
  381. "templeton.hcat": "/usr/bin/hcat",
  382. "templeton.pig.archive": "hdfs:///apps/webhcat/pig.tar.gz",
  383. "templeton.sqoop.archive": "hdfs:///apps/webhcat/sqoop.tar.gz"
  384. },
  385. "capacity-scheduler": {
  386. "yarn.scheduler.capacity.node-locality-delay": "40",
  387. "yarn.scheduler.capacity.root.capacity": "100",
  388. "yarn.scheduler.capacity.root.acl_administer_queue": "*",
  389. "yarn.scheduler.capacity.root.queues": "default",
  390. "yarn.scheduler.capacity.maximum-applications": "10000",
  391. "yarn.scheduler.capacity.root.default.user-limit-factor": "1",
  392. "yarn.scheduler.capacity.root.default.maximum-capacity": "100",
  393. "yarn.scheduler.capacity.root.default.state": "RUNNING",
  394. "yarn.scheduler.capacity.maximum-am-resource-percent": "0.2",
  395. "yarn.scheduler.capacity.root.default.acl_administer_jobs": "*",
  396. "yarn.scheduler.capacity.root.default.capacity": "100",
  397. "yarn.scheduler.capacity.root.default.acl_submit_applications": "*"
  398. },
  399. "hdfs-site": {
  400. "dfs.namenode.checkpoint.period": "21600",
  401. "dfs.namenode.avoid.write.stale.datanode": "true",
  402. "dfs.block.access.token.enable": "true",
  403. "dfs.support.append": "true",
  404. "dfs.datanode.address": "0.0.0.0:${ambari.dfs.datanode.port}",
  405. "nfs.file.dump.dir": "/tmp/.hdfs-nfs",
  406. "dfs.datanode.address": "0.0.0.0:${ambari.dfs.datanode.port}",
  407. "dfs.cluster.administrators": "test_user1,test_user2 hdfs,test_group",
  408. "dfs.replication": "3",
  409. "ambari.dfs.datanode.http.port": "50075",
  410. "dfs.datanode.balance.bandwidthPerSec": "6250000",
  411. "dfs.namenode.safemode.threshold-pct": "1.0f",
  412. "dfs.namenode.checkpoint.edits.dir": "${dfs.namenode.checkpoint.dir}",
  413. "dfs.permissions.enabled": "true",
  414. "fs.checkpoint.size": "67108864",
  415. "dfs.client.read.shortcircuit": "true",
  416. "dfs.namenode.https-address": "c6401.ambari.apache.org:50470",
  417. "dfs.journalnode.edits.dir": "/grid/0/hdfs/journal",
  418. "dfs.blocksize": "134217728",
  419. "dfs.datanode.max.transfer.threads": "1024",
  420. "dfs.datanode.du.reserved": "1073741824",
  421. "dfs.webhdfs.enabled": "true",
  422. "dfs.namenode.handler.count": "100",
  423. "dfs.namenode.checkpoint.dir": "/hadoop/hdfs/namesecondary,/hadoop/hdfs/namesecondary2",
  424. "fs.permissions.umask-mode": "022",
  425. "dfs.datanode.http.address": "0.0.0.0:50075",
  426. "dfs.datanode.ipc.address": "0.0.0.0:8010",
  427. "dfs.datanode.data.dir": "/hadoop/hdfs/data",
  428. "dfs.namenode.http-address": "c6401.ambari.apache.org:50070",
  429. "dfs.blockreport.initialDelay": "120",
  430. "dfs.datanode.failed.volumes.tolerated": "0",
  431. "dfs.namenode.accesstime.precision": "0",
  432. "ambari.dfs.datanode.port": "50010",
  433. "dfs.namenode.avoid.read.stale.datanode": "true",
  434. "dfs.namenode.secondary.http-address": "c6402.ambari.apache.org:50090",
  435. "dfs.namenode.stale.datanode.interval": "30000",
  436. "dfs.heartbeat.interval": "3",
  437. "dfs.client.read.shortcircuit.streams.cache.size": "4096",
  438. "dfs.permissions.superusergroup": "hdfs",
  439. "dfs.https.port": "50470",
  440. "dfs.journalnode.http-address": "0.0.0.0:8480",
  441. "dfs.domain.socket.path": "/var/lib/hadoop-hdfs/dn_socket",
  442. "dfs.namenode.write.stale.datanode.ratio": "1.0f",
  443. "dfs.hosts.exclude": "/etc/hadoop/conf/dfs.exclude",
  444. "dfs.datanode.data.dir.perm": "750",
  445. "dfs.namenode.name.dir.restore": "true",
  446. "dfs.replication.max": "50",
  447. "dfs.namenode.name.dir": "/hadoop/hdfs/namenode"
  448. },
  449. "hbase-site": {
  450. "hbase.hstore.flush.retries.number": "120",
  451. "hbase.client.keyvalue.maxsize": "10485760",
  452. "hbase.hstore.compactionThreshold": "3",
  453. "hbase.rootdir": "hdfs://c6401.ambari.apache.org:8020/apps/hbase/data",
  454. "hbase.regionserver.handler.count": "60",
  455. "hbase.regionserver.global.memstore.lowerLimit": "0.38",
  456. "hbase.hregion.memstore.block.multiplier": "2",
  457. "hbase.hregion.memstore.flush.size": "134217728",
  458. "hbase.superuser": "hbase",
  459. "hbase.zookeeper.property.clientPort": "2181",
  460. "hbase.regionserver.global.memstore.upperLimit": "0.4",
  461. "zookeeper.session.timeout": "30000",
  462. "hbase.tmp.dir": "/hadoop/hbase",
  463. "hbase.local.dir": "${hbase.tmp.dir}/local",
  464. "hbase.hregion.max.filesize": "10737418240",
  465. "hfile.block.cache.size": "0.40",
  466. "hbase.security.authentication": "simple",
  467. "hbase.defaults.for.version.skip": "true",
  468. "hbase.zookeeper.quorum": "c6401.ambari.apache.org,c6402.ambari.apache.org",
  469. "zookeeper.znode.parent": "/hbase-unsecure",
  470. "hbase.hstore.blockingStoreFiles": "10",
  471. "hbase.master.port": "60000",
  472. "hbase.hregion.majorcompaction": "86400000",
  473. "hbase.security.authorization": "false",
  474. "hbase.cluster.distributed": "true",
  475. "hbase.hregion.memstore.mslab.enabled": "true",
  476. "hbase.client.scanner.caching": "100",
  477. "hbase.zookeeper.useMulti": "true"
  478. },
  479. "core-site": {
  480. "io.serializations": "org.apache.hadoop.io.serializer.WritableSerialization",
  481. "gluster.daemon.user": "null",
  482. "hadoop.proxyuser.oozie.groups": "users",
  483. "hadoop.proxyuser.hcat.hosts": "c6402.ambari.apache.org",
  484. "hadoop.proxyuser.hive.groups": "users",
  485. "hadoop.security.authentication": "simple",
  486. "hadoop.proxyuser.oozie.hosts": "c6402.ambari.apache.org",
  487. "io.compression.codecs": "org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.DefaultCodec",
  488. "mapreduce.jobtracker.webinterface.trusted": "false",
  489. "fs.AbstractFileSystem.glusterfs.impl": "null",
  490. "fs.defaultFS": "hdfs://c6401.ambari.apache.org:8020",
  491. "fs.trash.interval": "360",
  492. "ipc.client.idlethreshold": "8000",
  493. "io.file.buffer.size": "131072",
  494. "hadoop.security.authorization": "false",
  495. "hadoop.proxyuser.hive.hosts": "c6402.ambari.apache.org",
  496. "hadoop.security.auth_to_local": "\n RULE:[2:$1@$0]([rn]m@.*)s/.*/yarn/\n RULE:[2:$1@$0](jhs@.*)s/.*/mapred/\n RULE:[2:$1@$0]([nd]n@.*)s/.*/hdfs/\n RULE:[2:$1@$0](hm@.*)s/.*/hbase/\n RULE:[2:$1@$0](rs@.*)s/.*/hbase/\n DEFAULT",
  497. "hadoop.proxyuser.hcat.groups": "users",
  498. "ipc.client.connection.maxidletime": "30000",
  499. "ipc.client.connect.max.retries": "50"
  500. },
  501. "hive-site": {
  502. "hive.enforce.sorting": "true",
  503. "javax.jdo.option.ConnectionPassword": "!`\"' 1",
  504. "javax.jdo.option.ConnectionDriverName": "com.mysql.jdbc.Driver",
  505. "hive.optimize.bucketmapjoin.sortedmerge": "true",
  506. "hive.security.metastore.authorization.manager": "org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider",
  507. "fs.file.impl.disable.cache": "true",
  508. "hive.auto.convert.join.noconditionaltask": "true",
  509. "hive.map.aggr": "true",
  510. "hive.optimize.index.filter": "true",
  511. "hive.security.authorization.enabled": "false",
  512. "hive.optimize.reducededuplication.min.reducer": "1",
  513. "hive.optimize.bucketmapjoin": "true",
  514. "hive.metastore.uris": "thrift://c6402.ambari.apache.org:9083",
  515. "hive.mapjoin.bucket.cache.size": "10000",
  516. "hive.auto.convert.join.noconditionaltask.size": "1000000000",
  517. "hive.vectorized.execution.enabled": "false",
  518. "javax.jdo.option.ConnectionUserName": "hive",
  519. "hive.metastore.cache.pinobjtypes": "Table,Database,Type,FieldSchema,Order",
  520. "hive.optimize.reducededuplication": "true",
  521. "hive.metastore.warehouse.dir": "/apps/hive/warehouse",
  522. "hive.metastore.client.socket.timeout": "60",
  523. "hive.auto.convert.join": "true",
  524. "hive.enforce.bucketing": "true",
  525. "hive.mapred.reduce.tasks.speculative.execution": "false",
  526. "hive.security.authenticator.manager": "org.apache.hadoop.hive.ql.security.ProxyUserAuthenticator",
  527. "javax.jdo.option.ConnectionURL": "jdbc:mysql://c6402.ambari.apache.org/hive?createDatabaseIfNotExist=true",
  528. "hive.auto.convert.sortmerge.join": "true",
  529. "fs.hdfs.impl.disable.cache": "true",
  530. "hive.security.authorization.manager": "org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider",
  531. "ambari.hive.db.schema.name": "hive",
  532. "hive.metastore.execute.setugi": "true",
  533. "hive.auto.convert.sortmerge.join.noconditionaltask": "true",
  534. "hive.server2.enable.doAs": "true",
  535. "hive.server2.authentication": "NOSASL",
  536. "hive.server2.transport.mode": "binary",
  537. "hive.optimize.mapjoin.mapreduce": "true",
  538. "hive.exec.scratchdir" : "/custompath/tmp/hive"
  539. },
  540. "hive-interactive-site": {
  541. "hive.enforce.sorting": "true",
  542. "javax.jdo.option.ConnectionPassword": "!`\"' 1",
  543. "javax.jdo.option.ConnectionDriverName": "com.mysql.jdbc.Driver",
  544. "hive.optimize.bucketmapjoin.sortedmerge": "true",
  545. "hive.security.metastore.authorization.manager": "org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider",
  546. "fs.file.impl.disable.cache": "true",
  547. "hive.auto.convert.join.noconditionaltask": "true",
  548. "hive.map.aggr": "true",
  549. "hive.optimize.index.filter": "true",
  550. "hive.security.authorization.enabled": "false",
  551. "hive.optimize.reducededuplication.min.reducer": "1",
  552. "hive.optimize.bucketmapjoin": "true",
  553. "hive.metastore.uris": "thrift://c6402.ambari.apache.org:9084",
  554. "hive.mapjoin.bucket.cache.size": "10000",
  555. "hive.auto.convert.join.noconditionaltask.size": "1000000000",
  556. "hive.vectorized.execution.enabled": "false",
  557. "javax.jdo.option.ConnectionUserName": "hive",
  558. "hive.metastore.cache.pinobjtypes": "Table,Database,Type,FieldSchema,Order",
  559. "hive.optimize.reducededuplication": "true",
  560. "hive.metastore.warehouse.dir": "/apps/hive/warehouse",
  561. "hive.metastore.client.socket.timeout": "60",
  562. "hive.auto.convert.join": "true",
  563. "hive.enforce.bucketing": "true",
  564. "hive.mapred.reduce.tasks.speculative.execution": "false",
  565. "hive.security.authenticator.manager": "org.apache.hadoop.hive.ql.security.ProxyUserAuthenticator",
  566. "javax.jdo.option.ConnectionURL": "jdbc:mysql://c6402.ambari.apache.org/hive?createDatabaseIfNotExist=true",
  567. "hive.auto.convert.sortmerge.join": "true",
  568. "fs.hdfs.impl.disable.cache": "true",
  569. "hive.security.authorization.manager": "org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider",
  570. "ambari.hive.db.schema.name": "hive",
  571. "hive.metastore.execute.setugi": "true",
  572. "hive.auto.convert.sortmerge.join.noconditionaltask": "true",
  573. "hive.server2.enable.doAs": "true",
  574. "hive.server2.authentication": "NOSASL",
  575. "hive.server2.transport.mode": "binary",
  576. "hive.optimize.mapjoin.mapreduce": "true",
  577. "hive.exec.scratchdir" : "/custompath/tmp/hive"
  578. },
  579. "hiveserver2-site": {
  580. "hive.metastore.metrics.enabled": "true",
  581. "hive.service.metrics.reporter": "HADOOP2"
  582. },
  583. "ranger-hive-plugin-properties": {
  584. "XAAUDIT.HDFS.DESTINTATION_FLUSH_INTERVAL_SECONDS": "900",
  585. "XAAUDIT.HDFS.DESTINATION_DIRECTORY": "hdfs://__REPLACE__NAME_NODE_HOST:8020/ranger/audit/%app-type%/%time:yyyyMMdd%",
  586. "XAAUDIT.HDFS.LOCAL_BUFFER_DIRECTORY": "__REPLACE__LOG_DIR/hadoop/%app-type%/audit",
  587. "common.name.for.certificate": "-",
  588. "XAAUDIT.HDFS.IS_ENABLED": "false",
  589. "XAAUDIT.HDFS.LOCAL_BUFFER_FILE": "%time:yyyyMMdd-HHmm.ss%.log",
  590. "SSL_KEYSTORE_PASSWORD": "myKeyFilePassword",
  591. "XAAUDIT.DB.IS_ENABLED": "true",
  592. "XAAUDIT.HDFS.LOCAL_BUFFER_ROLLOVER_INTERVAL_SECONDS": "600",
  593. "XAAUDIT.SOLR.SOLR_URL": "http://localhost:6083/solr/ranger_audits",
  594. "XAAUDIT.SOLR.IS_ENABLED": "false",
  595. "SSL_KEYSTORE_FILE_PATH": "/etc/hadoop/conf/ranger-plugin-keystore.jks",
  596. "XAAUDIT.HDFS.DESTINTATION_OPEN_RETRY_INTERVAL_SECONDS": "60",
  597. "policy_user": "ambari-qa",
  598. "UPDATE_XAPOLICIES_ON_GRANT_REVOKE": "true",
  599. "XAAUDIT.HDFS.DESTINTATION_FILE": "%hostname%-audit.log",
  600. "XAAUDIT.HDFS.DESTINTATION_ROLLOVER_INTERVAL_SECONDS": "86400",
  601. "XAAUDIT.HDFS.LOCAL_ARCHIVE_MAX_FILE_COUNT": "10",
  602. "SSL_TRUSTSTORE_PASSWORD": "changeit",
  603. "XAAUDIT.HDFS.LOCAL_ARCHIVE_DIRECTORY": "__REPLACE__LOG_DIR/hadoop/%app-type%/audit/archive",
  604. "ranger-hive-plugin-enabled": "No",
  605. "jdbc.driverClassName": "org.apache.hive.jdbc.HiveDriver",
  606. "REPOSITORY_CONFIG_USERNAME": "hive",
  607. "XAAUDIT.SOLR.MAX_FLUSH_INTERVAL_MS": "1000",
  608. "XAAUDIT.HDFS.LOCAL_BUFFER_FLUSH_INTERVAL_SECONDS": "60",
  609. "SSL_TRUSTSTORE_FILE_PATH": "/etc/hadoop/conf/ranger-plugin-truststore.jks",
  610. "REPOSITORY_CONFIG_PASSWORD": "hive",
  611. "XAAUDIT.SOLR.MAX_QUEUE_SIZE": "1"
  612. },
  613. "ranger-knox-plugin-properties": {
  614. "XAAUDIT.HDFS.DESTINTATION_FLUSH_INTERVAL_SECONDS": "900",
  615. "KNOX_HOME": "/usr/hdp/current/knox-server",
  616. "XAAUDIT.HDFS.DESTINATION_DIRECTORY": "hdfs://__REPLACE__NAME_NODE_HOST:8020/ranger/audit/%app-type%/%time:yyyyMMdd%",
  617. "XAAUDIT.HDFS.LOCAL_BUFFER_DIRECTORY": "__REPLACE__LOG_DIR/hadoop/%app-type%/audit",
  618. "common.name.for.certificate": "-",
  619. "XAAUDIT.HDFS.IS_ENABLED": "false",
  620. "XAAUDIT.HDFS.LOCAL_BUFFER_FILE": "%time:yyyyMMdd-HHmm.ss%.log",
  621. "SSL_KEYSTORE_PASSWORD": "myKeyFilePassword",
  622. "XAAUDIT.DB.IS_ENABLED": "true",
  623. "XAAUDIT.HDFS.LOCAL_BUFFER_ROLLOVER_INTERVAL_SECONDS": "600",
  624. "XAAUDIT.HDFS.DESTINTATION_OPEN_RETRY_INTERVAL_SECONDS": "60",
  625. "XAAUDIT.SOLR.SOLR_URL": "http://localhost:6083/solr/ranger_audits",
  626. "XAAUDIT.SOLR.IS_ENABLED": "false",
  627. "SSL_KEYSTORE_FILE_PATH": "/etc/hadoop/conf/ranger-plugin-keystore.jks",
  628. "ranger-knox-plugin-enabled": "No",
  629. "policy_user": "ambari-qa",
  630. "XAAUDIT.HDFS.DESTINTATION_FILE": "%hostname%-audit.log",
  631. "XAAUDIT.HDFS.DESTINTATION_ROLLOVER_INTERVAL_SECONDS": "86400",
  632. "XAAUDIT.HDFS.LOCAL_ARCHIVE_MAX_FILE_COUNT": "10",
  633. "SSL_TRUSTSTORE_PASSWORD": "changeit",
  634. "XAAUDIT.HDFS.LOCAL_ARCHIVE_DIRECTORY": "__REPLACE__LOG_DIR/hadoop/%app-type%/audit/archive",
  635. "REPOSITORY_CONFIG_USERNAME": "admin",
  636. "XAAUDIT.SOLR.MAX_FLUSH_INTERVAL_MS": "1000",
  637. "XAAUDIT.HDFS.LOCAL_BUFFER_FLUSH_INTERVAL_SECONDS": "60",
  638. "SSL_TRUSTSTORE_FILE_PATH": "/etc/hadoop/conf/ranger-plugin-truststore.jks",
  639. "REPOSITORY_CONFIG_PASSWORD": "admin-password",
  640. "XAAUDIT.SOLR.MAX_QUEUE_SIZE": "1"
  641. },
  642. "yarn-site": {
  643. "yarn.nodemanager.disk-health-checker.min-healthy-disks": "0.25",
  644. "yarn.nodemanager.container-executor.class": "org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor",
  645. "yarn.nodemanager.local-dirs": "/hadoop/yarn/local,/hadoop/yarn/local1",
  646. "yarn.resourcemanager.resource-tracker.address": "c6402.ambari.apache.org:8025",
  647. "yarn.nodemanager.remote-app-log-dir-suffix": "logs",
  648. "yarn.resourcemanager.hostname": "c6402.ambari.apache.org",
  649. "yarn.nodemanager.health-checker.script.timeout-ms": "60000",
  650. "yarn.resourcemanager.scheduler.class": "org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler",
  651. "yarn.nodemanager.resource.memory-mb": "2048",
  652. "yarn.scheduler.minimum-allocation-mb": "683",
  653. "yarn.resourcemanager.address": "c6402.ambari.apache.org:8050",
  654. "yarn.resourcemanager.scheduler.address": "c6402.ambari.apache.org:8030",
  655. "yarn.log-aggregation.retain-seconds": "2592000",
  656. "yarn.scheduler.maximum-allocation-mb": "2048",
  657. "yarn.log-aggregation-enable": "true",
  658. "yarn.nodemanager.address": "0.0.0.0:45454",
  659. "yarn.nodemanager.container-monitor.interval-ms": "3000",
  660. "yarn.nodemanager.log-aggregation.compression-type": "gz",
  661. "yarn.nodemanager.log.retain-seconds": "604800",
  662. "yarn.nodemanager.delete.debug-delay-sec": "0",
  663. "yarn.nodemanager.log-dirs": "/hadoop/yarn/log,/hadoop/yarn/log1",
  664. "yarn.nodemanager.health-checker.interval-ms": "135000",
  665. "yarn.resourcemanager.am.max-attempts": "2",
  666. "yarn.nodemanager.remote-app-log-dir": "/app-logs",
  667. "yarn.nodemanager.admin-env": "MALLOC_ARENA_MAX=$MALLOC_ARENA_MAX",
  668. "yarn.nodemanager.aux-services": "mapreduce_shuffle",
  669. "yarn.nodemanager.vmem-check-enabled": "false",
  670. "yarn.nodemanager.vmem-pmem-ratio": "2.1",
  671. "yarn.admin.acl": "*",
  672. "yarn.resourcemanager.webapp.address": "c6402.ambari.apache.org:8088",
  673. "yarn.resourcemanager.nodes.exclude-path": "/etc/hadoop/conf/yarn.exclude",
  674. "yarn.nodemanager.linux-container-executor.group": "hadoop",
  675. "yarn.acl.enable": "true",
  676. "yarn.log.server.url": "http://c6402.ambari.apache.org:19888/jobhistory/logs",
  677. "yarn.application.classpath": "/etc/hadoop/conf,/usr/lib/hadoop/*,/usr/lib/hadoop/lib/*,/usr/lib/hadoop-hdfs/*,/usr/lib/hadoop-hdfs/lib/*,/usr/lib/hadoop-yarn/*,/usr/lib/hadoop-yarn/lib/*,/usr/lib/hadoop-mapreduce/*,/usr/lib/hadoop-mapreduce/lib/*",
  678. "yarn.resourcemanager.admin.address": "c6402.ambari.apache.org:8141",
  679. "yarn.nodemanager.aux-services.mapreduce_shuffle.class": "org.apache.hadoop.mapred.ShuffleHandler",
  680. "yarn.timeline-service.leveldb-timeline-store.path": "/var/log/hadoop-yarn/timeline",
  681. "yarn.http.policy": "HTTP_ONLY",
  682. "yarn.resourcemanager.webapp.https.address": "c6402.ambari.apache.org:8090"
  683. },
  684. "ranger-yarn-plugin-properties": {
  685. "ranger-yarn-plugin-enabled": "No"
  686. },
  687. "tez-site": {
  688. "tez.am.log.level": "WARN",
  689. "tez.lib.uris": "hdfs:///apps/tez/,hdfs:///apps/tez/lib/",
  690. "tez.staging-dir": "/tmp/${user.name}/staging",
  691. "tez.am.am-rm.heartbeat.interval-ms.max": "250"
  692. },
  693. "slider-env": {
  694. "content": "export JAVA_HOME={{java64_home}}\nexport HADOOP_CONF_DIR={{hadoop_conf_dir}}"
  695. },
  696. "yarn-env": {
  697. "yarn_pid_dir_prefix": "/var/run/hadoop-yarn",
  698. "apptimelineserver_heapsize": "1024",
  699. "nodemanager_heapsize": "1024",
  700. "content": "\nexport HADOOP_YARN_HOME={{hadoop_yarn_home}}\nexport YARN_LOG_DIR={{yarn_log_dir_prefix}}/$USER\nexport YARN_PID_DIR={{yarn_pid_dir_prefix}}/$USER\nexport HADOOP_LIBEXEC_DIR={{hadoop_libexec_dir}}\nexport JAVA_HOME={{java64_home}}\n\n# User for YARN daemons\nexport HADOOP_YARN_USER=${HADOOP_YARN_USER:-yarn}\n\n# resolve links - $0 may be a softlink\nexport YARN_CONF_DIR=\"${YARN_CONF_DIR:-$HADOOP_YARN_HOME/conf}\"\n\n# some Java parameters\n# export JAVA_HOME=/home/y/libexec/jdk1.6.0/\nif [ \"$JAVA_HOME\" != \"\" ]; then\n #echo \"run java in $JAVA_HOME\"\n JAVA_HOME=$JAVA_HOME\nfi\n\nif [ \"$JAVA_HOME\" = \"\" ]; then\n echo \"Error: JAVA_HOME is not set.\"\n exit 1\nfi\n\nJAVA=$JAVA_HOME/bin/java\nJAVA_HEAP_MAX=-Xmx1000m\n\n# For setting YARN specific HEAP sizes please use this\n# Parameter and set appropriately\nYARN_HEAPSIZE={{yarn_heapsize}}\n\n# check envvars which might override default args\nif [ \"$YARN_HEAPSIZE\" != \"\" ]; then\n JAVA_HEAP_MAX=\"-Xmx\"\"$YARN_HEAPSIZE\"\"m\"\nfi\n\n# Resource Manager specific parameters\n\n# Specify the max Heapsize for the ResourceManager using a numerical value\n# in the scale of MB. For example, to specify an jvm option of -Xmx1000m, set\n# the value to 1000.\n# This value will be overridden by an Xmx setting specified in either YARN_OPTS\n# and/or YARN_RESOURCEMANAGER_OPTS.\n# If not specified, the default value will be picked from either YARN_HEAPMAX\n# or JAVA_HEAP_MAX with YARN_HEAPMAX as the preferred option of the two.\nexport YARN_RESOURCEMANAGER_HEAPSIZE={{resourcemanager_heapsize}}\n\n# Specify the JVM options to be used when starting the ResourceManager.\n# These options will be appended to the options specified as YARN_OPTS\n# and therefore may override any similar flags set in YARN_OPTS\n#export YARN_RESOURCEMANAGER_OPTS=\n\n# Node Manager specific parameters\n\n# Specify the max Heapsize for the NodeManager using a numerical value\n# in the scale of MB. For example, to specify an jvm option of -Xmx1000m, set\n# the value to 1000.\n# This value will be overridden by an Xmx setting specified in either YARN_OPTS\n# and/or YARN_NODEMANAGER_OPTS.\n# If not specified, the default value will be picked from either YARN_HEAPMAX\n# or JAVA_HEAP_MAX with YARN_HEAPMAX as the preferred option of the two.\nexport YARN_NODEMANAGER_HEAPSIZE={{nodemanager_heapsize}}\n\n# Specify the max Heapsize for the HistoryManager using a numerical value\n# in the scale of MB. For example, to specify an jvm option of -Xmx1000m, set\n# the value to 1024.\n# This value will be overridden by an Xmx setting specified in either YARN_OPTS\n# and/or YARN_HISTORYSERVER_OPTS.\n# If not specified, the default value will be picked from either YARN_HEAPMAX\n# or JAVA_HEAP_MAX with YARN_HEAPMAX as the preferred option of the two.\nexport YARN_HISTORYSERVER_HEAPSIZE={{apptimelineserver_heapsize}}\n\n# Specify the JVM options to be used when starting the NodeManager.\n# These options will be appended to the options specified as YARN_OPTS\n# and therefore may override any similar flags set in YARN_OPTS\n#export YARN_NODEMANAGER_OPTS=\n\n# so that filenames w/ spaces are handled correctly in loops below\nIFS=\n\n\n# default log directory and file\nif [ \"$YARN_LOG_DIR\" = \"\" ]; then\n YARN_LOG_DIR=\"$HADOOP_YARN_HOME/logs\"\nfi\nif [ \"$YARN_LOGFILE\" = \"\" ]; then\n YARN_LOGFILE='yarn.log'\nfi\n\n# default policy file for service-level authorization\nif [ \"$YARN_POLICYFILE\" = \"\" ]; then\n YARN_POLICYFILE=\"hadoop-policy.xml\"\nfi\n\n# restore ordinary behaviour\nunset IFS\n\n\nYARN_OPTS=\"$YARN_OPTS -Dhadoop.log.dir=$YARN_LOG_DIR\"\nYARN_OPTS=\"$YARN_OPTS -Dyarn.log.dir=$YARN_LOG_DIR\"\nYARN_OPTS=\"$YARN_OPTS -Dhadoop.log.file=$YARN_LOGFILE\"\nYARN_OPTS=\"$YARN_OPTS -Dyarn.log.file=$YARN_LOGFILE\"\nYARN_OPTS=\"$YARN_OPTS -Dyarn.home.dir=$YARN_COMMON_HOME\"\nYARN_OPTS=\"$YARN_OPTS -Dyarn.id.str=$YARN_IDENT_STRING\"\nYARN_OPTS=\"$YARN_OPTS -Dhadoop.root.logger=${YARN_ROOT_LOGGER:-INFO,console}\"\nYARN_OPTS=\"$YARN_OPTS -Dyarn.root.logger=${YARN_ROOT_LOGGER:-INFO,console}\"\nif [ \"x$JAVA_LIBRARY_PATH\" != \"x\" ]; then\n YARN_OPTS=\"$YARN_OPTS -Djava.library.path=$JAVA_LIBRARY_PATH\"\nfi\nYARN_OPTS=\"$YARN_OPTS -Dyarn.policy.file=$YARN_POLICYFILE\"",
  701. "yarn_heapsize": "1024",
  702. "yarn_user": "yarn",
  703. "resourcemanager_heapsize": "1024",
  704. "yarn_log_dir_prefix": "/var/log/hadoop-yarn",
  705. "min_user_id": "1000",
  706. "is_supported_yarn_ranger": "false",
  707. "service_check.queue.name": "default"
  708. },
  709. "container-executor": {
  710. "content": "yarn.nodemanager.local-dirs=/hadoop/yarn/local\nyarn.nodemanager.log-dirs=/hadoop/yarn/log\nyarn.nodemanager.linux-container-executor.group=hadoop\nbanned.users=hdfs,yarn,mapred,bin\nmin.user.id=500"
  711. },
  712. "hadoop-env": {
  713. "hdfs_tmp_dir": "/tmp",
  714. "namenode_opt_maxnewsize": "200m",
  715. "hdfs_log_dir_prefix": "/var/log/hadoop",
  716. "namenode_heapsize": "1024m",
  717. "namenode_opt_newsize": "200m",
  718. "namenode_opt_permsize" : "128m",
  719. "namenode_opt_maxpermsize" : "256m",
  720. "content": "\n# Set Hadoop-specific environment variables here.\n\n# The only required environment variable is JAVA_HOME. All others are\n# optional. When running a distributed configuration it is best to\n# set JAVA_HOME in this file, so that it is correctly defined on\n# remote nodes.\n\n# The java implementation to use. Required.\nexport JAVA_HOME={{java_home}}\nexport HADOOP_HOME_WARN_SUPPRESS=1\n\n# Hadoop home directory\nexport HADOOP_HOME=${HADOOP_HOME:-/usr/lib/hadoop}\n\n# Hadoop Configuration Directory\n#TODO: if env var set that can cause problems\nexport HADOOP_CONF_DIR=${HADOOP_CONF_DIR:-{{hadoop_conf_dir}}}\n\n{# this is different for HDP1 #}\n# Path to jsvc required by secure HDP 2.0 datanode\nexport JSVC_HOME={{jsvc_path}}\n\n\n# The maximum amount of heap to use, in MB. Default is 1000.\nexport HADOOP_HEAPSIZE=\"{{hadoop_heapsize}}\"\n\nexport HADOOP_NAMENODE_INIT_HEAPSIZE=\"-Xms{{namenode_heapsize}}\"\n\n# Extra Java runtime options. Empty by default.\nexport HADOOP_OPTS=\"-Djava.net.preferIPv4Stack=true ${HADOOP_OPTS}\"\n\n# Command specific options appended to HADOOP_OPTS when specified\nexport HADOOP_NAMENODE_OPTS=\"-server -XX:ParallelGCThreads=8 -XX:+UseConcMarkSweepGC -XX:ErrorFile={{hdfs_log_dir_prefix}}/$USER/hs_err_pid%p.log -XX:NewSize={{namenode_opt_newsize}} -XX:MaxNewSize={{namenode_opt_maxnewsize}} -XX:PermSize={{namenode_opt_permsize}} -XX:MaxPermSize={{namenode_opt_maxpermsize}} -Xloggc:{{hdfs_log_dir_prefix}}/$USER/gc.log-`date +'%Y%m%d%H%M'` -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -Xms{{namenode_heapsize}} -Xmx{{namenode_heapsize}} -Dhadoop.security.logger=INFO,DRFAS -Dhdfs.audit.logger=INFO,DRFAAUDIT ${HADOOP_NAMENODE_OPTS}\"\nHADOOP_JOBTRACKER_OPTS=\"-server -XX:ParallelGCThreads=8 -XX:+UseConcMarkSweepGC -XX:ErrorFile={{hdfs_log_dir_prefix}}/$USER/hs_err_pid%p.log -XX:NewSize={{jtnode_opt_newsize}} -XX:MaxNewSize={{jtnode_opt_maxnewsize}} -Xloggc:{{hdfs_log_dir_prefix}}/$USER/gc.log-`date +'%Y%m%d%H%M'` -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -Xmx{{jtnode_heapsize}} -Dhadoop.security.logger=INFO,DRFAS -Dmapred.audit.logger=INFO,MRAUDIT -Dhadoop.mapreduce.jobsummary.logger=INFO,JSA ${HADOOP_JOBTRACKER_OPTS}\"\n\nHADOOP_TASKTRACKER_OPTS=\"-server -Xmx{{ttnode_heapsize}} -Dhadoop.security.logger=ERROR,console -Dmapred.audit.logger=ERROR,console ${HADOOP_TASKTRACKER_OPTS}\"\nHADOOP_DATANODE_OPTS=\"-Xmx{{dtnode_heapsize}} -Dhadoop.security.logger=ERROR,DRFAS ${HADOOP_DATANODE_OPTS}\"\nHADOOP_BALANCER_OPTS=\"-server -Xmx{{hadoop_heapsize}}m ${HADOOP_BALANCER_OPTS}\"\n\nexport HADOOP_SECONDARYNAMENODE_OPTS=\"-server -XX:ParallelGCThreads=8 -XX:+UseConcMarkSweepGC -XX:ErrorFile={{hdfs_log_dir_prefix}}/$USER/hs_err_pid%p.log -XX:NewSize={{namenode_opt_newsize}} -XX:MaxNewSize={{namenode_opt_maxnewsize}} -XX:PermSize={{namenode_opt_permsize}} -XX:MaxPermSize={{namenode_opt_maxpermsize}} -Xloggc:{{hdfs_log_dir_prefix}}/$USER/gc.log-`date +'%Y%m%d%H%M'` -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps ${HADOOP_NAMENODE_INIT_HEAPSIZE} -Xmx{{namenode_heapsize}} -Dhadoop.security.logger=INFO,DRFAS -Dhdfs.audit.logger=INFO,DRFAAUDIT ${HADOOP_SECONDARYNAMENODE_OPTS}\"\n\n# The following applies to multiple commands (fs, dfs, fsck, distcp etc)\nexport HADOOP_CLIENT_OPTS=\"-Xmx${HADOOP_HEAPSIZE}m $HADOOP_CLIENT_OPTS\"\n# On secure datanodes, user to run the datanode as after dropping privileges\nexport HADOOP_SECURE_DN_USER={{hdfs_user}}\n\n# Extra ssh options. Empty by default.\nexport HADOOP_SSH_OPTS=\"-o ConnectTimeout=5 -o SendEnv=HADOOP_CONF_DIR\"\n\n# Where log files are stored. $HADOOP_HOME/logs by default.\nexport HADOOP_LOG_DIR={{hdfs_log_dir_prefix}}/$USER\n\n# History server logs\nexport HADOOP_MAPRED_LOG_DIR={{mapred_log_dir_prefix}}/$USER\n\n# Where log files are stored in the secure data environment.\nexport HADOOP_SECURE_DN_LOG_DIR={{hdfs_log_dir_prefix}}/$HADOOP_SECURE_DN_USER\n\n# File naming remote slave hosts. $HADOOP_HOME/conf/slaves by default.\n# export HADOOP_SLAVES=${HADOOP_HOME}/conf/slaves\n\n# host:path where hadoop code should be rsync'd from. Unset by default.\n# export HADOOP_MASTER=master:/home/$USER/src/hadoop\n\n# Seconds to sleep between slave commands. Unset by default. This\n# can be useful in large clusters, where, e.g., slave rsyncs can\n# otherwise arrive faster than the master can service them.\n# export HADOOP_SLAVE_SLEEP=0.1\n\n# The directory where pid files are stored. /tmp by default.\nexport HADOOP_PID_DIR={{hadoop_pid_dir_prefix}}/$USER\nexport HADOOP_SECURE_DN_PID_DIR={{hadoop_pid_dir_prefix}}/$HADOOP_SECURE_DN_USER\n\n# History server pid\nexport HADOOP_MAPRED_PID_DIR={{mapred_pid_dir_prefix}}/$USER\n\nYARN_RESOURCEMANAGER_OPTS=\"-Dyarn.server.resourcemanager.appsummary.logger=INFO,RMSUMMARY\"\n\n# A string representing this instance of hadoop. $USER by default.\nexport HADOOP_IDENT_STRING=$USER\n\n# The scheduling priority for daemon processes. See 'man nice'.\n\n# export HADOOP_NICENESS=10\n\n# Use libraries from standard classpath\nJAVA_JDBC_LIBS=\"\"\n#Add libraries required by mysql connector\nfor jarFile in `ls /usr/share/java/*mysql* 2>/dev/null`\ndo\n JAVA_JDBC_LIBS=${JAVA_JDBC_LIBS}:$jarFile\ndone\n#Add libraries required by oracle connector\nfor jarFile in `ls /usr/share/java/*ojdbc* 2>/dev/null`\ndo\n JAVA_JDBC_LIBS=${JAVA_JDBC_LIBS}:$jarFile\ndone\n#Add libraries required by nodemanager\nMAPREDUCE_LIBS={{mapreduce_libs_path}}\nexport HADOOP_CLASSPATH=${HADOOP_CLASSPATH}${JAVA_JDBC_LIBS}:${MAPREDUCE_LIBS}\n\nif [ -d \"/usr/lib/tez\" ]; then\n export HADOOP_CLASSPATH=$HADOOP_CLASSPATH:/usr/lib/tez/*:/usr/lib/tez/lib/*:/etc/tez/conf\nfi\n\n# Setting path to hdfs command line\nexport HADOOP_LIBEXEC_DIR={{hadoop_libexec_dir}}\n\n#Mostly required for hadoop 2.0\nexport JAVA_LIBRARY_PATH=${JAVA_LIBRARY_PATH}:/usr/lib/hadoop/lib/native/Linux-amd64-64",
  721. "hdfs_user": "hdfs",
  722. "dtnode_heapsize": "1024m",
  723. "proxyuser_group": "users",
  724. "hadoop_heapsize": "1024",
  725. "hadoop_pid_dir_prefix": "/var/run/hadoop"
  726. },
  727. "hive-env": {
  728. "hcat_pid_dir": "/var/run/webhcat",
  729. "hcat_user": "hcat",
  730. "hive_ambari_database": "MySQL",
  731. "hive_hostname": "abtest-3.c.pramod-thangali.internal",
  732. "hive_metastore_port": "9083",
  733. "webhcat_user": "hcat",
  734. "content": "\n if [ \"$SERVICE\" = \"cli\" ]; then\n if [ -z \"$DEBUG\" ]; then\n export HADOOP_OPTS=\"$HADOOP_OPTS -XX:NewRatio=12 -Xms10m -XX:MaxHeapFreeRatio=40 -XX:MinHeapFreeRatio=15 -XX:+UseParNewGC -XX:-UseGCOverheadLimit\"\n else\n export HADOOP_OPTS=\"$HADOOP_OPTS -XX:NewRatio=12 -Xms10m -XX:MaxHeapFreeRatio=40 -XX:MinHeapFreeRatio=15 -XX:-UseGCOverheadLimit\"\n fi\n fi\n\n# The heap size of the jvm stared by hive shell script can be controlled via:\n\nexport HADOOP_HEAPSIZE=\"{{hive_heapsize}}\"\nexport HADOOP_CLIENT_OPTS=\"-Xmx${HADOOP_HEAPSIZE}m $HADOOP_CLIENT_OPTS\"\n\n# Larger heap size may be required when running queries over large number of files or partitions.\n# By default hive shell scripts use a heap size of 256 (MB). Larger heap size would also be\n# appropriate for hive server (hwi etc).\n\n\n# Set HADOOP_HOME to point to a specific hadoop install directory\nHADOOP_HOME=${HADOOP_HOME:-{{hadoop_home}}}\n\n# Hive Configuration Directory can be controlled by:\nexport HIVE_CONF_DIR={{conf_dir}}\n\n# Folder containing extra ibraries required for hive compilation/execution can be controlled by:\nif [ \"${HIVE_AUX_JARS_PATH}\" != \"\" ]; then\n export HIVE_AUX_JARS_PATH=${HIVE_AUX_JARS_PATH}\nelif [ -d \"/usr/lib/hive-hcatalog/\" ]; then\n export HIVE_AUX_JARS_PATH=/usr/lib/hive-hcatalog/share/hcatalog/hive-hcatalog-core-*.jar\nelse\n export HIVE_AUX_JARS_PATH=/usr/lib/hcatalog/share/hcatalog/hcatalog-core.jar\nfi\nexport METASTORE_PORT={{hive_metastore_port}}",
  735. "hive_database_name": "hive",
  736. "hive_database_type": "mysql",
  737. "hive_pid_dir": "/var/run/hive",
  738. "hive_log_dir": "/var/log/hive",
  739. "hive_user": "hive",
  740. "hcat_log_dir": "/var/log/webhcat",
  741. "hive_database": "New MySQL Database",
  742. "hive_security_authorization": "None"
  743. },
  744. "ranger-env": {
  745. "xml_configurations_supported" : "false"
  746. },
  747. "cluster-env": {
  748. "managed_hdfs_resource_property_names": "",
  749. "security_enabled": "false",
  750. "hdfs_user_principal" : "",
  751. "hdfs_user_keytab" : "",
  752. "ignore_groupsusers_create": "false",
  753. "smokeuser": "ambari-qa",
  754. "kerberos_domain": "EXAMPLE.COM",
  755. "user_group": "hadoop",
  756. "repo_suse_rhel_template": "[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0",
  757. "repo_ubuntu_template": "{{package_type}} {{base_url}} {{components}}",
  758. "metrics_collector_external_hosts": "c6402.ambari.apache.org",
  759. "metrics_collector_external_port": "6189",
  760. "override_uid" : "true",
  761. "fetch_nonlocal_groups": "true",
  762. "manage_dirs_on_root": "true",
  763. "ignore_bad_mounts": "false"
  764. },
  765. "hbase-env": {
  766. "hbase_pid_dir": "/var/run/hbase",
  767. "hbase_user": "hbase",
  768. "hbase_master_heapsize": "1024m",
  769. "content": "\n# Set environment variables here.\n\n# The java implementation to use. Java 1.6 required.\nexport JAVA_HOME={{java64_home}}\n\n# HBase Configuration directory\nexport HBASE_CONF_DIR=${HBASE_CONF_DIR:-{{hbase_conf_dir}}}\n\n# Extra Java CLASSPATH elements. Optional.\nexport HBASE_CLASSPATH=${HBASE_CLASSPATH}\n\n# The maximum amount of heap to use, in MB. Default is 1000.\n# export HBASE_HEAPSIZE=1000\n\n# Extra Java runtime options.\n# Below are what we set by default. May only work with SUN JVM.\n# For more on why as well as other possible settings,\n# see http://wiki.apache.org/hadoop/PerformanceTuning\nexport HBASE_OPTS=\"-XX:+UseConcMarkSweepGC -XX:ErrorFile={{log_dir}}/hs_err_pid%p.log\"\nexport SERVER_GC_OPTS=\"-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:{{log_dir}}/gc.log-`date +'%Y%m%d%H%M'`\"\n# Uncomment below to enable java garbage collection logging.\n# export HBASE_OPTS=\"$HBASE_OPTS -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:$HBASE_HOME/logs/gc-hbase.log\"\n\n# Uncomment and adjust to enable JMX exporting\n# See jmxremote.password and jmxremote.access in $JRE_HOME/lib/management to configure remote password access.\n# More details at: http://java.sun.com/javase/6/docs/technotes/guides/management/agent.html\n#\n# export HBASE_JMX_BASE=\"-Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false\"\nexport HBASE_MASTER_OPTS=\"-Xmx{{master_heapsize}}\"\nexport HBASE_REGIONSERVER_OPTS=\"-Xmn{{regionserver_xmn_size}} -XX:CMSInitiatingOccupancyFraction=70 -Xms{{regionserver_heapsize}} -Xmx{{regionserver_heapsize}}\"\n# export HBASE_THRIFT_OPTS=\"$HBASE_JMX_BASE -Dcom.sun.management.jmxremote.port=10103\"\n# export HBASE_ZOOKEEPER_OPTS=\"$HBASE_JMX_BASE -Dcom.sun.management.jmxremote.port=10104\"\n\n# File naming hosts on which HRegionServers will run. $HBASE_HOME/conf/regionservers by default.\nexport HBASE_REGIONSERVERS=${HBASE_CONF_DIR}/regionservers\n\n# Extra ssh options. Empty by default.\n# export HBASE_SSH_OPTS=\"-o ConnectTimeout=1 -o SendEnv=HBASE_CONF_DIR\"\n\n# Where log files are stored. $HBASE_HOME/logs by default.\nexport HBASE_LOG_DIR={{log_dir}}\n\n# A string representing this instance of hbase. $USER by default.\n# export HBASE_IDENT_STRING=$USER\n\n# The scheduling priority for daemon processes. See 'man nice'.\n# export HBASE_NICENESS=10\n\n# The directory where pid files are stored. /tmp by default.\nexport HBASE_PID_DIR={{pid_dir}}\n\n# Seconds to sleep between slave commands. Unset by default. This\n# can be useful in large clusters, where, e.g., slave rsyncs can\n# otherwise arrive faster than the master can service them.\n# export HBASE_SLAVE_SLEEP=0.1\n\n# Tell HBase whether it should manage it's own instance of Zookeeper or not.\nexport HBASE_MANAGES_ZK=false\n\n{% if security_enabled %}\nexport HBASE_OPTS=\"$HBASE_OPTS -Djava.security.auth.login.config={{client_jaas_config_file}}\"\nexport HBASE_MASTER_OPTS=\"$HBASE_MASTER_OPTS -Djava.security.auth.login.config={{master_jaas_config_file}}\"\nexport HBASE_REGIONSERVER_OPTS=\"$HBASE_REGIONSERVER_OPTS -Djava.security.auth.login.config={{regionserver_jaas_config_file}}\"\n{% endif %}",
  770. "hbase_regionserver_heapsize": "1024m",
  771. "hbase_regionserver_xmn_max": "512",
  772. "hbase_regionserver_xmn_ratio": "0.2",
  773. "hbase_log_dir": "/var/log/hbase",
  774. "hbase_java_io_tmpdir" : "/tmp",
  775. "hbase_regionserver_shutdown_timeout": "30"
  776. },
  777. "ganglia-env": {
  778. "gmond_user": "nobody",
  779. "ganglia_runtime_dir": "/var/run/ganglia/hdp",
  780. "rrdcached_base_dir": "/var/lib/ganglia/rrds",
  781. "rrdcached_flush_timeout": "7200",
  782. "gmetad_user": "nobody",
  783. "rrdcached_write_threads": "4",
  784. "rrdcached_delay": "1800",
  785. "rrdcached_timeout": "3600"
  786. },
  787. "zookeeper-env": {
  788. "zk_user": "zookeeper",
  789. "zk_log_dir": "/var/log/zookeeper",
  790. "content": "\nexport JAVA_HOME={{java64_home}}\nexport ZOO_LOG_DIR={{zk_log_dir}}\nexport ZOOPIDFILE={{zk_pid_file}}\nexport SERVER_JVMFLAGS={{zk_server_heapsize}}\nexport JAVA=$JAVA_HOME/bin/java\nexport CLASSPATH=$CLASSPATH:/usr/share/zookeeper/*\n\n{% if security_enabled %}\nexport SERVER_JVMFLAGS=\"$SERVER_JVMFLAGS -Djava.security.auth.login.config={{zk_server_jaas_file}}\"\nexport CLIENT_JVMFLAGS=\"$CLIENT_JVMFLAGS -Djava.security.auth.login.config={{zk_client_jaas_file}}\"\n{% endif %}",
  791. "zk_pid_dir": "/var/run/zookeeper",
  792. "zookeeper_principal_name": "zookeeper/_HOST@EXAMPLE.COM",
  793. "zookeeper_keytab_path": "/etc/security/keytabs/zk.service.keytab"
  794. },
  795. "zoo.cfg": {
  796. "clientPort": "2181",
  797. "syncLimit": "5",
  798. "initLimit": "10",
  799. "dataDir": "/hadoop/zookeeper",
  800. "tickTime": "2000"
  801. },
  802. "mapred-env": {
  803. "content": "\n# export JAVA_HOME=/home/y/libexec/jdk1.6.0/\n\nexport HADOOP_JOB_HISTORYSERVER_HEAPSIZE={{jobhistory_heapsize}}\n\nexport HADOOP_MAPRED_ROOT_LOGGER=INFO,RFA\n\n#export HADOOP_JOB_HISTORYSERVER_OPTS=\n#export HADOOP_MAPRED_LOG_DIR=\"\" # Where log files are stored. $HADOOP_MAPRED_HOME/logs by default.\n#export HADOOP_JHS_LOGGER=INFO,RFA # Hadoop JobSummary logger.\n#export HADOOP_MAPRED_PID_DIR= # The pid files are stored. /tmp by default.\n#export HADOOP_MAPRED_IDENT_STRING= #A string representing this instance of hadoop. $USER by default\n#export HADOOP_MAPRED_NICENESS= #The scheduling priority for daemons. Defaults to 0.",
  804. "mapred_pid_dir_prefix": "/var/run/hadoop-mapreduce",
  805. "mapred_user": "mapred",
  806. "jobhistory_heapsize": "900",
  807. "mapred_log_dir_prefix": "/var/log/hadoop-mapreduce"
  808. },
  809. "tez-env": {
  810. "content": "\n# Tez specific configuration\nexport TEZ_CONF_DIR={{config_dir}}\n\n# Set HADOOP_HOME to point to a specific hadoop install directory\nexport HADOOP_HOME=${HADOOP_HOME:-{{hadoop_home}}}\n\n# The java implementation to use.\nexport JAVA_HOME={{java64_home}}",
  811. "tez_user": "tez"
  812. },
  813. "flume-env": {
  814. "content": "export JAVA_HOME={{java64_home}}\nexport HIVE_HOME={{flume_hive_home}}",
  815. "flume_user": "flume",
  816. "flume_log_dir": "/var/log/flume",
  817. "flume_run_dir": "/var/run/flume"
  818. },
  819. "storm-env": {
  820. "content": "\n#!/bin/bash\n\n# Set Storm specific environment variables here.\n\n# The java implementation to use.\nexport JAVA_HOME={{java_home}}\n\n# export STORM_CONF_DIR=\"\"",
  821. "storm_log_dir": "/var/log/storm",
  822. "storm_pid_dir": "/var/run/storm",
  823. "storm_user": "storm"
  824. },
  825. "falcon-env": {
  826. "falcon_apps_hdfs_dir": "/apps/falcon",
  827. "falcon_port": "15000",
  828. "falcon_pid_dir": "/var/run/falcon",
  829. "falcon_log_dir": "/var/log/falcon",
  830. "falcon.emeddedmq.port": "61616",
  831. "falcon_user": "falcon",
  832. "falcon_local_dir": "/hadoop/falcon",
  833. "content": "\n# The java implementation to use. If JAVA_HOME is not found we expect java and jar to be in path\nexport JAVA_HOME={{java_home}}\n\n# any additional java opts you want to set. This will apply to both client and server operations\n#export FALCON_OPTS=\n\n# any additional java opts that you want to set for client only\n#export FALCON_CLIENT_OPTS=\n\n# java heap size we want to set for the client. Default is 1024MB\n#export FALCON_CLIENT_HEAP=\n\n# any additional opts you want to set for prisim service.\n#export FALCON_PRISM_OPTS=\n\n# java heap size we want to set for the prisim service. Default is 1024MB\n#export FALCON_PRISM_HEAP=\n\n# any additional opts you want to set for falcon service.\nexport FALCON_SERVER_OPTS=\"-Dfalcon.embeddedmq={{falcon_embeddedmq_enabled}} -Dfalcon.emeddedmq.port={{falcon_emeddedmq_port}}\"\n\n# java heap size we want to set for the falcon server. Default is 1024MB\n#export FALCON_SERVER_HEAP=\n\n# What is is considered as falcon home dir. Default is the base locaion of the installed software\n#export FALCON_HOME_DIR=\n\n# Where log files are stored. Defatult is logs directory under the base install location\nexport FALCON_LOG_DIR={{falcon_log_dir}}\n\n# Where pid files are stored. Defatult is logs directory under the base install location\nexport FALCON_PID_DIR={{falcon_pid_dir}}\n\n# where the falcon active mq data is stored. Defatult is logs/data directory under the base install location\nexport FALCON_DATA_DIR={{falcon_embeddedmq_data}}\n\n# Where do you want to expand the war file. By Default it is in /server/webapp dir under the base install dir.\n#export FALCON_EXPANDED_WEBAPP_DIR=",
  834. "falcon.embeddedmq.data": "/hadoop/falcon/embeddedmq/data",
  835. "falcon.embeddedmq": "true",
  836. "falcon_store_uri": "file:///hadoop/falcon/store",
  837. "supports_hive_dr": "true"
  838. },
  839. "oozie-env": {
  840. "oozie_derby_database": "Derby",
  841. "oozie_admin_port": "11001",
  842. "oozie_hostname": "abtest-3.c.pramod-thangali.internal",
  843. "oozie_pid_dir": "/var/run/oozie",
  844. "content": "\n#!/bin/bash\n\nif [ -d \"/usr/lib/bigtop-tomcat\" ]; then\n export OOZIE_CONFIG=${OOZIE_CONFIG:-/etc/oozie/conf}\n export CATALINA_BASE=${CATALINA_BASE:-/var/lib/oozie/oozie-server}\n export CATALINA_TMPDIR=${CATALINA_TMPDIR:-/var/tmp/oozie}\n export OOZIE_CATALINA_HOME=/usr/lib/bigtop-tomcat\nfi\n\n#Set JAVA HOME\nexport JAVA_HOME={{java_home}}\n\nexport JRE_HOME=${JAVA_HOME}\n\n# Set Oozie specific environment variables here.\n\n# Settings for the Embedded Tomcat that runs Oozie\n# Java System properties for Oozie should be specified in this variable\n#\n# export CATALINA_OPTS=\n\n# Oozie configuration file to load from Oozie configuration directory\n#\n# export OOZIE_CONFIG_FILE=oozie-site.xml\n\n# Oozie logs directory\n#\nexport OOZIE_LOG={{oozie_log_dir}}\n\n# Oozie pid directory\n#\nexport CATALINA_PID={{pid_file}}\n\n#Location of the data for oozie\nexport OOZIE_DATA={{oozie_data_dir}}\n\n# Oozie Log4J configuration file to load from Oozie configuration directory\n#\n# export OOZIE_LOG4J_FILE=oozie-log4j.properties\n\n# Reload interval of the Log4J configuration file, in seconds\n#\n# export OOZIE_LOG4J_RELOAD=10\n\n# The port Oozie server runs\n#\nexport OOZIE_HTTP_PORT={{oozie_server_port}}\n\n# The admin port Oozie server runs\n#\nexport OOZIE_ADMIN_PORT={{oozie_server_admin_port}}\n\n# The host name Oozie server runs on\n#\n# export OOZIE_HTTP_HOSTNAME=`hostname -f`\n\n# The base URL for callback URLs to Oozie\n#\n# export OOZIE_BASE_URL=\"http://${OOZIE_HTTP_HOSTNAME}:${OOZIE_HTTP_PORT}/oozie\"\nexport JAVA_LIBRARY_PATH=/usr/lib/hadoop/lib/native/Linux-amd64-64",
  845. "oozie_user": "oozie",
  846. "oozie_admin_users": "{oozie_user}, {oozie_user}-admin",
  847. "oozie_database": "New Derby Database",
  848. "oozie_data_dir": "/hadoop/oozie/data",
  849. "oozie_log_dir": "/var/log/oozie",
  850. "oozie_tmp_dir": "/var/tmp/oozie"
  851. },
  852. "webhcat-env": {
  853. "content": "\n# The file containing the running pid\nPID_FILE={{pid_file}}\n\nTEMPLETON_LOG_DIR={{templeton_log_dir}}/\n\n\nWEBHCAT_LOG_DIR={{templeton_log_dir}}/\n\n# The console error log\nERROR_LOG={{templeton_log_dir}}/webhcat-console-error.log\n\n# The console log\nCONSOLE_LOG={{templeton_log_dir}}/webhcat-console.log\n\n#TEMPLETON_JAR=templeton_jar_name\n\n#HADOOP_PREFIX=hadoop_prefix\n\n#HCAT_PREFIX=hive_prefix\n\n# Set HADOOP_HOME to point to a specific hadoop install directory\nexport HADOOP_HOME=/usr/lib/hadoop"
  854. },
  855. "hcat-env": {
  856. "content": "JAVA_HOME={{java64_home}}\n HCAT_PID_DIR={{hcat_pid_dir}}/\n HCAT_LOG_DIR={{hcat_log_dir}}/\n HCAT_CONF_DIR={{hcat_conf_dir}}\n HADOOP_HOME=${HADOOP_HOME:-{{hadoop_home}}}\n #DBROOT is the path where the connector jars are downloaded\n DBROOT={{hcat_dbroot}}\n USER={{hcat_user}}\n METASTORE_PORT={{hive_metastore_port}}"
  857. },
  858. "pig-env": {
  859. "content": "\nJAVA_HOME={{java64_home}}\nHADOOP_HOME=${HADOOP_HOME:-{{hadoop_home}}}\n\nif [ -d \"/usr/lib/tez\" ]; then\n PIG_OPTS=\"$PIG_OPTS -Dmapreduce.framework.name=yarn\"\nfi"
  860. },
  861. "sqoop-env": {
  862. "content": "\n# Set Hadoop-specific environment variables here.\n\n#Set path to where bin/hadoop is available\n#Set path to where bin/hadoop is available\nexport HADOOP_HOME=${HADOOP_HOME:-/usr/lib/hadoop}\n\n#set the path to where bin/hbase is available\nexport HBASE_HOME=${HBASE_HOME:-/usr/lib/hbase}\n\n#Set the path to where bin/hive is available\nexport HIVE_HOME=${HIVE_HOME:-/usr/lib/hive}\n\n#Set the path for where zookeper config dir is\nexport ZOOCFGDIR=${ZOOCFGDIR:-/etc/zookeeper/conf}\n\n# add libthrift in hive to sqoop class path first so hive imports work\nexport SQOOP_USER_CLASSPATH=\"`ls ${HIVE_HOME}/lib/libthrift-*.jar 2> /dev/null`:${SQOOP_USER_CLASSPATH}\"",
  863. "sqoop_user": "sqoop"
  864. },
  865. "hdfs-log4j": {
  866. "content": "log4jproperties\nline2"
  867. },
  868. "yarn-log4j": {
  869. "content": "log4jproperties\nline2"
  870. },
  871. "hbase-log4j": {
  872. "content": "log4jproperties\nline2"
  873. },
  874. "hive-log4j": {
  875. "content": "log4jproperties\nline2"
  876. },
  877. "hive-exec-log4j": {
  878. "content": "log4jproperties\nline2"
  879. },
  880. "webhcat-log4j": {
  881. "content": "log4jproperties\nline2"
  882. },
  883. "zookeeper-log4j": {
  884. "content": "log4jproperties\nline2"
  885. },
  886. "pig-log4j": {
  887. "content": "log4jproperties\nline2"
  888. },
  889. "pig-properties": {
  890. "content": "pigproperties\nline2"
  891. },
  892. "oozie-log4j": {
  893. "content": "log4jproperties\nline2"
  894. },
  895. "flume-conf": {
  896. "content": "a1.sources = r1\n a1.sinks = k1\n a1.channels = c1\n # Describe/configure the source\n a1.sources.r1.type = netcat\n a1.sources.r1.bind = localhost\n a1.sources.r1.port = 44444\n \n # Describe the sink\n a1.sinks.k1.type = logger\n \n # Use a channel which buffers events in memory\n a1.channels.c1.type = memory\n a1.channels.c1.capacity = 1000\n a1.channels.c1.transactionCapacity = 100\n \n # Bind the source and sink to the channel\n a1.sources.r1.channels = c1\n a1.sinks.k1.channel = c1\n"
  897. },
  898. "flume-log4j": {
  899. "content": "log4jproperties\nline2"
  900. },
  901. "ranger-hbase-plugin-properties": {
  902. "POLICY_MGR_URL": "{{policymgr_mgr_url}}",
  903. "XAAUDIT.HDFS.DESTINTATION_FLUSH_INTERVAL_SECONDS": "900",
  904. "XAAUDIT.HDFS.DESTINATION_DIRECTORY": "hdfs://__REPLACE__NAME_NODE_HOST:8020/ranger/audit/%app-type%/%time:yyyyMMdd%",
  905. "XAAUDIT.HDFS.LOCAL_BUFFER_DIRECTORY": "__REPLACE__LOG_DIR/hadoop/%app-type%/audit",
  906. "common.name.for.certificate": "-",
  907. "XAAUDIT.HDFS.IS_ENABLED": "false",
  908. "SQL_CONNECTOR_JAR": "{{sql_connector_jar}}",
  909. "XAAUDIT.HDFS.LOCAL_BUFFER_FILE": "%time:yyyyMMdd-HHmm.ss%.log",
  910. "ranger-hbase-plugin-enabled": "No",
  911. "REPOSITORY_NAME": "{{repo_name}}",
  912. "SSL_KEYSTORE_PASSWORD": "myKeyFilePassword",
  913. "XAAUDIT.DB.IS_ENABLED": "true",
  914. "XAAUDIT.HDFS.LOCAL_BUFFER_ROLLOVER_INTERVAL_SECONDS": "600",
  915. "XAAUDIT.SOLR.SOLR_URL": "http://localhost:6083/solr/ranger_audits",
  916. "XAAUDIT.DB.DATABASE_NAME": "{{xa_audit_db_name}}",
  917. "XAAUDIT.DB.HOSTNAME": "{{xa_db_host}}",
  918. "XAAUDIT.SOLR.IS_ENABLED": "false",
  919. "SSL_KEYSTORE_FILE_PATH": "/etc/hadoop/conf/ranger-plugin-keystore.jks",
  920. "XAAUDIT.HDFS.DESTINTATION_OPEN_RETRY_INTERVAL_SECONDS": "60",
  921. "XAAUDIT.DB.USER_NAME": "{{xa_audit_db_user}}",
  922. "policy_user": "ambari-qa",
  923. "UPDATE_XAPOLICIES_ON_GRANT_REVOKE": "true",
  924. "XAAUDIT.HDFS.DESTINTATION_FILE": "%hostname%-audit.log",
  925. "XAAUDIT.HDFS.DESTINTATION_ROLLOVER_INTERVAL_SECONDS": "86400",
  926. "XAAUDIT.DB.PASSWORD": "{{xa_audit_db_password}}",
  927. "XAAUDIT.HDFS.LOCAL_ARCHIVE_MAX_FILE_COUNT": "10",
  928. "SSL_TRUSTSTORE_PASSWORD": "changeit",
  929. "XAAUDIT.HDFS.LOCAL_ARCHIVE_DIRECTORY": "__REPLACE__LOG_DIR/hadoop/%app-type%/audit/archive",
  930. "REPOSITORY_CONFIG_USERNAME": "hbase",
  931. "XAAUDIT.SOLR.MAX_FLUSH_INTERVAL_MS": "1000",
  932. "XAAUDIT.DB.FLAVOUR": "{{xa_audit_db_flavor}}",
  933. "XAAUDIT.HDFS.LOCAL_BUFFER_FLUSH_INTERVAL_SECONDS": "60",
  934. "SSL_TRUSTSTORE_FILE_PATH": "/etc/hadoop/conf/ranger-plugin-truststore.jks",
  935. "REPOSITORY_CONFIG_PASSWORD": "hbase",
  936. "XAAUDIT.SOLR.MAX_QUEUE_SIZE": "1"
  937. },
  938. "ranger-hdfs-plugin-properties": {
  939. "XAAUDIT.HDFS.DESTINTATION_FLUSH_INTERVAL_SECONDS": "900",
  940. "XAAUDIT.HDFS.DESTINATION_DIRECTORY": "hdfs://__REPLACE__NAME_NODE_HOST:8020/ranger/audit/%app-type%/%time:yyyyMMdd%",
  941. "XAAUDIT.HDFS.LOCAL_BUFFER_DIRECTORY": "__REPLACE__LOG_DIR/hadoop/%app-type%/audit",
  942. "common.name.for.certificate": "-",
  943. "XAAUDIT.HDFS.IS_ENABLED": "false",
  944. "XAAUDIT.HDFS.LOCAL_BUFFER_FILE": "%time:yyyyMMdd-HHmm.ss%.log",
  945. "SSL_KEYSTORE_PASSWORD": "myKeyFilePassword",
  946. "XAAUDIT.DB.IS_ENABLED": "true",
  947. "XAAUDIT.HDFS.LOCAL_BUFFER_ROLLOVER_INTERVAL_SECONDS": "600",
  948. "XAAUDIT.SOLR.SOLR_URL": "http://localhost:6083/solr/ranger_audits",
  949. "XAAUDIT.SOLR.IS_ENABLED": "false",
  950. "hadoop.rpc.protection": "-",
  951. "ranger-hdfs-plugin-enabled": "No",
  952. "SSL_KEYSTORE_FILE_PATH": "/etc/hadoop/conf/ranger-plugin-keystore.jks",
  953. "XAAUDIT.HDFS.DESTINTATION_OPEN_RETRY_INTERVAL_SECONDS": "60",
  954. "policy_user": "ambari-qa",
  955. "XAAUDIT.HDFS.DESTINTATION_FILE": "%hostname%-audit.log",
  956. "XAAUDIT.HDFS.DESTINTATION_ROLLOVER_INTERVAL_SECONDS": "86400",
  957. "XAAUDIT.HDFS.LOCAL_ARCHIVE_MAX_FILE_COUNT": "10",
  958. "SSL_TRUSTSTORE_PASSWORD": "changeit",
  959. "XAAUDIT.HDFS.LOCAL_ARCHIVE_DIRECTORY": "__REPLACE__LOG_DIR/hadoop/%app-type%/audit/archive",
  960. "REPOSITORY_CONFIG_USERNAME": "hadoop",
  961. "XAAUDIT.SOLR.MAX_FLUSH_INTERVAL_MS": "1000",
  962. "XAAUDIT.HDFS.LOCAL_BUFFER_FLUSH_INTERVAL_SECONDS": "60",
  963. "SSL_TRUSTSTORE_FILE_PATH": "/etc/hadoop/conf/ranger-plugin-truststore.jks",
  964. "REPOSITORY_CONFIG_PASSWORD": "hadoop",
  965. "XAAUDIT.SOLR.MAX_QUEUE_SIZE": "1"
  966. },
  967. "ams-hbase-env": {
  968. "hbase_pid_dir": "/var/run/ambari-metrics-collector/",
  969. "regionserver_xmn_size": "256m",
  970. "max_open_files_limit": "32768",
  971. "hbase_master_maxperm_size": "128m",
  972. "hbase_regionserver_xmn_ratio": "0.2",
  973. "hbase_master_heapsize": "512m",
  974. "hbase_regionserver_heapsize": "512m",
  975. "hbase_log_dir": "/var/log/ambari-metrics-collector",
  976. "hbase_master_xmn_size": "256m",
  977. "content": "\n",
  978. "hbase_regionserver_shutdown_timeout": "30"
  979. },
  980. "ams-log4j": {
  981. "content": "\n"
  982. },
  983. "ams-hbase-site": {
  984. "hbase.master.info.bindAddress": "0.0.0.0",
  985. "hbase.zookeeper.property.dataDir": "${hbase.tmp.dir}/zookeeper",
  986. "hbase.master.wait.on.regionservers.mintostart": "1",
  987. "hbase.replication": "false",
  988. "hbase.regionserver.global.memstore.lowerLimit": "0.3",
  989. "hbase.hregion.memstore.block.multiplier": "4",
  990. "hbase.hregion.memstore.flush.size": "134217728",
  991. "hbase.rootdir": "hdfs://localhost:8020/apps/hbase/data",
  992. "hbase.zookeeper.property.clientPort": "61181",
  993. "phoenix.spool.directory": "${hbase.tmp.dir}/phoenix-spool",
  994. "hbase.client.scanner.timeout.period": "900000",
  995. "phoenix.groupby.maxCacheSize": "307200000",
  996. "hbase.snapshot.enabled": "false",
  997. "hbase.regionserver.global.memstore.upperLimit": "0.35",
  998. "hbase_master_xmn_size": "128m",
  999. "phoenix.query.spoolThresholdBytes": "12582912",
  1000. "zookeeper.session.timeout": "120000",
  1001. "hbase.tmp.dir": "/var/lib/ambari-metrics-collector/hbase-tmp",
  1002. "hfile.block.cache.size": "0.3",
  1003. "hbase.regionserver.port": "61320",
  1004. "hbase.regionserver.thread.compaction.small": "3",
  1005. "hbase.master.info.port": "61310",
  1006. "hbase.hregion.majorcompaction": "0",
  1007. "phoenix.query.maxGlobalMemoryPercentage": "15",
  1008. "hbase.zookeeper.quorum": "{{zookeeper_quorum_hosts}}",
  1009. "hbase.regionserver.info.port": "61330",
  1010. "hbase.hstore.blockingStoreFiles": "200",
  1011. "hbase.master.port": "61300",
  1012. "hbase.zookeeper.leaderport": "61388",
  1013. "hbase.regionserver.thread.compaction.large": "2",
  1014. "phoenix.query.timeoutMs": "1200000",
  1015. "hbase.local.dir": "${hbase.tmp.dir}/local",
  1016. "hbase.cluster.distributed": "true",
  1017. "zookeeper.session.timeout.localHBaseCluster": "20000",
  1018. "hbase.client.scanner.caching": "10000",
  1019. "phoenix.sequence.saltBuckets": "2",
  1020. "hbase.hstore.flusher.count": "2",
  1021. "hbase.zookeeper.peerport": "61288"
  1022. },
  1023. "ams-env": {
  1024. "ambari_metrics_user": "ams",
  1025. "metrics_monitor_log_dir": "/var/log/ambari-metrics-monitor",
  1026. "metrics_collector_log_dir": "/var/log/ambari-metrics-collector",
  1027. "metrics_monitor_pid_dir": "/var/run/ambari-metrics-monitor",
  1028. "content": "\n",
  1029. "metrics_collector_pid_dir": "/var/run/ambari-metrics-collector",
  1030. "metrics_collector_heapsize": "512m"
  1031. },
  1032. "ams-hbase-policy": {
  1033. "security.masterregion.protocol.acl": "*",
  1034. "security.admin.protocol.acl": "*",
  1035. "security.client.protocol.acl": "*"
  1036. },
  1037. "ams-hbase-log4j": {
  1038. "content": "\n"
  1039. },
  1040. "ams-site": {
  1041. "timeline.metrics.service.http.policy": "HTTPS_ONLY",
  1042. "timeline.metrics.host.aggregator.minute.ttl": "604800",
  1043. "timeline.metrics.cluster.aggregator.daily.checkpointCutOffMultiplier": "1",
  1044. "timeline.metrics.cluster.aggregator.daily.ttl": "63072000",
  1045. "timeline.metrics.cluster.aggregator.minute.timeslice.interval": "30",
  1046. "timeline.metrics.service.resultset.fetchSize": "2000",
  1047. "timeline.metrics.service.checkpointDelay": "60",
  1048. "timeline.metrics.host.aggregator.hourly.disabled": "false",
  1049. "timeline.metrics.cluster.aggregator.daily.interval": "86400",
  1050. "timeline.metrics.cluster.aggregator.hourly.ttl": "31536000",
  1051. "timeline.metrics.host.aggregator.daily.disabled": "false",
  1052. "timeline.metrics.hbase.compression.scheme": "SNAPPY",
  1053. "timeline.metrics.cluster.aggregator.hourly.interval": "3600",
  1054. "phoenix.spool.directory": "/tmp",
  1055. "timeline.metrics.host.aggregator.ttl": "86400",
  1056. "timeline.metrics.cluster.aggregator.hourly.checkpointCutOffMultiplier": "2",
  1057. "timeline.metrics.service.cluster.aggregator.appIds": "datanode,nodemanager,hbase",
  1058. "timeline.metrics.service.webapp.address": "0.0.0.0:6188",
  1059. "timeline.metrics.cluster.aggregator.hourly.disabled": "false",
  1060. "timeline.metrics.aggregator.checkpoint.dir": "/var/lib/ambari-metrics-collector/checkpoint",
  1061. "timeline.metrics.hbase.data.block.encoding": "FAST_DIFF",
  1062. "timeline.metrics.cluster.aggregator.minute.ttl": "2592000",
  1063. "timeline.metrics.host.aggregator.minute.disabled": "false",
  1064. "phoenix.query.maxGlobalMemoryPercentage": "25",
  1065. "timeline.metrics.service.operation.mode": "distributed",
  1066. "timeline.metrics.host.aggregator.minute.checkpointCutOffMultiplier": "2",
  1067. "timeline.metrics.cluster.aggregator.minute.checkpointCutOffMultiplier": "2",
  1068. "timeline.metrics.host.aggregator.hourly.checkpointCutOffMultiplier": "2",
  1069. "timeline.metrics.cluster.aggregator.daily.disabled": "false",
  1070. "timeline.metrics.service.rpc.address": "0.0.0.0:60200",
  1071. "timeline.metrics.cluster.aggregator.minute.disabled": "false",
  1072. "timeline.metrics.host.aggregator.hourly.ttl": "2592000",
  1073. "timeline.metrics.host.aggregator.minute.interval": "120",
  1074. "timeline.metrics.service.default.result.limit": "5760",
  1075. "timeline.metrics.host.aggregator.daily.ttl": "31536000",
  1076. "timeline.metrics.host.aggregator.daily.checkpointCutOffMultiplier": "1",
  1077. "timeline.metrics.daily.aggregator.minute.interval": "86400",
  1078. "timeline.metrics.cluster.aggregator.minute.interval": "120",
  1079. "timeline.metrics.host.aggregator.hourly.interval": "3600"
  1080. },
  1081. "ams-grafana-env": {
  1082. "metrics_grafana_log_dir": "/var/log/ambari-metrics-grafana",
  1083. "metrics_grafana_pid_dir": "/var/run/ambari-metrics-grafana",
  1084. "metrics_grafana_data_dir": "/var/lib/ambari-metrics-grafana",
  1085. "content": "\n",
  1086. "metrics_grafana_username" : "admin",
  1087. "metrics_grafana_password" : "admin"
  1088. },
  1089. "ams-ssl-server": {
  1090. "content": "\n"
  1091. },
  1092. "ams-ssl-client": {
  1093. "ssl.client.truststore.location": "/etc/security/clientKeys/all.jks",
  1094. "ssl.client.truststore.type": "jks",
  1095. "ssl.client.truststore.password": "bigdata"
  1096. },
  1097. "ams-grafana-ini": {
  1098. "content": "\n"
  1099. },
  1100. "hadoop-metrics2.properties": {
  1101. "content": "# Licensed to the Apache Software Foundation (ASF) under one or more\r\n# contributor license agreements. See the NOTICE file distributed with\r\n# this work for additional information regarding copyright ownership.\r\n# The ASF licenses this file to You under the Apache License, Version 2.0\r\n# (the \"License\"); you may not use this file except in compliance with\r\n# the License. You may obtain a copy of the License at\r\n#\r\n# http:\/\/www.apache.org\/licenses\/LICENSE-2.0\r\n#\r\n# Unless required by applicable law or agreed to in writing, software\r\n# distributed under the License is distributed on an \"AS IS\" BASIS,\r\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n# See the License for the specific language governing permissions and\r\n# limitations under the License.\r\n\r\n# syntax: [prefix].[source|sink|jmx].[instance].[options]\r\n# See package.html for org.apache.hadoop.metrics2 for details\r\n\r\n{% if has_ganglia_server %}\r\n*.period=60\r\n\r\n*.sink.ganglia.class=org.apache.hadoop.metrics2.sink.ganglia.GangliaSink31\r\n*.sink.ganglia.period=10\r\n\r\n# default for supportsparse is false\r\n*.sink.ganglia.supportsparse=true\r\n\r\n.sink.ganglia.slope=jvm.metrics.gcCount=zero,jvm.metrics.memHeapUsedM=both\r\n.sink.ganglia.dmax=jvm.metrics.threadsBlocked=70,jvm.metrics.memHeapUsedM=40\r\n\r\n# Hook up to the server\r\nnamenode.sink.ganglia.servers={{ganglia_server_host}}:8661\r\ndatanode.sink.ganglia.servers={{ganglia_server_host}}:8659\r\njobtracker.sink.ganglia.servers={{ganglia_server_host}}:8662\r\ntasktracker.sink.ganglia.servers={{ganglia_server_host}}:8658\r\nmaptask.sink.ganglia.servers={{ganglia_server_host}}:8660\r\nreducetask.sink.ganglia.servers={{ganglia_server_host}}:8660\r\nresourcemanager.sink.ganglia.servers={{ganglia_server_host}}:8664\r\nnodemanager.sink.ganglia.servers={{ganglia_server_host}}:8657\r\nhistoryserver.sink.ganglia.servers={{ganglia_server_host}}:8666\r\njournalnode.sink.ganglia.servers={{ganglia_server_host}}:8654\r\nnimbus.sink.ganglia.servers={{ganglia_server_host}}:8649\r\nsupervisor.sink.ganglia.servers={{ganglia_server_host}}:8650\r\n\r\nresourcemanager.sink.ganglia.tagsForPrefix.yarn=Queue\r\n\r\n{% endif %}\r\n\r\n{% if has_metric_collector %}\r\n\r\n*.period={{metrics_collection_period}}\r\n*.sink.timeline.plugin.urls=file:\/\/\/usr\/lib\/ambari-metrics-hadoop-sink\/ambari-metrics-hadoop-sink.jar\r\n*.sink.timeline.class=org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink\r\n*.sink.timeline.period={{metrics_collection_period}}\r\n*.sink.timeline.sendInterval={{metrics_report_interval}}000\r\n*.sink.timeline.slave.host.name={{hostname}}\r\n*.sink.timeline.zookeeper.quorum={{zookeeper_quorum}}\r\n*.sink.timeline.protocol={{metric_collector_protocol}}\r\n*.sink.timeline.port={{metric_collector_port}}\r\n\r\n# HTTPS properties\r\n*.sink.timeline.truststore.path = {{metric_truststore_path}}\r\n*.sink.timeline.truststore.type = {{metric_truststore_type}}\r\n*.sink.timeline.truststore.password = {{metric_truststore_password}}\r\n\r\ndatanode.sink.timeline.collector={{metric_collector_hosts}}\r\nnamenode.sink.timeline.collector={{metric_collector_hosts}}\r\nresourcemanager.sink.timeline.collector={{metric_collector_hosts}}\r\nnodemanager.sink.timeline.collector={{metric_collector_hosts}}\r\njobhistoryserver.sink.timeline.collector={{metric_collector_hosts}}\r\njournalnode.sink.timeline.collector={{metric_collector_hosts}}\r\nmaptask.sink.timeline.collector={{metric_collector_hosts}}\r\nreducetask.sink.timeline.collector={{metric_collector_hosts}}\r\napplicationhistoryserver.sink.timeline.collector={{metric_collector_hosts}}\r\n\r\nresourcemanager.sink.timeline.tagsForPrefix.yarn=Queue\r\n\r\n{% if is_nn_client_port_configured %}\r\n# Namenode rpc ports customization\r\nnamenode.sink.timeline.metric.rpc.client.port={{nn_rpc_client_port}}\r\n{% endif %}\r\n{% if is_nn_dn_port_configured %}\r\nnamenode.sink.timeline.metric.rpc.datanode.port={{nn_rpc_dn_port}}\r\n{% endif %}\r\n{% if is_nn_healthcheck_port_configured %}\r\nnamenode.sink.timeline.metric.rpc.healthcheck.port={{nn_rpc_healthcheck_port}}\r\n{% endif %}\r\n\r\n{% endif %}"
  1102. }
  1103. },
  1104. "configurationAttributes": {
  1105. "ams-hbase-env": {},
  1106. "ams-hbase-security-site": {},
  1107. "ams-log4j": {},
  1108. "ams-hbase-site": {},
  1109. "ams-hbase-policy": {},
  1110. "ams-hbase-log4j": {},
  1111. "ams-site": {},
  1112. "ams-ssl-server": {},
  1113. "ams-ssl-client": {},
  1114. "sqoop-site": {},
  1115. "yarn-site": {
  1116. "final": {
  1117. "yarn.nodemanager.disk-health-checker.min-healthy-disks": "true",
  1118. "yarn.nodemanager.container-executor.class": "true",
  1119. "yarn.nodemanager.local-dirs": "true"
  1120. }
  1121. },
  1122. "tez-site": {
  1123. "final": {
  1124. "tez.am.log.level": "true"
  1125. }
  1126. },
  1127. "capacity-scheduler": {
  1128. "final": {
  1129. "yarn.scheduler.capacity.node-locality-delay": "true"
  1130. }
  1131. },
  1132. "mapred-site": {
  1133. "final": {
  1134. "mapred.healthChecker.script.path": "true",
  1135. "mapreduce.jobtracker.staging.root.dir": "true"
  1136. }
  1137. },
  1138. "oozie-site": {
  1139. "final": {
  1140. "oozie.service.PurgeService.purge.interval": "true",
  1141. "oozie.service.CallableQueueService.queue.size": "true"
  1142. }
  1143. },
  1144. "webhcat-site": {
  1145. "final": {
  1146. "templeton.pig.path": "true",
  1147. "templeton.exec.timeout": "true",
  1148. "templeton.override.enabled": "true"
  1149. }
  1150. },
  1151. "hdfs-site": {
  1152. "final": {
  1153. "dfs.web.ugi": "true",
  1154. "dfs.support.append": "true",
  1155. "dfs.cluster.administrators": "true"
  1156. }
  1157. },
  1158. "hbase-site": {
  1159. "final": {
  1160. "hbase.client.keyvalue.maxsize": "true",
  1161. "hbase.hstore.compactionThreshold": "true",
  1162. "hbase.rootdir": "true"
  1163. }
  1164. },
  1165. "core-site": {
  1166. "final": {
  1167. "hadoop.proxyuser.hive.groups": "true",
  1168. "webinterface.private.actions": "true",
  1169. "hadoop.proxyuser.oozie.hosts": "true"
  1170. }
  1171. },
  1172. "hive-site": {
  1173. "final": {
  1174. "javax.jdo.option.ConnectionPassword": "true",
  1175. "javax.jdo.option.ConnectionDriverName": "true",
  1176. "hive.optimize.bucketmapjoin.sortedmerge": "true"
  1177. }
  1178. },
  1179. "hiveserver2-site": {
  1180. "final": {
  1181. "javax.jdo.option.ConnectionPassword": "true",
  1182. "javax.jdo.option.ConnectionDriverName": "true",
  1183. "hive.optimize.bucketmapjoin.sortedmerge": "true"
  1184. }
  1185. },
  1186. "hive-interactive-site": {
  1187. "final": {
  1188. "javax.jdo.option.ConnectionPassword": "true",
  1189. "javax.jdo.option.ConnectionDriverName": "true",
  1190. "hive.optimize.bucketmapjoin.sortedmerge": "true"
  1191. }
  1192. }
  1193. },
  1194. "configurationTags": {
  1195. "ams-hbase-env": {
  1196. "tag": "version1"
  1197. },
  1198. "ams-hbase-security-site": {
  1199. "tag": "version1"
  1200. },
  1201. "ams-hbase-site": {
  1202. "tag": "version1"
  1203. },
  1204. "ams-env": {
  1205. "tag": "version1"
  1206. },
  1207. "ams-site": {
  1208. "tag": "version1"
  1209. },
  1210. "ams-ssl-server": {
  1211. "tag": "version1"
  1212. },
  1213. "ams-ssl-client": {
  1214. "tag": "version1"
  1215. },
  1216. "ams-hbase-policy": {
  1217. "tag": "version1"
  1218. },
  1219. "ams-log4j": {
  1220. "tag": "version1"
  1221. },
  1222. "ams-hbase-log4j": {
  1223. "tag": "version1"
  1224. },
  1225. "capacity-scheduler": {
  1226. "tag": "version1"
  1227. },
  1228. "oozie-site": {
  1229. "tag": "version1"
  1230. },
  1231. "storm-site": {
  1232. "tag": "version1"
  1233. },
  1234. "webhcat-site": {
  1235. "tag": "version1"
  1236. },
  1237. "global": {
  1238. "tag": "version1"
  1239. },
  1240. "mapred-site": {
  1241. "tag": "version1"
  1242. },
  1243. "hdfs-site": {
  1244. "tag": "version1"
  1245. },
  1246. "hbase-site": {
  1247. "tag": "version1"
  1248. },
  1249. "core-site": {
  1250. "tag": "version1"
  1251. },
  1252. "yarn-site": {
  1253. "tag": "version1"
  1254. },
  1255. "hive-site": {
  1256. "tag": "version1"
  1257. },
  1258. "hive-interactive-site": {
  1259. "tag": "version1"
  1260. },
  1261. "hiveserver2-site": {
  1262. "tag": "version1"
  1263. },
  1264. "hdfs-log4j": {
  1265. "tag": "version1"
  1266. },
  1267. "yarn-log4j": {
  1268. "tag": "version1"
  1269. },
  1270. "hbase-log4j": {
  1271. "tag": "version1"
  1272. },
  1273. "hive-log4j": {
  1274. "tag": "version1"
  1275. },
  1276. "hive-exec-log4j": {
  1277. "tag": "version1"
  1278. },
  1279. "zookeeper-log4j": {
  1280. "tag": "version1"
  1281. },
  1282. "oozie-log4j": {
  1283. "tag": "version1"
  1284. },
  1285. "pig-log4j": {
  1286. "tag": "version1"
  1287. },
  1288. "pig-properties": {
  1289. "tag": "version1"
  1290. }
  1291. },
  1292. "commandId": "7-1",
  1293. "clusterHostInfo": {
  1294. "snamenode_hosts": [
  1295. "c6402.ambari.apache.org"
  1296. ],
  1297. "nodemanager_hosts": [
  1298. "c6402.ambari.apache.org"
  1299. ],
  1300. "drpc_server_hosts": [
  1301. "c6402.ambari.apache.org"
  1302. ],
  1303. "datanode_hosts": [
  1304. "c6402.ambari.apache.org"
  1305. ],
  1306. "ganglia_server_hosts": [
  1307. "c6401.ambari.apache.org"
  1308. ],
  1309. "hive_server_hosts": [
  1310. "c6402.ambari.apache.org"
  1311. ],
  1312. "logviewer_server_hosts": [
  1313. "c6402.ambari.apache.org"
  1314. ],
  1315. "hive_metastore_hosts": [
  1316. "c6402.ambari.apache.org"
  1317. ],
  1318. "hbase_regionserver_hosts": [
  1319. "c6402.ambari.apache.org"
  1320. ],
  1321. "webhcat_server_hosts": [
  1322. "c6402.ambari.apache.org"
  1323. ],
  1324. "zookeeper_server_hosts": [
  1325. "c6401.ambari.apache.org",
  1326. "c6402.ambari.apache.org"
  1327. ],
  1328. "supervisor_hosts": [
  1329. "c6401.ambari.apache.org",
  1330. "c6402.ambari.apache.org"
  1331. ],
  1332. "ganglia_monitor_hosts": [
  1333. "c6401.ambari.apache.org",
  1334. "c6402.ambari.apache.org"
  1335. ],
  1336. "all_ping_ports": [
  1337. "8670",
  1338. "8670"
  1339. ],
  1340. "resourcemanager_hosts": [
  1341. "c6402.ambari.apache.org"
  1342. ],
  1343. "all_hosts": [
  1344. "c6401.ambari.apache.org",
  1345. "c6402.ambari.apache.org"
  1346. ],
  1347. "all_racks": [
  1348. "/default/rack_01",
  1349. "/default/rack_02"
  1350. ],
  1351. "all_ipv4_ips": [
  1352. "127.0.0.1",
  1353. "127.0.0.1"
  1354. ],
  1355. "storm_ui_server_hosts": [
  1356. "c6401.ambari.apache.org"
  1357. ],
  1358. "oozie_server_hosts": [
  1359. "c6402.ambari.apache.org"
  1360. ],
  1361. "historyserver_hosts": [
  1362. "c6402.ambari.apache.org"
  1363. ],
  1364. "nimbus_hosts": [
  1365. "c6401.ambari.apache.org"
  1366. ],
  1367. "namenode_hosts": [
  1368. "c6401.ambari.apache.org"
  1369. ],
  1370. "hbase_master_hosts": [
  1371. "c6402.ambari.apache.org"
  1372. ],
  1373. "hive_mysql_hosts": [
  1374. "c6402.ambari.apache.org"
  1375. ],
  1376. "falcon_server_hosts": [
  1377. "c6402.ambari.apache.org"
  1378. ],
  1379. "metrics_collector_hosts": [
  1380. "c6401.ambari.apache.org"
  1381. ]
  1382. }
  1383. }
Add Comment
Please, Sign In to add comment