Search

hadoop fs -touchz

The hadoop touchz command creates a zero byte file. This is similar to the touch command in unix.

The syntax is shown below:

hadoop fs -touchz /user/DPhadoop/filename