[
https://issues.apache.org/jira/browse/HIVE-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14025556#comment-14025556
]
Eugene Koifman commented on HIVE-6226:
--------------------------------------
[~leftylev]
Here is an example:
http://localhost:50111/templeton/v1/version/hive?user.name=ekoifman
which returns:
{"module":"hive","version":"0.14.0-SNAPSHOT"}
http://localhost:50111/templeton/v1/version/hadoop?user.name=ekoifman
returns:
{"module":"hadoop","version":"2.4.1-SNAPSHOT"}
http://localhost:50111/templeton/v1/version/pig?user.name=ekoifman and
http://localhost:50111/templeton/v1/version/sqoop?user.name=ekoifman are both
there as well, but will return
{"error":"Pig version request not yet implemented"}
So the last 2 are not really implemented, so I'm not sure they should be
documented.
> It should be possible to get hadoop, hive, and pig version being used by
> WebHCat
> --------------------------------------------------------------------------------
>
> Key: HIVE-6226
> URL: https://issues.apache.org/jira/browse/HIVE-6226
> Project: Hive
> Issue Type: New Feature
> Components: WebHCat
> Reporter: Alan Gates
> Assignee: Alan Gates
> Fix For: 0.13.0
>
> Attachments: HIVE-6226.2.patch, HIVE-6226.patch
>
>
> Calling /version on WebHCat tells the caller the protocol verison, but there
> is no way to determine the versions of software being run by the applications
> that WebHCat spawns.
> I propose to add an end-point: /version/\{module\} where module could be pig,
> hive, or hadoop. The response will then be:
> {code}
> {
> "module" : _module_name_,
> "version" : _version_string_
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)