Now that you’re working with the grunt interactive console, you can run some simple Pig commands. To access your Pig/Grunt interactive shell, from the Metro interface:ġ) Click on the Remote Desktop live tile.Ģ) Once you’ve logged in, click on the Hadoop Command Line shortcut located in the top left cornerģ) From the Hadoop command line shell, switch to the pig folder and execute the pig.cmd: cd c:\apps\dist\pig-SNAPSHOT folder Accessing the Pig/Grunt Interactive Shell Familiarize yourself with the pig / grunt interactive shellĬonnecting HDInsight Azure to Azure Blob Storageġ) To do this, go to the Manage Cluster live tile as noted in the screenshot belowĢ) Click on Set up ASV to place in your Azure Blob Storage account information.ģ) Specify the Azure storage account and passkeys as noted below.Īnd now, you’ve connected your Azure Blob Storage account to your HDInsight Azure cluster.Ensure your HDInsight Azure cluster is connected to Azure Blob Storage subscription / account.While it is possible to do this from HDInsight Interactive JavaScript console, to automate scripts and use the grunt interactive shell, it is easier to run these commands from the command line. Recently I was asked how could I get my Pig scripts to access files stored in Azure Blob Storage through the command line prompt.
#Adventureworks2012 federation windows#
Updated 5:00 PM PST with new articles marked.A compendium of Windows Azure, Service Bus, EAI & EDI, Access Control, Connect, SQL Azure Database, and other cloud-computing articles.