Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

SAM Ambari ConnectionException

avatar

40755-ambarierror.png

HDF Version = 3.0

Tutorial# tutorial-830

I am following this tutorial (URL - https://hortonworks.com/tutorial/real-time-event-processing-in-nifi-sam-schema-registry-and-superset.... Step#5 of this tutorial requires to configure a Service Pool.

  1. After entering Ambari URL = http://sandbox-hdf.hortonworks.com:9080/api/v1/clusters/Sandbox and Username/Password = admin/admin, it gives me javax.ws.rs.ProcessingException on top right corner (See attached ambarierror.png)

Please advise if I am missing anything.

1 ACCEPTED SOLUTION

avatar

Hi Beejal, if you're using a local sandbox, have you tried 127.0.0.1 instead of sandbox-hdf.hortonworks.com? Also, my sandbox VM is hosting Ambari on port 8080 so the address becomes http://127.0.0.1:8080.

View solution in original post

3 REPLIES 3

avatar

Hi Beejal, if you're using a local sandbox, have you tried 127.0.0.1 instead of sandbox-hdf.hortonworks.com? Also, my sandbox VM is hosting Ambari on port 8080 so the address becomes http://127.0.0.1:8080.

avatar

David - Thanks for responding. I tried 127.0.0.1 and it doesn't work. BTW, with HDF Sandbox Ambari opens at port 9080.

If I directly try to access this Ambari URL in a separate browser tab, Ambari responds back with JSON data. So it doesn't look like connectivity issue. Maybe it is some internal application (SAM) issue.

avatar

It works at port 8080 instead of port 9080. So by changing URL to http://sandbox-hdf.hortonworks.com:8080/api/v1/clusters/Sandbox, I was able to add the Service Pool.