03 | Windows Azure PowerShell Graeme Malcolm | Data Technology Specialist, Content Master Pete Harris | Learning Product Planner, Microsoft
Module Overview Windows Azure PowerShell Windows Azure PowerShell Config Running Map/Reduce Jobs
Windows Azure PowerShell Install from Microsoft Web Platform Installer Cmdlets to manage Windows Azure services, including HDInsight,
Windows Azure PowerShell Config Connect PowerShell to Windows Azure Download and import a certificate Use Windows Azure AD Access services in multiple subscriptions Specify subscription in cmdlet parameters Set subscription context Get-AzurePublishSettingsFile Import-AzurePublishSettingsFile "<file_path>" Add-AzureAccount Select-AzureSubscription
Demo: Configuring PowerShell In this demonstration, you will see how to: Configure Windows Azure PowerShell
Uploading Files to Windows Azure Get the Windows Azure Storage key Get-AzureStorageKey Create the Windows Azure Storage context New-AzureStorageContext Upload local files to blobs in Windows Azure Set-AzureStorageBlobContent
Demo: Uploading Files In this demonstration, you will see how to: Upload Source Data to HDFS
Running a Map/Reduce Job Create a job definition New-AzureHDInsightMapReduceJobDefinition Submit the job Start-AzureHDInsightJob View the job execution information Wait-AzureHDInsightJob Get-AzureHDInsightJobOutput
Demo: Running a Map/Reduce Job In this demonstration, you will see how to: Run a Map/Reduce Job in PowerShell
Getting Map/Reduce Output Get the Windows Azure Storage key Get-AzureStorageKey Create the Windows Azure Storage context New-AzureStorageContext Download job output files in Windows Azure to local files Get-AzureStorageBlobContent
Demo: Getting Job Output In this demonstration, you will see how to: View Map/Reduce Job Output in PowerShell
Module Summary Install Windows Azure PowerShell from the Web Platform Connect PowerShell to your Subscription Use PowerShell to: Upload Jars and data Run Map/Reduce jobs Download output files