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.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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,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. kazoo://127.0.0.1:2181}
  29. # Tell Tempest this project is present
  30. TEMPEST_SERVICES+=,sahara
  31. enable_service sahara-api sahara-eng
  32. enable_service heat h-eng h-api h-api-cfn h-api-cw
  33. if [ "$SAHARA_ENABLE_DISTRIBUTED_PERIODICS" == "True" ]; then
  34. enable_service zookeeper
  35. fi