Hi,

I'm trying to use the WebHCat REST API to post a long query to Hive, and
have an endpoint in my app called upon completion.

The POST request is like this:

POST /templeton/v1/hive HTTP/1.1
Host: data.astro:50111
Cache-Control: no-cache
Postman-Token: 7531c7e9-f0e6-ce58-4482-4f5a0cc98b52
Content-Type: application/x-www-form-urlencoded

execute=show+databases&callback=http%3A%2F%2Fwww.astro.pic.es&user.name
=cosmohub


The job completes successfully but the callback is never called.
I've tried multiple callbacks, with and without "http://";, even on other
servers, and it is never received.

Is there any configuration I am missing?
FYI, I'm am using HDP 2.4 with default configuration.

Has somebody made it work?

Thanks!

Pau.
-- 
----------------------------------
Pau Tallada Crespí
Dep. d'Astrofísica i Cosmologia
Port d'Informació Científica (PIC)
Tel: +34 93 586 8233
----------------------------------

Reply via email to