Hacatalog example in java…
private void testHCatalogAPI() throws NoSuchObjectException, TException,
HCatException {
HCatClient hcatClient = null;
try {
HiveConf hcatConf = new HiveConf();
hcatConf.setVar(HiveConf.ConfVars.METASTOREURIS,
Could someone send me an example of how to authenticate with apache knox for
templeton ?
I tried the example below , but it doesn't work.
Thanks
Rachna
package com.test.hadoop;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURL
The hcatalog apis do not return a ordinal position (the order in which they
were created) on the hive columns or view columns. Is it possible to get that
information?
Thanks
Rachna
he special
string _HOST will be replaced automatically with the correct host
name.
< /property>
how do I configure the HCatClient to connect to hive?
Thanks
Rachna
From: Rachna Jotwani Bakhru [mailto:rjotw...@dag.com]
Sent: Thursday, October 15, 2015 6:25 PM
To: user@hive.apache.o
I have a java application which reads hive metadata using hcatalog apis. If I
need to read metadata from a hive database on a cluster with Kerberos and knox,
would the following configuration work?
HiveConf hcatConf = new HiveConf();
hcatConf.setVar(HiveConf.ConfVars.METASTOREURIS, “thrift://serv
you're so inclined feel free to contribute a patch to add
this.
Alan.
<mailto:rjotw...@dag.com> Rachna Jotwani Bakhru
October 14, 2015 at 16:47
We are currently using the HCatalog API to get the Hive Database metadata.
HCatClient with MetaStore uri.
The HCatTable object retu
We are currently using the HCatalog API to get the Hive Database metadata.
HCatClient with MetaStore uri.
The HCatTable object returned by the HCatClient does not have the view SQL
(view definition).
As a workaround we are using the Hive Metastore API to get the view SQL
from the Table (getViewOri