03-24-2017 03:57 AM
I got some problem with Hive.
I downloaded the Cloudera QuickStart VM and have been using it for some time. Now I get a message at "checking current configuration" step in Hue:
Hive The application won't work without a running HiveServer2.
In command line I get:
>service hive-server2 status
Hive Server2 is running [ OK ]
But when I try to use Hive I get an error:
Could not connect to quickstart.cloudera:10000 (code THRIFTTRANSPORT): TTransportException('Could not connect to quickstart.cloudera:10000',)
How to fix this?
sudo netstat -tulp | grep :10000 gives me nothing. Also I restarted both hive-server2 and my virtual machine, but it didn't help.
03-31-2017 03:18 AM
11-30-2017 09:23 PM - edited 11-30-2017 09:24 PM
Hello - I ran the below command and got this error (I am trying to run the Cloudera Quick Start Tutorial 1):
[cloudera@quickstart ~]$ beeline -u 'jdbc:hive2://localhost:10000/default' -n hive
scan complete in 3ms
Connecting to jdbc:hive2://localhost:10000/default
Could not open connection to the HS2 server. Please check the server URI and if the URI is correct, then ask the administrator to check the server status.
Error: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10000/default: java.net.ConnectException: Connection refused (state=08S01,code=0)
Beeline version 1.1.0-cdh5.12.0 by Apache Hive
Can someone advise what is wrong?
11-30-2017 10:36 PM