Skip to content
Merged
Show file tree
Hide file tree
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
33 changes: 16 additions & 17 deletions cloudera-on-centos/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,76 +6,76 @@
"type": "string",
"defaultValue": "testuser",
"metadata": {
"Description": "Admin user name for the Virtual Machines"
"description": "Admin user name for the Virtual Machines"
}
},
"adminPassword": {
"type": "securestring",
"defaultValue": "Eur32#1e",
"metadata": {
"Description": "Admin password for the Virtual Machines"
"description": "Admin password for the Virtual Machines"
}
},
"storageAccountPrefix": {
"type": "string",
"defaultValue": "defaultStorageAccountPrefix",
"metadata": {
"Description": "Unique namespace for the Storage Account where the Virtual Machine's disks will be placed"
"description": "Unique namespace for the Storage Account where the Virtual Machine's disks will be placed"
}
},
"dnsNamePrefix": {
"type": "string",
"defaultValue": "defaultDnsNamePrefix",
"metadata": {
"Description": "Unique public dns name where the Virtual Machines will be exposed"
"description": "Unique public dns name where the Virtual Machines will be exposed"
}
},
"region": {
"type": "string",
"metadata": {
"Description": "Location where resources will be provisioned"
"description": "Location where resources will be provisioned"
}
},
"storageAccountType": {
"type": "string",
"defaultValue": "Standard_LRS",
"metadata": {
"Description": "The type of the Storage Account to be created (Default to Standard_LRS)"
"description": "The type of the Storage Account to be created (Default to Standard_LRS)"
}
},
"virtualNetworkName": {
"type": "string",
"defaultValue": "clouderaVnet",
"metadata": {
"Description": "The name of the virtual network provisioned for the deployment"
"description": "The name of the virtual network provisioned for the deployment"
}
},
"subnetName": {
"type": "string",
"defaultValue": "clouderaSubnet",
"metadata": {
"Description": "Subnet name for the virtual network where resources will be provisioned"
"description": "Subnet name for the virtual network where resources will be provisioned"
}
},
"addressPrefix": {
"type": "string",
"defaultValue": "10.0.0.0/24",
"metadata": {
"Description": "The network address space for the virtual network"
"description": "The network address space for the virtual network"
}
},
"subnetPrefix": {
"type": "string",
"defaultValue": "10.0.0.0/24",
"metadata": {
"Description": "The network address space for the virtual subnet"
"description": "The network address space for the virtual subnet"
}
},
"nodeAddressPrefix": {
"type": "string",
"defaultValue": "10.0.0.",
"metadata": {
"Description": "The IP address prefix that will be used for constructing private IP address for each node in the cluster"
"description": "The IP address prefix that will be used for constructing private IP address for each node in the cluster"
}
},
"tshirtSize": {
Expand All @@ -85,35 +85,35 @@
"Eval"
],
"metadata": {
"Description": "T-shirt size of the Cloudera cluster (Eval, Small, Medium)"
"description": "T-shirt size of the Cloudera cluster (Eval, Small, Medium)"
}
},
"vmSize": {
"type": "string",
"defaultValue": "Standard_D14",
"metadata": {
"Description": "The size of the VMs deployed in the cluster (Defaults to Standard_D14)"
"description": "The size of the VMs deployed in the cluster (Defaults to Standard_D14)"
}
},
"keyVaultResourceGroup": {
"type": "string",
"defaultValue": "AzureRM-Util",
"metadata": {
"Description": "The resource group containing the key vault which provides the private key used for SSH login. See the readme for details."
"description": "The resource group containing the key vault which provides the private key used for SSH login. See the readme for details."
}
},
"keyVaultName": {
"type": "string",
"defaultValue": "AzureRM-Keys",
"metadata": {
"Description": "The name of the key vault which provides the private key used for SSH login. See the readme for details."
"description": "The name of the key vault which provides the private key used for SSH login. See the readme for details."
}
},
"keyUri": {
"type": "string",
"defaultValue": "https://azurerm-keys.vault.azure.net/secrets/sshKey/29a10ecf43b64c7ab7eace8866d64597",
"metadata": {
"Description": "The url of the private key used for SSH login. See the readme for details."
"description": "The url of the private key used for SSH login. See the readme for details."
}
}
},
Expand Down Expand Up @@ -141,7 +141,6 @@
"privateIPAddressPrefix": "[parameters('nodeAddressPrefix')]",
"adminUserName": "[parameters('adminUserName')]",
"adminPassword": "[parameters('adminPassword')]",
"sourceImageName": "[concat('/',subscription().subscriptionId,'/services/images/5112500ae3b842c8b9c604889f8753c3__OpenLogic-CentOS-65-20150128')]",
"keyVaultResourceId": "[resourceId(parameters('keyVaultResourceGroup'), 'Microsoft.KeyVault/vaults', parameters('keyVaultName'))]",
"keyUri": "[parameters('keyUri')]",
"masterNodeASName": "[concat(parameters('dnsNamePrefix'), '-mnAS')]",
Expand Down
2 changes: 1 addition & 1 deletion cloudera-on-centos/scripts/prepareDisks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ formatAndMountDrive() {
echo "$(hostname) : $1 : Formatting drive for ext4" || true
drive=$1
echo "$(hostname) : $1 : set drive and execute"
mke2fs -F -t ext4 -b 4096 -O sparse_super,dir_index,extent,has_journal,uninit_bg -m1 $drive
mke2fs -F -t ext4 -b 4096 -E lazy_itable_init=1 -O sparse_super,dir_index,extent,has_journal,uninit_bg -m1 $drive
echo "$(hostname) : $1 : should be done formatting now"

echo "$(hostname) : $1 : attempt to format exit code: $?"
Expand Down