You can do -
curl <URI> -u admin -p <password>

Or just access that uri from your browser where you are accessing Ambari
(and logged in also).

-Gour

On 4/5/15, 5:40 PM, "Krishna Kishore Bonagiri" <[email protected]>
wrote:

>Hi Gour,
>  Thanks for the answer. I don't know how to use issue this URI from
>command line (shell), can you please tell me how...
>
>Kishore
>
>On Sat, Apr 4, 2015 at 12:38 AM, Gour Saha <[email protected]> wrote:
>
>> Try this URI -
>> http://
>> <ambari_host>:8080/api/v1/clusters/<cluster_name>/host_components?Ho
>> stRoles/component_name=SLIDER
>>
>>
>> Replace the ambari_host and cluster_name
>>
>> -Gour
>>
>> On 4/3/15, 8:24 AM, "Sumit Mohanty" <[email protected]> wrote:
>>
>> >Just forwarded an email to the mailing list where Ambari folks replied
>>to
>> >a
>> >similar question.
>> >
>> >On Fri, Apr 3, 2015 at 7:19 AM, Krishna Kishore Bonagiri <
>> >[email protected]> wrote:
>> >
>> >> Hi Sumit,
>> >>    We deployed Hadoop using Ambari.
>> >>
>> >>  Steve,  I don't know how do labels help. Sitting on one of the
>> >>machines in
>> >> the cluster, I want to know which machine is Slider client
>>installed, so
>> >> that I can start the Slider app on the second machine from the first
>> >>using
>> >> ssh or so remotely. Hope you have got my question now.
>> >>
>> >> Thanks,
>> >> Kishore
>> >>
>> >> On Fri, Apr 3, 2015 at 7:05 PM, Sumit Mohanty
>><[email protected]>
>> >> wrote:
>> >>
>> >> > How do you deploy the hadoop cluster?
>> >> >
>> >> > On Friday, April 3, 2015, Steve Loughran <[email protected]>
>> >>wrote:
>> >> >
>> >> > >
>> >> > > > On 3 Apr 2015, at 10:35, Krishna Kishore Bonagiri <
>> >> > > [email protected] <javascript:;>> wrote:
>> >> > > >
>> >> > > > Hi,
>> >> > > >
>> >> > > >  We have developed a slider package, and using it from the
>>Linux
>> >> shell
>> >> > > > command, to install, create, etc. I know that it can only be
>>done
>> >> from
>> >> > > the
>> >> > > > node in the cluster where a Slider client is installed. But is
>> >>there
>> >> > way
>> >> > > > sitting on one node in the cluster, where all is Slider client
>> >> > installed?
>> >> > > >
>> >> > >
>> >> > > could yo maybe do this with labels? label those machines in the
>> >>cluster
>> >> > > with everything you need, and set things up to go only there?
>> >> > >
>> >> > > >  Please help.
>> >> > > >
>> >> > > > Thanks,
>> >> > > > Kishore
>> >> > >
>> >> > >
>> >> >
>> >> > --
>> >> > thanks
>> >> > Sumit
>> >> >
>> >>
>> >
>> >
>> >
>> >--
>> >thanks
>> >Sumit
>>
>>

Reply via email to