You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/07/09 18:59:07 UTC

[jira] [Comment Edited] (SLIDER-220) Provide script for retrieving hbase-site.xml given cluster name

    [ https://issues.apache.org/jira/browse/SLIDER-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14056021#comment-14056021 ] 

Ted Yu edited comment on SLIDER-220 at 7/9/14 4:59 PM:
-------------------------------------------------------

we have a {{slider registry}} command to enum and get configs -is there something missing from there?

I like the use of curl here though. Once we move to a YARN registry at a well known location, we should be able to use this script to retrieve the file of a named hbase cluster

URL to get JSON endpoint describing config API:
http://rm/registry/users/stevel/org-apache-hbase/hbase1/external/config

then from there
{code}
http://${somehost}/:port/ws/v1/registry/configs/hbase.xml
{code}


was (Author: stevel@apache.org):
we have a {{slider registry}} command to enum and get configs -is there something missing from there?

I like the use of curl here though. Once we move to a YARN registry at a well known location, we should be able to use this script to retrieve the file of a named hbase cluster

URL to get JSON endpoint describing config API:
http://rm/registry/users/stevel/org-apache-hbase/hbase1/external/config

then from there
http://${somehost}/:port/ws/v1/registry/configs/hbase.xml


> Provide script for retrieving hbase-site.xml given cluster name
> ---------------------------------------------------------------
>
>                 Key: SLIDER-220
>                 URL: https://issues.apache.org/jira/browse/SLIDER-220
>             Project: Slider
>          Issue Type: Task
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: get-hbase-site.sh
>
>
> 'slider status' command doesn't return hbase-site.xml for hbase deployment.
> This JIRA adds a script that parses return from 'slider status' and retrieves hbase-site.xml
> The script would be used in functional tests for hbase deployment



--
This message was sent by Atlassian JIRA
(v6.2#6252)