Support Questions

Find answers, ask questions, and share your expertise

Getting 404, while connecting to Hbase REST API.

avatar
Rising Star

I am trying to connect to Hbase REST API by using the below mention command:

curl -I -H "Accept: text/xml" http://myhost:8085/messagestable/schema

HTTP/1.1 404 Not Found

Its showing the 404 error.

Can anyone please suggest what are the possible reasons and resolution for this problem?

1 ACCEPTED SOLUTION

avatar

It seems you are connecting to wrong port. as 8085 port is bound for web UI.

Try connecting to 8080 , if you have started rest server without specifying any port.

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_HDP_Reference_Guide/content/hbase-ports....

View solution in original post

2 REPLIES 2

avatar

It seems you are connecting to wrong port. as 8085 port is bound for web UI.

Try connecting to 8080 , if you have started rest server without specifying any port.

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_HDP_Reference_Guide/content/hbase-ports....

avatar
Rising Star

Yeah it was a wrong port. Thanks for the resolution.