Carl Nolan’s ramblings on development
Since writing my last post Managing Your HDInsight Cluster and .Net Job Submissions using PowerShell, there have been some useful modifications to the Azure PowerShell Tools.
The HDInsight cmdlets no longer exist as these have now been integrated into the latest release of the Windows Azure Powershell Tools. This integration means:
Also, the cmdlets are fully backwards compatible meaning you don’t need to change your current scripts. The Subscription parameter is now optional but if it specified then it is honoured.
As such the cluster creation script will now be:
The only changes are the selection of the subscription and the removal of the Subscription option when creating the cluster. Of course all the other scripts can easily be modified along the same lines; such as the cluster deletion script:
This cluster creation script also contains an additional section to ensure that the default storage container does not container any leftover files, from previous cluster creations:
The rationale behind this is to ensure that any files that may be left over from previous clusters creations/deletions are removed.