I am trying to get Thrift Server up and running as per steps mentioned here : https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_installing_manually_book/content/ref-2a6...
but it throws error when I start thrift server, Port in use: 0.0.0.0:9095 . Can someone help in configuring thrift server on different port and make it accessible outside the server I have HDP installed on.
I tried configuring on different port using this command:
hbase-daemon.sh start thrift --infoport 9065 -p 9060
But when I try browsing on that port locally, I do not see that working. Here is what in output when I run above command
What do you mean by "But when I try browsing on that port locally"? This isn't a service you can access with your web browser. It requires a Thrift client speaking a specific schema to interact with.
You can either hbase.thrift.info.port and hbase.regionserver.thrift.port in your hbase-site.xml, or start the thrift server by passing -p <port> and --infoport <info_port> as command line arguments.
Note that port and info port are different ports. Port is used for RPCs while the info port is for the web UI.
I'll be updating the Manual Install Guide with this information and will post a link to the new content when I've completed it. Thanks very much for this feedback.
The Manual Install Guide (versions 2.2.9, 2.3.0, 2.3.2, 2.3.4, 188.8.131.52, 2.4.0, and 2.4.2) have been updated with this information. Thank you very much for your comments and assistance.