Apache Hive : WebHCat Reference VersionHadoop
Hadoop Version — GET version/hadoop
Description
Return the version of Hadoop being run when WebHCat creates a MapReduce job (POST mapreduce/jar or mapreduce/streaming).
Version: Hive 0.13.0 and later
GET version/hadoop
is introduced in Hive release 0.13.0 (HIVE-6226).
URL
http://
www.myserver.com/templeton/v1/version/hadoop
Parameters
Only the standard parameters are accepted.
Results
Returns the Hadoop version.
Example
Curl Command
% curl -s 'http://localhost:50111/templeton/v1/version/hadoop?user.name=ekoifman'
JSON Output
[
{"module":"hadoop","version":"2.4.1-SNAPSHOT}
]
Navigation Links
Previous: GET version/hive
Next: POST ddl
General: WebHCat Reference – WebHCat Manual – HCatalog Manual – Hive Wiki Home – Hive Project Site
Replaces deprecated resource: GET queue