Table of Contents

Search

  1. Preface
  2. Advanced clusters
  3. Setting up AWS
  4. Setting up Google Cloud
  5. Setting up Microsoft Azure
  6. Setting up a self-service cluster
  7. Setting up a local cluster
  8. Advanced configurations
  9. Troubleshooting
  10. Appendix A: Command reference

Advanced Clusters

Advanced Clusters

generate-policies-for-userdefined-roles.sh

generate-policies-for-userdefined-roles.sh

Generates the policy content for the master and worker roles in an AWS environment.
The output is saved to the
my-userdefined-master-worker-role-policies.json
file. You can restrict certain elements in the policy content and attach the content as policies to the master and worker roles. For more information, see Create user-defined master and worker roles.
The command uses the following options:
-h | -help -sd | -staging-dir=<cluster-staging-directory> -ld | -logging-dir=<cluster-logging-directory>
The following table describes each option:
Option
Description
-help
-h
Access the help for the command.
-staging-dir
-sd
Staging directory for the
advanced cluster
.
Use the format
-staging-dir=bucket/folder
.
The directory must include at least the bucket name. Do not include the prefix
s3://
.
-logging-dir
-ld
Logging directory that stores logs for the
advanced cluster
and
advanced jobs
that run on the cluster.
Use the format
-logging-dir=bucket/folder
.
The directory must include at least the bucket name. Do not include the prefix
s3://
.

0 COMMENTS

We’d like to hear from you!