Hi,
I feel like I am doing something very basic wrong here but can't figure out what it might be.
I have setup Apache Hadoop 2.7.0 and Apache Hive 1.2.0 and Presto 0.105.
I run the following:
$HIVE_HOME/bin/hiveserver2
$HIVE_HOME/bin/beeline -u jdbc:hive2://localhost:10000
From here I am able to happily issue hive queries / statements.
I then configure a Presto catalog for Hive as follows:
connector.name=hive-hadoop2
hive.metastore.uri=thrift://localhost:10000
However when I now connect with Presto and issue a statement I get a socket timeout.
I can telnet to localhost 10000 fine and it looks like Presto can connect but Presto and Hive are not talking the same language (see Hive log below).
I notice that Beeline is using JDBC protocol but I want thrift, but Hive thrift port is set to 10000.
What am I doing wrong or what are some suggestions on next steps for debugging?
Thanks in advance
Brendan
Presto Error:
Query 20150601_052745_00003_tjmqv failed: localhost: java.net.SocketTimeoutException: Read timed out
HIVE LOG
15/06/01 15:33:20 [HiveServer2-Handler-Pool: Thread-32]: ERROR server.TThreadPoolServer: Error occurred during processing of message.
java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: Invalid status -128
at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:219)
at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:268)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.thrift.transport.TTransportException: Invalid status -128
at org.apache.thrift.transport.TSaslTransport.sendAndThrowMessage(TSaslTransport.java:232)
at org.apache.thrift.transport.TSaslTransport.receiveSaslMessage(TSaslTransport.java:184)
at org.apache.thrift.transport.TSaslServerTransport.handleSaslStartMessage(TSaslServerTransport.java:125)
at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:271)
at org.apache.thrift.transport.TSaslServerTransport.open(TSaslServerTransport.java:41)
at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:216)
... 4 more