hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Szehon Ho <sze...@cloudera.com>
Subject Re: Running a hive script from Java via API.
Date Fri, 16 May 2014 18:21:21 GMT
It is not really recommended anymore, as HiveServer2 with a client is the
where the community is focusing now.  And JDBC-client supports mode where
the HiveServer2 is embedded.

Some older product like HiveCLI or Beeline did like what you said, but
again this mode might not be fully supported.  For testing, you can execute
scripts from Driver.run(script).  Many examples in the hive unit-test code
about that.

Hope that helps,
Szehon


On Fri, May 16, 2014 at 9:00 AM, Jay Vyas <jayunit100@gmail.com> wrote:

> Hi hive.
>
> Is there an API akin to PigServer, which allows you to run a hive script
> from Java directly, using hive embedded mode, without use of JDBC?
>
> --
> Jay Vyas
> http://jayunit100.blogspot.com
>

Mime
View raw message