ambari-agent.ini 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. connect_retry_delay=10
  19. max_reconnect_retry_delay=30
  20. [agent]
  21. logdir=/var/log/ambari-agent
  22. piddir=/var/run/ambari-agent
  23. prefix=/var/lib/ambari-agent/data
  24. ;loglevel=(DEBUG/INFO)
  25. loglevel=INFO
  26. data_cleanup_interval=86400
  27. data_cleanup_max_age=2592000
  28. data_cleanup_max_size_MB = 100
  29. ping_port=8670
  30. cache_dir=/var/lib/ambari-agent/cache
  31. tolerate_download_failures=true
  32. run_as_user=root
  33. parallel_execution=0
  34. alert_grace_period=5
  35. alert_kinit_timeout=14400000
  36. system_resource_overrides=/etc/resource_overrides
  37. ; memory_threshold_soft_mb=400
  38. ; memory_threshold_hard_mb=1000
  39. ; ignore_mount_points=/mnt/custom1,/mnt/custom2
  40. [security]
  41. keysdir=/var/lib/ambari-agent/keys
  42. server_crt=ca.crt
  43. passphrase_env_var_name=AMBARI_PASSPHRASE
  44. ssl_verify_cert=0
  45. [services]
  46. pidLookupPath=/var/run/
  47. [heartbeat]
  48. state_interval_seconds=60
  49. dirs=/etc/hadoop,/etc/hadoop/conf,/etc/hbase,/etc/hcatalog,/etc/hive,/etc/oozie,
  50. /etc/sqoop,
  51. /var/run/hadoop,/var/run/zookeeper,/var/run/hbase,/var/run/templeton,/var/run/oozie,
  52. /var/log/hadoop,/var/log/zookeeper,/var/log/hbase,/var/run/templeton,/var/log/hive
  53. ; 0 - unlimited
  54. log_lines_count=300
  55. idle_interval_min=1
  56. idle_interval_max=10
  57. [logging]
  58. syslog_enabled=0