-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
401 - Unauthorized: Access is denied due to invalid credentials. #14
Comments
@fercho-ayala Can you try this command:
Also from the error code it looks like you have hit an known issue right now: https://social.msdn.microsoft.com/Forums/azure/en-US/52cf38a0-4c28-49df-ba15-1f1992d86ad1/submitting-a-storm-topology-generates-the-meaningless-error-an-error-occured-with-the-submission?forum=hdinsight#bf186df2-1c46-4569-8cee-ec7e26da2e42 |
I tried the command with AdditionalParams paramter and I got the same 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" -AdditionalParams "wordcount" 2015-09-10T13:51:58.3588814-04:00 [INFO] [SubmitStormTopology.ps1(ln:48)] - Sending POST request at: https://server_storm_cluster.azurehdinsight.net/StormDashboard/SubmitWasbJar
2015-09-10T13:52:02.2100361-04:00 [ERROR] [SubmitStormTopology.ps1(ln:70)] - Topology submission encountered an error, please check logs for error information.
|
Hey, 2016-04-18T14:32:23.8502312+03:00 [ERROR] [SubmitStormTopologyWindows.ps1(ln:64)] - Exception encountered while invoking
2016-04-18T14:32:23.9152349+03:00 [ERROR] [SubmitStormTopologyWindows.ps1(ln:69)] - Topology submission encountered an e
|
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
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
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.
The text was updated successfully, but these errors were encountered: