Reputation: 56
I want to use Visual Studio to query from hive which is installed on a YARN cluster under Centos7 X64. The Cluster has a master node and 4 worker nodes. I already succeeded the connection to WebHDFS and SSH but can not connect to HiveServer2. All services are up and running including HDFS, YARN and HiveServer2.
I've set port 10000 for HiveServer2 in hive-site.xml and the Web UI is being shown on port 10002. I installed hive ODBC driver and configured it. It successfully connects to my HiveServer2 on port 10000.
The HDInsight Emulator just shows 'Failed to open connection. Please check your connection string. See inner exception for failure details' I tried 10000, 10001 and 10002 port numbers but still the problem persists.
Upvotes: 0
Views: 139
Reputation: 12768
Welcome to Stackoverflow!
Steps to connect HDInsight emulator using Visual Studio:
For more details, refer "How to use HDInsight emulator using Visual Studio".
Hope this helps.
Upvotes: 0