RE: LLAP/Protobuffers Error: Class Cannot Be Cast to Class

2019-11-12 Thread Aaron Grubb
Turns out I was using the wrong JAR to provide the base classes for LlapDaemon. Removing hadoop-client-* from the classpath and using hadoop-common instead fixed this problem. From: Aaron Grubb Sent: Monday, November 11, 2019 1:11 PM To: user@hive.apache.org Subject: LLAP/Protobuffers Error: Cla

Re: Gather Partition Locations

2019-11-12 Thread Elliot West
Hello, We faced a similar problem. Additionally, we had job clients were difficult to integrate directly with the Thirft API, but needed to resolve file locations via the metastore. To handle this, we build a cut down service with a REST API that fronts the Hive metastore. The API is optimised for

Re: Gather Partition Locations

2019-11-12 Thread mb
Gopal Vijayaraghavan wrote: > That was the reason Hive shipped with metatool, though it remains fairly > obscure outside of the devs. > > hive --service metatool -executeJDOQL "select database.name + '.' + tableName > from org.apache.hadoop.hive.metastore.model.MTable" > > You need to join MPa

Re: Gather Partition Locations

2019-11-12 Thread mb
Ashutosh Bapat wrote: > There are multiple ways > 1. Query the HiveMetaStore directly. do you mean via thrift client? or directly native jdbc? But i think this is in an enterprise env not possible, when i'm not on the same machine where hive server is running. i believe the mysql or postgres ser

Based on Zookeeper's Hive HA mode, must you set the value of hive.support.concurrency to true?

2019-11-12 Thread qq
Hello:       Based on Zookeeper's Hive HA mode, must you set the value of hive.support.concurrency to true?             thinks.       I am looking forward to your reply??