ambari-agent.ini 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Licensed to the Apache Software Foundation (ASF) under one or more
  2. # contributor license agreements. See the NOTICE file distributed with
  3. # this work for additional information regarding copyright ownership.
  4. # The ASF licenses this file to You under the Apache License, Version 2.0
  5. # (the "License"); you may not use this file except in compliance with
  6. # the License. You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific
  14. [server]
  15. hostname=localhost
  16. url_port=8440
  17. secured_url_port=8441
  18. [agent]
  19. logdir=/var/log/ambari-agent
  20. piddir=/var/run/ambari-agent
  21. prefix=/var/lib/ambari-agent/data
  22. ;loglevel=(DEBUG/INFO)
  23. loglevel=INFO
  24. data_cleanup_interval=86400
  25. data_cleanup_max_age=2592000
  26. data_cleanup_max_size_MB = 100
  27. ping_port=8670
  28. cache_dir=/var/lib/ambari-agent/cache
  29. tolerate_download_failures=true
  30. run_as_user=root
  31. parallel_execution=0
  32. alert_grace_period=5
  33. alert_kinit_timeout=14400000
  34. system_resource_overrides=/etc/resource_overrides
  35. [security]
  36. keysdir=/var/lib/ambari-agent/keys
  37. server_crt=ca.crt
  38. passphrase_env_var_name=AMBARI_PASSPHRASE
  39. [services]
  40. pidLookupPath=/var/run/
  41. [heartbeat]
  42. state_interval=6
  43. dirs=/etc/hadoop,/etc/hadoop/conf,/etc/hbase,/etc/hcatalog,/etc/hive,/etc/oozie,
  44. /etc/sqoop,/etc/ganglia,
  45. /var/run/hadoop,/var/run/zookeeper,/var/run/hbase,/var/run/templeton,/var/run/oozie,
  46. /var/log/hadoop,/var/log/zookeeper,/var/log/hbase,/var/run/templeton,/var/log/hive
  47. ; 0 - unlimited
  48. log_lines_count=300
  49. [logging]
  50. syslog_enabled=0