Sahara aims to provide users with simple means to provision a Hadoop cluster by specifying several parameters like Hadoop version, cluster topology, nodes hardware details and a few more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

settings 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #!/bin/bash
  2. # Settings needed for the Sahara plugin
  3. # -------------------------------------
  4. # Set up default directories
  5. SAHARACLIENT_DIR=$DEST/python-saharaclient
  6. SAHARA_DIR=$DEST/sahara
  7. SAHARACLIENT_REPO=${SAHARACLIENT_REPO:-\
  8. ${GIT_BASE}/openstack/python-saharaclient.git}
  9. SAHARACLIENT_BRANCH=${SAHARACLIENT_BRANCH:-master}
  10. SAHARA_CONF_DIR=${SAHARA_CONF_DIR:-/etc/sahara}
  11. SAHARA_CONF_FILE=${SAHARA_CONF_DIR}/sahara.conf
  12. # TODO(slukjanov): Should we append sahara to SSL_ENABLED_SERVICES?
  13. if is_ssl_enabled_service "sahara" || is_service_enabled tls-proxy; then
  14. SAHARA_SERVICE_PROTOCOL="https"
  15. fi
  16. SAHARA_SERVICE_HOST=${SAHARA_SERVICE_HOST:-$SERVICE_HOST}
  17. SAHARA_SERVICE_PORT=${SAHARA_SERVICE_PORT:-8386}
  18. SAHARA_SERVICE_PORT_INT=${SAHARA_SERVICE_PORT_INT:-18386}
  19. SAHARA_SERVICE_PROTOCOL=${SAHARA_SERVICE_PROTOCOL:-$SERVICE_PROTOCOL}
  20. SAHARA_ENDPOINT_TYPE=${SAHARA_ENDPOINT_TYPE:-publicURL}
  21. SAHARA_AUTH_CACHE_DIR=${SAHARA_AUTH_CACHE_DIR:-/var/cache/sahara}
  22. SAHARA_ENABLED_PLUGINS=${SAHARA_ENABLED_PLUGINS:-\
  23. vanilla,ambari,cdh,mapr,spark,storm,fake}
  24. SAHARA_BIN_DIR=$(get_python_exec_prefix)
  25. SAHARA_ENABLE_DISTRIBUTED_PERIODICS=${SAHARA_ENABLE_DISTRIBUTED_PERIODICS:-\
  26. True}
  27. SAHARA_PERIODIC_COORDINATOR_URL=${SAHARA_PERIODIC_COORDINATOR_URL:-\
  28. memcached://127.0.0.1:11211}
  29. #Toggle for deploying Sahara API with Apache + mod_wsgi
  30. SAHARA_USE_MOD_WSGI=${SAHARA_USE_MOD_WSGI:-True}
  31. enable_service sahara-api sahara-eng
  32. enable_service heat h-eng h-api h-api-cfn h-api-cw