Created
April 29, 2020 15:37
-
-
Save davidcueva/0f94f385abd60a59c34574fe52c04444 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gcloud beta dataproc clusters create ${BACKEND_CLUSTER} \ | |
--optional-components=SOLR,RANGER \ | |
--region ${REGION} \ | |
--zone ${ZONE} \ | |
--enable-component-gateway \ | |
--scopes=default,sql-admin \ | |
--service-account=visualization-security-sa@${PROJECT_ID}.iam.gserviceaccount.com \ | |
--properties="\ | |
dataproc:ranger.kms.key.uri=${RANGER_KMS_KEY_URI},\ | |
dataproc:ranger.admin.password.uri=${RANGER_ADMIN_PWD_URI},\ | |
dataproc:ranger.db.admin.password.uri=${RANGER_DB_ADMIN_PWD_URI},\ | |
dataproc:ranger.cloud-sql.instance.connection.name=${PROJECT_ID}:${REGION}:${CLOUD_SQL_NAME},\ | |
dataproc:ranger.cloud-sql.root.password.uri=${MYSQL_ROOT_PWD_URI},\ | |
dataproc:solr.gcs.path=gs://${PROJECT_ID}-solr,\ | |
hive:hive.server2.thrift.http.port=10000,\ | |
hive:hive.server2.thrift.http.path=cliservice,\ | |
hive:hive.server2.transport.mode=http" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment