hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ahmad Humayun" <ahmad.hu...@gmail.com>
Subject hadoop -fs exit values
Date Thu, 25 Sep 2008 05:16:41 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message