You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by Krishna Kishore Bonagiri <wr...@gmail.com> on 2015/04/03 11:35:48 UTC

Finding the host having Slider client

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?

  Please help.

Thanks,
Kishore

Re: Finding the host having Slider client

Posted by Sumit Mohanty <su...@gmail.com>.
You can also look at - https://github.com/sequenceiq/ambari-shell

On Sun, Apr 5, 2015 at 5:44 PM, Gour Saha <gs...@hortonworks.com> wrote:

> 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" <wr...@gmail.com>
> 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 <gs...@hortonworks.com> 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" <su...@gmail.com> 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 <
> >> >write2kishore@gmail.com> 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
> >><su...@gmail.com>
> >> >> wrote:
> >> >>
> >> >> > How do you deploy the hadoop cluster?
> >> >> >
> >> >> > On Friday, April 3, 2015, Steve Loughran <st...@hortonworks.com>
> >> >>wrote:
> >> >> >
> >> >> > >
> >> >> > > > On 3 Apr 2015, at 10:35, Krishna Kishore Bonagiri <
> >> >> > > write2kishore@gmail.com <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
> >>
> >>
>
>


-- 
thanks
Sumit

Re: Finding the host having Slider client

Posted by Gour Saha <gs...@hortonworks.com>.
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" <wr...@gmail.com>
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 <gs...@hortonworks.com> 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" <su...@gmail.com> 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 <
>> >write2kishore@gmail.com> 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
>><su...@gmail.com>
>> >> wrote:
>> >>
>> >> > How do you deploy the hadoop cluster?
>> >> >
>> >> > On Friday, April 3, 2015, Steve Loughran <st...@hortonworks.com>
>> >>wrote:
>> >> >
>> >> > >
>> >> > > > On 3 Apr 2015, at 10:35, Krishna Kishore Bonagiri <
>> >> > > write2kishore@gmail.com <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
>>
>>


Re: Finding the host having Slider client

Posted by Krishna Kishore Bonagiri <wr...@gmail.com>.
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 <gs...@hortonworks.com> 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" <su...@gmail.com> 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 <
> >write2kishore@gmail.com> 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 <su...@gmail.com>
> >> wrote:
> >>
> >> > How do you deploy the hadoop cluster?
> >> >
> >> > On Friday, April 3, 2015, Steve Loughran <st...@hortonworks.com>
> >>wrote:
> >> >
> >> > >
> >> > > > On 3 Apr 2015, at 10:35, Krishna Kishore Bonagiri <
> >> > > write2kishore@gmail.com <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
>
>

Re: Finding the host having Slider client

Posted by Gour Saha <gs...@hortonworks.com>.
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" <su...@gmail.com> 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 <
>write2kishore@gmail.com> 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 <su...@gmail.com>
>> wrote:
>>
>> > How do you deploy the hadoop cluster?
>> >
>> > On Friday, April 3, 2015, Steve Loughran <st...@hortonworks.com>
>>wrote:
>> >
>> > >
>> > > > On 3 Apr 2015, at 10:35, Krishna Kishore Bonagiri <
>> > > write2kishore@gmail.com <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


Re: Finding the host having Slider client

Posted by Sumit Mohanty <su...@gmail.com>.
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 <
write2kishore@gmail.com> 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 <su...@gmail.com>
> wrote:
>
> > How do you deploy the hadoop cluster?
> >
> > On Friday, April 3, 2015, Steve Loughran <st...@hortonworks.com> wrote:
> >
> > >
> > > > On 3 Apr 2015, at 10:35, Krishna Kishore Bonagiri <
> > > write2kishore@gmail.com <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

Re: Finding the host having Slider client

Posted by Krishna Kishore Bonagiri <wr...@gmail.com>.
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 <su...@gmail.com>
wrote:

> How do you deploy the hadoop cluster?
>
> On Friday, April 3, 2015, Steve Loughran <st...@hortonworks.com> wrote:
>
> >
> > > On 3 Apr 2015, at 10:35, Krishna Kishore Bonagiri <
> > write2kishore@gmail.com <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
>

Re: Finding the host having Slider client

Posted by Sumit Mohanty <su...@gmail.com>.
How do you deploy the hadoop cluster?

On Friday, April 3, 2015, Steve Loughran <st...@hortonworks.com> wrote:

>
> > On 3 Apr 2015, at 10:35, Krishna Kishore Bonagiri <
> write2kishore@gmail.com <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

Re: Finding the host having Slider client

Posted by Steve Loughran <st...@hortonworks.com>.
> On 3 Apr 2015, at 10:35, Krishna Kishore Bonagiri <wr...@gmail.com> 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