You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Ahmad Humayun <ah...@gmail.com> on 2008/09/25 07:16:41 UTC

hadoop -fs exit values

Hi there,

When I run some DFS commands using the shell, I am not getting an exit
value...(atleast not in python) eg:
/state/partition1/hadoop-0.16.3/bin/hadoop fs -test -d '/temp/'

should return me 0 if the directory exists.

I use os.system() from python to execute the commands
Any ideas?


regards,
-- 
Ahmad Humayun
Research Associate
Computer Science Dpt., LUMS
http://suraj.lums.edu.pk/~ahmadh
+92 321 4457315