Description
SubmitStormTopology.ps1 does not work
I executed SubmitStormTopology.ps1 script and I got an error:
PS D:\GIT\hdinsight-storm-examples\scripts\storm> .\SubmitStormTopology.ps1 -ClusterUrl "https://server_storm_cluster.azurehdinsight.net" -ClusterUsername admin -ClusterPassword "my_password" -JarPath "D:\apache-storm-0.9.3\examples\storm-starter\target\storm-starter-0.9.3-jar-with-dependencies.jar" -ClassName "storm.starter.WordCountTopology"
This is the output:
2015-09-04T00:21:47.9364419-04:00 [ERROR] [SubmitStormTopology.ps1(ln:65)] - Exception encountered while invoking the [POST] rest method at: https://server_storm_cluster.azurehdinsight.net/StormDashboard/SubmitWasbJar
Invoke-RestMethod : Server Error
401 - Unauthorized: Access is denied due to invalid credentials.
You do not have permission to view this directory or page using the credentials that you supplied.
At D:\GIT\hdinsight-storm-examples\scripts\storm\SubmitStormTopology.ps1:51 char:17
-
$response = Invoke-RestMethod -Uri $clusterSubmitJarUri.AbsoluteUri -Method ...
-
- CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException - FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
2015-09-04T00:21:47.9964437-04:00 [ERROR] [SubmitStormTopology.ps1(ln:70)] - Topology submission encountered an error, please check logs for error information.
Topology submission encountered an error, please check logs for error information.
At D:\GIT\hdinsight-storm-examples\scripts\storm\SubmitStormTopology.ps1:71 char:5
-
throw "Topology submission encountered an error, please check logs for error ...
-
- CategoryInfo : OperationStopped: (Topology submis...or information.:String) [], RuntimeException - FullyQualifiedErrorId : Topology submission encountered an error, please check logs for error information.
The user/password is the same that I provided when I created Storm cluster in Azure HDInsight.
I'm able to login https://server_storm_cluster.azurehdinsight.net with the same credentials.