Is running:
ps aux | grep [\\.]NameNode

and looking for a non empty response a good way to test HDFS up status?

I'm assuming that if the NameNode process is down, then DFS is definitely
down?
Worried that there'd be frequent cases of DFS being messed up but the
process still running just fine.

On Fri, Jun 27, 2008 at 10:48 AM, Meng Mao <[EMAIL PROTECTED]> wrote:

> For a Nagios script I'm writing, I'd like a command-line method that checks
> if HDFS is up and running.
> Is there a better way than to attempt a hadoop dfs command and check the
> error code?
>



-- 
hustlin, hustlin, everyday I'm hustlin

Reply via email to