Database Reference
In-Depth Information
Using the PowerShell cmdlets for HDInsight
The first step is to install the PowerShell cmdlets for HDInsight from the following URL:
http://www.microsoft.com/en-sg/download/details.aspx?id=40724
When prompted, save and unzip the zip files to a location of your choice. In my case, I chose my Visual Studio
solution folder, as shown in Figure 4-9 .
Figure 4-9. HDInsight management cmdlets
this step of installing the cmdlets won't be needed in the future when the hDinsight cmdlets are integrated
and installed as part of Windows azure powershell version 0.7.2. this topic is based on Windows azure powershell
version 0.7.1, which does require this installation step.
Note
Launch the Windows Azure PowerShell command prompt, and load the HDInsight cmdlet by executing the
following command:
Import-Module "D:\HadoopClient\Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.dll"
This will load the required set of HDInsightcmdlets in PowerShell:
PS C:\> Import-Module "D:\HadoopClient\Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.dll"
VERBOSE: Loading module from path
'D:\HadoopClient\Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.dll'.
VERBOSE: Importing cmdlet 'Add-AzureHDInsightMetastore'.
VERBOSE: Importing cmdlet 'Add-AzureHDInsightStorage'.
VERBOSE: Importing cmdlet 'New-AzureHDInsightCluster'.
VERBOSE: Importing cmdlet 'New-AzureHDInsightConfig'.
VERBOSE: Importing cmdlet 'Remove-AzureHDInsightCluster'.
VERBOSE: Importing cmdlet 'Get-AzureHDInsightCluster'.
VERBOSE: Importing cmdlet 'Set-AzureHDInsightDefaultStorage'.
 
 
Search WWH ::




Custom Search