Question

Is there a way to use WebHcat to submit Impala queries? As far as I understand, Impala uses same metastore as Hive and HCatalog give unified access to this metastore.

Was it helpful?

Solution

Unfortunately Impala queries are submitted to a different service endpoint than Hive queries, so you can't use WebHCat to submit queries to Impala.

If you're curious, here's a bit more information about how to submit queries to Impala. First, read the Impala Concepts and Architecture documentation. As you now know, you can submit your query to any node running the impalad daemon. The interface exposed by this daemon is specified in ImpalaService.thrift. There are a number of open source clients that have been implemented that will allow you to submit queries to Impala from the command line, from a web interface, or from a library in your favorite programming language. Here are a few examples:

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top