Maybe 
https://issues.apache.org/jira/browse/HADOOP-3792 ?

Koji

-----Original Message-----
From: pankaj jairath [mailto:pjair...@yahoo-inc.com] 
Sent: Thursday, May 28, 2009 4:49 AM
To: core-user@hadoop.apache.org
Subject: Issue with usage of fs -test

Hello,

I am facing a strange issue, where in the /fs -test -e/ fails and /fs 
-ls/ succeeds to list the file. Following is the grep of such a  result
:

bin]$ hadoop fs -ls /projects/myproject/xxxx/yyyy/zzzz.done
Found 1 items
-rw-------   3 user hdfs          0 2009-03-19 22:28 
/projects/myproject/xxxx/yyyy/zzzz.done
[...@mymachine bin]$ echo $?
0
[...@mymachine bin]$ hadoop fs -test -e
/projects/myproject/xxxx/yyyy/zzzz.done
[...@mymachine bin]$ echo $?
1


What is the cause of such a behaviour, any pointers would much be
appreciated. (HADOOP_CONF_DIR and HADOOP_HOME are set correctly at env
vars)


Thanks
Pankaj 



Reply via email to