WebHCat API指南--官网中文翻译
这个概览页面列出了所有WebHCat资源。(DDL资源在这里和另一个概览页面上列出。有关HCatalog DDL命令的信息,请参见HCatalog DDL。有关Hive DDL命令的信息,请参见Hive数据定义语言。
类型 | 资源(类型) | 描述 |
General |
Return a list of supported response types. |
|
Return the WebHCat server status. |
||
Return a list of supported versions and the current version. |
||
version/hive (GET) | Return the Hive version being run. (Added in Hive 0.13.0.) | |
version/hadoop (GET) | Return the Hadoop version being run. (Added in Hive 0.13.0.) | |
Perform an HCatalog DDL command. |
||
List HCatalog databases. |
||
Describe an HCatalog database. |
||
Create an HCatalog database. |
||
Delete (drop) an HCatalog database. |
||
List the tables in an HCatalog database. |
||
Describe an HCatalog table. |
||
Create a new HCatalog table. |
||
Rename an HCatalog table. |
||
Delete (drop) an HCatalog table. |
||
Create a new HCatalog table like an existing one. |
||
List all partitions in an HCatalog table. |
||
Describe a single partition in an HCatalog table. |
||
Create a partition in an HCatalog table. |
||
Delete (drop) a partition in an HCatalog table. |
||
List the columns in an HCatalog table. |
||
Describe a single column in an HCatalog table. |
||
Create a column in an HCatalog table. |
||
List table properties. |
||
Return the value of a single table property. |
||
Set a table property. |
||
MapReduce |
Create and queue Hadoop streaming MapReduce jobs. |
|
Create and queue standard Hadoop MapReduce jobs. |
||
Pig |
Create and queue Pig jobs. |
|
Hive |
Run Hive queries and commands. |
|
Queue |
Return a list of all job IDs. (Removed in Hive 0.14.0.) |
|
Return the status of a job given its ID. (Removed in Hive 0.14.0.) |
||
Kill a job given its ID. (Removed in Hive 0.14.0.) |
||
Jobs |
Return a list of all job IDs. |
|
Return the status of a job given its ID. |
||
Kill a job given its ID. |
Navigation Links
Previous: Configuration
Next: GET :version
Overview of DDL resources: WebHCat Reference: DDL
HCatalog DDL commands: HCatalog DDL
Hive DDL commands: Hive Data Definition Language
General: WebHCat Manual – HCatalog Manual – Hive Wiki Home – Hive Project Site
参考:
https://cwiki.apache.org/confluence/display/Hive/WebHCat+Reference