You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to connect R with Impala through Rimpala package, not sure what am I doing wrong here.
In short, got installed:
JDK of compatible version,
native JBDC .jar files placed to java's CLASSPATH
Impala is up and running,
First command went well:
rimpala.init(impala_home=NULL,libs="/path/...") - "Classpath added succesfully"
however connection fails at the second step:
rimpala.connect(IP="localhost",port="21050")
[1] FALSE
Error: null
Many thanks
The text was updated successfully, but these errors were encountered:
finally, I use this:
library(RJDBC)
drv <- JDBC(driverClass = "org.apache.hive.jdbc.HiveDriver",classPath = list.files("/home/drivers/impala-jdbc-0.5-2",pattern="jar$",full.names=T,recursive=T),identifier.quote="`")
conn <- dbConnect(drv, "jdbc:hive2://localhost:21050/;auth=noSasl")
month.data <- dbGetQuery(conn, "select * from brand_model_sum order by how_many limit 5")
dbDisconnect(conn)
you can try it for yourself.
Trying to connect R with Impala through Rimpala package, not sure what am I doing wrong here.
In short, got installed:
JDK of compatible version,
native JBDC .jar files placed to java's CLASSPATH
Impala is up and running,
First command went well:
rimpala.init(impala_home=NULL,libs="/path/...") - "Classpath added succesfully"
however connection fails at the second step:
rimpala.connect(IP="localhost",port="21050")
[1] FALSE
Error: null
Many thanks
The text was updated successfully, but these errors were encountered: