Hi Alan, Thanks for your response. I have a couple of patches I would love to submit to Hive, and I'm working on getting a real build environment set up so I can do so.
Can I ask you if HCatClient is able to operate over the HiveServer2 thrift api? I've found contradictory information all over the place, but when I try to set hive.metastore.uris to a hive server 2 port (10000), I connect okay but get all sorts of "invalid method name" errors. I can only assume that this is because HCatClient is meant to run against the metastore thrift apis, not hive server2. Is this correct? We're starting to see our customers move towards limiting the metastore thrift access because it's not secure enough for their needs (such as a Cloudera Sentry implementation), and I'm left wondering how we'll be able to provide access. Thanks, Nathan ________________________________ From: Alan Gates <alanfga...@gmail.com> Sent: Thursday, October 8, 2015 9:22 AM To: user@hive.apache.org Subject: Re: truncating tables via hcatalog api? That's correct, HCatClient doesn't provide that feature at this time. It would be easy enough to add if you want to provide a patch for it. Alan. [X] Nathan Bamford<mailto:nathan.bamf...@redpoint.net> October 6, 2015 at 12:14 Hello all, The product I work on using the HCatalog api (particularly HCatClient) to interact with Hive. It provides virtually everything we need, with the exception of the ability to truncate a table. I'm able to do it via the CLI by simply issuing the "TRUNCATE TABLE" command, but HCatalog provides nothing. Do I have this right? Will I need to create a jdbc connection to issue a truncate statement? Thanks, Nathan Bamford