| # 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 |
| connect_retry_delay=10 |
| max_reconnect_retry_delay=30 |
| |
| |
| [agent] |
| logdir=/var/log/ambari-agent |
| piddir=/var/run/ambari-agent |
| prefix=/var/lib/ambari-agent/data |
| ;loglevel=(DEBUG/INFO) |
| loglevel=INFO |
| data_cleanup_interval=86400 |
| data_cleanup_max_age=2592000 |
| data_cleanup_max_size_MB = 100 |
| ping_port=8670 |
| cache_dir=/var/lib/ambari-agent/cache |
| tolerate_download_failures=true |
| run_as_user=root |
| parallel_execution=0 |
| ; 0 - don't report commands output periodically. Reduces bandwidth on big cluster |
| command_update_output=1 |
| alert_reports_interval=5 |
| command_reports_interval=5 |
| status_commands_run_interval=20 |
| alert_grace_period=5 |
| status_command_timeout=5 |
| ; (send_alert_changes_only) - enabling this is necessary to deploy big perf clusters |
| send_alert_changes_only=0 |
| alert_kinit_timeout=14400000 |
| system_resource_overrides=/etc/resource_overrides |
| ; memory_threshold_soft_mb=400 |
| ; memory_threshold_hard_mb=1000 |
| ; ignore_mount_points=/mnt/custom1,/mnt/custom2 |
| |
| [security] |
| keysdir=/var/lib/ambari-agent/keys |
| server_crt=ca.crt |
| passphrase_env_var_name=AMBARI_PASSPHRASE |
| ssl_verify_cert=0 |
| credential_lib_dir=/var/lib/ambari-agent/cred/lib |
| credential_conf_dir=/var/lib/ambari-agent/cred/conf |
| credential_shell_cmd=org.apache.hadoop.security.alias.CredentialShell |
| |
| [network] |
| ; this option apply only for Agent communication |
| use_system_proxy_settings=true |
| |
| [services] |
| pidLookupPath=/var/run/ |
| |
| [heartbeat] |
| state_interval_seconds=60 |
| dirs=/etc/hadoop,/etc/hadoop/conf,/etc/hbase,/etc/hcatalog,/etc/hive,/etc/oozie, |
| /etc/sqoop, |
| /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 |
| ; 0 - unlimited |
| log_max_symbols_size=900000 |
| idle_interval_min=1 |
| idle_interval_max=10 |
| |
| |
| [logging] |
| syslog_enabled=0 |