Hi, I recently deployed hortonworks sandbox on azure referring this article - https://hortonworks.com/tutorial/sandbox-deployment-and-install-guide/section/4.I had also added inbound security rules for port 8080, 8888,2222, 4200 followed by configuring ssh tunnel using putty but when I'm running hadoop command in it- hadoop fs -ls / , it gives me an error "hadoop cmd not found".However, I'm able to use Ambari.Also tried using localhost:4200 but it didn't worked.Can someone help me with this.
You must do SSH on port 2222 when you want to connect to the actual docker container where HDP binaries are installed.
# ssh email@example.com -p 2222 Enter Password: hadoop
If you are connecting to Sandbox container then you should use the SSH port as 2222 in the Putty window. (PLease do not use the default SSH port 22).
@Jay Kumar SenSharma - I tried that but it didn't worked.Added following ports 8080->127.0.0.1:8080 8888->127.0.0.1:8888 9995->127.0.0.1:9995 9996->127.0.0.1:9996 8886->127.0.0.1:8886 10500->127.0.0.1:10500 4200->127.0.0.1:4200 2222->127.0.0.1:2222. Followed by enttering azure IP and changing the port from 22 to 2222. and clicking on open button.
Below screenshot for your reference.
@Jay Kumar SenSharma - I appreciate your quick response and yes I followed all the steps as mentioned in the link - https://hortonworks.com/tutorial/sandbox-deployment-and-install-guide/section/4/ but it didn't worked.Any Suggestion on how should I proceed further.