hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pundurs, Mark" <mark.pund...@navteq.com>
Subject -test -d return values in 0.20.2?
Date Fri, 13 Jan 2012 15:49:37 GMT
When using v0.20.2, the script command

echo "test result is >$( bin/hadoop dfs -test -d $FILEPATH )<"

gives the following output whether FILEPATH is a directory or a file:

test result is ><

Is this a known issue in 0.20.2? Or am I missing the point of -test -d? Or = what?

Mark Pundurs
Data Analyst - Traffic
Nokia Location & Commerce


The information contained in this communication may be CONFIDENTIAL and is intended only for
the use of the recipient(s) named above.  If you are not the intended recipient, you are hereby
notified that any dissemination, distribution, or copying of this communication, or any of
its contents, is strictly prohibited.  If you have received this communication in error, please
notify the sender and delete/destroy the original message and any copy of it from your computer
or paper files.

Mime
View raw message