hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Sá da Costa <psdc1...@gmail.com>
Subject What is the command to see if a file is a directory or not in HDFS from bash?
Date Mon, 22 Oct 2012 09:09:25 GMT
I execute  'hadoop-1.0.3/bin/hadoop dfs -test -d
/user/xeon/gutenberg/A.txt' command in the bash, and I was expecting
getting the value 0 or 1, but I got nothing.

What is the command to launch from the bash that allows to check if a
file in HDFS is a file or directory?

Best regards,

View raw message