Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions samples/sample_settings.py.template
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ SUBSCRIPTION_ID = '00000000-0000-0000-0000-000000000000'
# The name for the cluster you are creating. The name must be unique, 59 characters or less,
# and can contain letters, numbers, and hyphens (but the first and last character must be a letter or number).
# Required by all the samples.
CLUSTER_NAME = 'hdisamplecluster' + random.randint(1000, 10000)
CLUSTER_NAME = 'hdisamplecluster' + str(random.randint(1000, 10000))

# Choose a region. i.e. "East US 2".
# Required by all the samples.
Expand Down Expand Up @@ -61,7 +61,7 @@ BLOB_ENDPOINT_SUFFIX = '.blob.core.windows.net'

# Blob storage account container name
# Required by all the samples except `create_hadoop_cluster_with_adls_gen2_sample`
CONTAINER_NAME = 'container' + random.randint(1000, 10000)
CONTAINER_NAME = 'container' + str(random.randint(1000, 10000))

# Dfs Storage endpoint suffix.
# Required by `create_hadoop_cluster_with_adls_gen2_sample`
Expand Down Expand Up @@ -102,4 +102,4 @@ DOMAIN_USER_NAME = 'sample.user@sampledomain.onmicrosoft.com'

# Cluster access group
# Required by `create_esp_cluster_sample`.
CLUSTER_ACCESS_GROUP = 'Sample Group'
CLUSTER_ACCESS_GROUP = 'Sample Group'