Hi,
On Thu, Nov 25, 2010 at 11:49 AM, Ted Yu <yuzhihong@gmail.com> wrote:
> Hi,
> We use cdh3b2
> I want to get per-tasktracker statictics, such as the count of map/reduce
> tasks on each node.
> The following returns total:
> slaves.sh /usr/java/default/bin/jps | /bin/grep Child | /usr/bin/wc
>
> How do I get per-node count ?
You could get it by passing that entire command to the slaves?
Something like slaves.sh '/usr/java/default/bin/jps | /bin/grep Child
| /usr/bin/wc -l' should work I think, instead of aggregating in your
shell..
--
Harsh J
www.harshj.com
|