| # Licensed to the Apache Software Foundation (ASF) under one or more |
| # contributor license agreements. See the NOTICE file distributed with |
| # this work for additional information regarding copyright ownership. |
| # The ASF licenses this file to You under the Apache License, Version 2.0 |
| # (the "License"); you may not use this file except in compliance with |
| # the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific |
| |
| [server] |
| hostname=localhost |
| url_port=8440 |
| secured_url_port=8441 |
| |
| [agent] |
| prefix=/var/lib/ambari-agent/data |
| ;loglevel=(DEBUG/INFO) |
| loglevel=INFO |
| data_cleanup_interval=86400 |
| data_cleanup_max_age=2592000 |
| ping_port=8670 |
| cache_dir=/var/lib/ambari-agent/cache |
| |
| [puppet] |
| puppetmodules=/var/lib/ambari-agent/puppet |
| ruby_home=/usr/lib/ambari-agent/lib/ruby-1.8.7-p370 |
| puppet_home=/usr/lib/ambari-agent/lib/puppet-2.7.9 |
| facter_home=/usr/lib/ambari-agent/lib/facter-1.6.10 |
| # How many seconds will pass before running puppet is terminated on timeout |
| timeout_seconds = 600 |
| |
| [command] |
| maxretries=2 |
| sleepBetweenRetries=1 |
| |
| [security] |
| keysdir=/var/lib/ambari-agent/keys |
| server_crt=ca.crt |
| passphrase_env_var_name=AMBARI_PASSPHRASE |
| |
| [services] |
| pidLookupPath=/var/run/ |
| |
| [heartbeat] |
| state_interval=6 |
| dirs=/etc/hadoop,/etc/hadoop/conf,/etc/hbase,/etc/hcatalog,/etc/hive,/etc/oozie, |
| /etc/sqoop,/etc/ganglia,/etc/nagios, |
| /var/run/hadoop,/var/run/zookeeper,/var/run/hbase,/var/run/templeton,/var/run/oozie, |
| /var/log/hadoop,/var/log/zookeeper,/var/log/hbase,/var/run/templeton,/var/log/hive, |
| /var/log/nagios |
| rpms=nagios,ganglia, |
| hadoop,hadoop-lzo,hbase,oozie,sqoop,pig,zookeeper,hive,libconfuse,ambari-log4j |