Re: Command line tools for YARN

2013-12-27 Thread omkar joshi
if it is not present in CLI then writing a simple wrapper around yarn -web
services will be a option. I think all your listed requirements will be
covered with web services though


On Thu, Dec 26, 2013 at 11:28 AM, Jian He j...@hortonworks.com wrote:

 1) checking how many nodes are in my cluster
 3) what are the names of nodes in my cluster

 you can use yarn node.

 2) what are the cluster resources total or available at the time of
 running the command
 Not quite sure, you can search possible options in the yarn command menu.
 And you can always see the resources usage via web UI though.


 On Mon, Dec 23, 2013 at 10:08 PM, Krishna Kishore Bonagiri 
 write2kish...@gmail.com wrote:

 Hi,

   Are there any command line tools for things like,

 1) checking how many nodes are in my cluster
 2) what are the cluster resources total or available at the time of
 running the command
 3) what are the names of nodes in my cluster

 etc..

 Thanks,
 Kishore



 CONFIDENTIALITY NOTICE
 NOTICE: This message is intended for the use of the individual or entity
 to which it is addressed and may contain information that is confidential,
 privileged and exempt from disclosure under applicable law. If the reader
 of this message is not the intended recipient, you are hereby notified that
 any printing, copying, dissemination, distribution, disclosure or
 forwarding of this communication is strictly prohibited. If you have
 received this communication in error, please contact the sender immediately
 and delete it from your system. Thank You.


Re: Command line tools for YARN

2013-12-26 Thread Jian He
1) checking how many nodes are in my cluster
3) what are the names of nodes in my cluster

you can use yarn node.

2) what are the cluster resources total or available at the time of running
the command
Not quite sure, you can search possible options in the yarn command menu.
And you can always see the resources usage via web UI though.


On Mon, Dec 23, 2013 at 10:08 PM, Krishna Kishore Bonagiri 
write2kish...@gmail.com wrote:

 Hi,

   Are there any command line tools for things like,

 1) checking how many nodes are in my cluster
 2) what are the cluster resources total or available at the time of
 running the command
 3) what are the names of nodes in my cluster

 etc..

 Thanks,
 Kishore


-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.


Re: Command line tools for YARN

2013-12-26 Thread Krishna Kishore Bonagiri
Hi Jian,

 Thanks for the suggestions, I could get the required information there
with yarn node command.

Kishore


On Fri, Dec 27, 2013 at 12:58 AM, Jian He j...@hortonworks.com wrote:

 1) checking how many nodes are in my cluster
 3) what are the names of nodes in my cluster

 you can use yarn node.

 2) what are the cluster resources total or available at the time of
 running the command
 Not quite sure, you can search possible options in the yarn command menu.
 And you can always see the resources usage via web UI though.


 On Mon, Dec 23, 2013 at 10:08 PM, Krishna Kishore Bonagiri 
 write2kish...@gmail.com wrote:

 Hi,

   Are there any command line tools for things like,

 1) checking how many nodes are in my cluster
 2) what are the cluster resources total or available at the time of
 running the command
 3) what are the names of nodes in my cluster

 etc..

 Thanks,
 Kishore



 CONFIDENTIALITY NOTICE
 NOTICE: This message is intended for the use of the individual or entity
 to which it is addressed and may contain information that is confidential,
 privileged and exempt from disclosure under applicable law. If the reader
 of this message is not the intended recipient, you are hereby notified that
 any printing, copying, dissemination, distribution, disclosure or
 forwarding of this communication is strictly prohibited. If you have
 received this communication in error, please contact the sender immediately
 and delete it from your system. Thank You.


Command line tools for YARN

2013-12-23 Thread Krishna Kishore Bonagiri
Hi,

  Are there any command line tools for things like,

1) checking how many nodes are in my cluster
2) what are the cluster resources total or available at the time of running
the command
3) what are the names of nodes in my cluster

etc..

Thanks,
Kishore