Table of Contents

Products, services and company names referenced in this document may be either trademarks or registered trademarks of their respective owners.

Copyright © 2017–2020 EVL Tool, s.r.o.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts.


On local file system works like standard GNU/Linux ‘test’ command. If <path> starts with ‘hdfs://’, then use $HADOOP_FS_TEST command which is by default ‘hadoop fs -test’.


  -[defsz] <path>



return 0 if <path> exists and is a directory


return 0 if <path> exists


return 0 if <path> exists and is a regular file


return 0 if file <path> exists and has a size greater than zero


return 0 if file <path> is zero bytes in size, else return 1