...
Curl Command
No Format |
---|
% curl -s -d user.name=ctdean \ -d 'exec=show tables;' \ 'http://localhost:50111/templeton/v1/ddl?user.name=ekoifman' |
Info | ||
---|---|---|
| ||
Prior to Hive 0.13.0, user.name was specified in POST requests as a form parameter: In Hive 0.13.0 onward, user.name should be specified in the query string (as shown above): |
JSON Output
No Format |
---|
{ "stdout": "important_table my_other_table my_table my_table_2 pokes ", "stderr": "WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated... Hive history file=/tmp/ctdean/hive_job_log_ctdean_201111111258_2117356679.txt OK Time taken: 1.202 seconds ", "exitcode": 0 } |
...
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Previous: GET version/hadoop General: DDL Resources – WebHCat Reference – WebHCat Manual – HCatalog Manual – Hive Wiki Home – Hive Project Site |