Last active
January 3, 2016 11:19
-
-
Save dharkum/8455537 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################# | |
### Please edit the values of the parameters below for your configuration ### | |
############################################################################# | |
$subscriptionName = "<Your Azure Subscription Name>" | |
$clusterName = "MyHDICluster" # HDInsight Cluster Name | |
############################################################################ | |
### End Edits ### | |
############################################################################ | |
Select-AzureSubscription -SubscriptionName $subscriptionName | |
Use-AzureHDInsightCluster $clusterName -Subscription (Get-AzureSubscription -Current).SubscriptionId | |
Invoke-Hive -File "wasb://install@myprimarystorage.blob.core.windows.net/MyUDFQuery.hql" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment