I was trying to connect to hive using RHive
but I'm getting a connection refused error.
library(RHive)
Loading required package: rJava
Loading required package: Rserve
This is RHive 0.0-7. For overview type a?RHivea.
HIVE_HOME=/home/surya/hive-0.8.1
call rhive.init() because HIVE_HOME is set.
> rhive.connect()
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused
NULL
See Question&Answers more detail:os