[
https://issues.apache.org/jira/browse/HIVE-13398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Siddharth Seth updated HIVE-13398:
----------------------------------
Attachment: HIVE-13398.02.patch
Rebased patch. Also removed the security check on the /status page.
[~sershe] - could you please take a quick look for sanity.
> LLAP: Simple /status and /peers web services
> --------------------------------------------
>
> Key: HIVE-13398
> URL: https://issues.apache.org/jira/browse/HIVE-13398
> Project: Hive
> Issue Type: Improvement
> Components: llap
> Affects Versions: 2.1.0
> Reporter: Gopal V
> Assignee: Gopal V
> Attachments: HIVE-13398.02.patch, HIVE-13398.1.patch
>
>
> MiniLLAP doesn't have a UI service, so this has no easy tests.
> {code}
> curl localhost:15002/status
> {
> "status" : "STARTED",
> "uptime" : 139093,
> "build" : "2.1.0-SNAPSHOT from 77474581df4016e3899a986e079513087a945674 by
> gopal source checksum a9caa5faad5906d5139c33619f1368bb"
> }
> {code}
> {code}
> curl localhost:15002/peers
> {
> "dynamic" : true,
> "identity" : "718264f1-722e-40f1-8265-ac25587bf336",
> "peers" : [
> {
> "identity" : "940d6838-4dd7-4e85-95cc-5a6a2c537c04",
> "host" : "sandbox121.hortonworks.com",
> "management-port" : 15004,
> "rpc-port" : 15001,
> "shuffle-port" : 15551,
> "resource" : {
> "vcores" : 24,
> "memory" : 128000
> },
> "host" : "sandbox121.hortonworks.com"
> },
> ]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)