hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd <>
Subject Re:Two questions about working with Hive using jdbc
Date Thu, 28 Jan 2016 23:22:04 GMT

Can someone help answer the questions? Thanks


在 2016-01-28 22:11:29,Todd <> 写道:


I am using Hive 0.14, and I am using JDBC to connect the Hive thrift server to do queries
things, I encounter two issues-

1. When the query is issued,how can i get the job id(mapreduce that run the query),so that
I can get a chance to be able to kill the job.
2. I want to execute a sql file as an input to the Hive JDBC, like we do with hive command
( >hive -e sqlfile), Does Hive JDBC support this?


View raw message